ref: d8e09927cabbbec50a5531780b4fd99767f3e8a4
parent: 289bd7bb87102a62ee7e7c22cd442a26119efcce
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Jul 10 07:42:03 EDT 2022
imx8: cleanup mem.h
--- a/sys/src/9/imx8/mem.h
+++ b/sys/src/9/imx8/mem.h
@@ -46,7 +46,6 @@
#define VDRAM (0xFFFFFFFFC0000000ULL) /* 0x40000000 - 0x80000000 */
#define KTZERO (VDRAM + 0x100000) /* 0x40100000 - kernel text start */
-#define ARMLOCAL (0xFFFFFFFFB1000000ULL) /* 0x31000000 */
#define VIRTIO (0xFFFFFFFFB0000000ULL) /* 0x30000000 */
#define KZERO (0xFFFFFFFF80000000ULL) /* 0x00000000 - kernel address space */
@@ -65,7 +64,7 @@
#define MACHADDR(n) (KTZERO-((n)+1)*MACHSIZE)
#define CONFADDR (VDRAM + 0x10000) /* 0x40010000 */
-#define REBOOTADDR (0x40020000) /* 0x40020000 */
+#define REBOOTADDR (VDRAM-KZERO + 0x20000) /* 0x40020000 */
#define UZERO 0ULL /* user segment */
#define UTZERO (UZERO+0x10000) /* user text start */
--
⑨