9os

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 096862b0b2962425c240368e95446a100b760487
parent 0bf4e8463b4b1441c2ef64be96a01fc3f09d5a22
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed,  9 Nov 2022 16:43:35 +0100

pi3: Fix physical addresses

Change-Id: I1f4768e652cc21d8167cb50d5e630b788e3cac47

Diffstat:
Msrc/os9/arch/arm64/pi3.c | 9++++-----
1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/os9/arch/arm64/pi3.c b/src/os9/arch/arm64/pi3.c @@ -4,13 +4,12 @@ #include "arch.h" -static uint32_t *early = (uint32_t *) 0x1C090000; - +static uint32_t *early = (uint32_t *) 0x3F201000; Mach mach = { - .phystack = 0x00080000, - .phytext = 0x00000000, - .kzero = 0xFFFFFF0000000000 - 0x00000000, + .phystack = 0x80000, + .phytext = 0x80000, + .kzero = 0xFFFFFF0000000000 - 0x80000, }; void