From 51fc8604153d989904270944b3a61f2bb9afc926 Mon Sep 17 00:00:00 2001 From: NicJA Date: Tue, 14 Apr 2015 00:15:12 +0000 Subject: [PATCH] pass the arch to kernel.resource git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@50371 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- arch/arm-raspi/boot/boot.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm-raspi/boot/boot.c b/arch/arm-raspi/boot/boot.c index 8c4c16fc4a..62197a4f41 100644 --- a/arch/arm-raspi/boot/boot.c +++ b/arch/arm-raspi/boot/boot.c @@ -170,7 +170,7 @@ void query_vmem() mmu_map_section(vc_msg[5], vc_msg[5], vc_msg[6], 1, 0, 3, 0); } -static const char bootstrapName[] = "Bootstrap/RasPI ARM"; +static const char bootstrapName[] = "Bootstrap/ARM BCM2708"; void boot(uintptr_t dummy, uintptr_t arch, struct tag * atags) { @@ -221,6 +221,11 @@ void boot(uintptr_t dummy, uintptr_t arch, struct tag * atags) boottag = tmp_stack_ptr - BOOT_STACK_SIZE - BOOT_TAGS_SIZE; + /* first of all, store the arch for the kernel to use .. */ + boottag->ti_Tag = KRN_Platform; + boottag->ti_Data = (IPTR)arch; + boottag++; + /* Init LED */ { if (plus_board) -- 2.11.4.GIT