ref: d5e2fd9028687dfc18c0ac1b249ccec38ab075f6
parent: 3e7d71878bbb318a3774a2b5a75965e41e6a4a43
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Tue Jun 20 15:53:02 EDT 2023
bcm64: move pi3 VGPIO to 2MB aligned address, this makes 4K pages work
--- a/sys/src/9/bcm64/mem.h
+++ b/sys/src/9/bcm64/mem.h
@@ -53,7 +53,7 @@
#define VIRTIO (0xFFFFFFFFBE000000ULL) /* 0x7E000000 0x3F000000 0xFE000000 */
#define ARMLOCAL (0xFFFFFFFFBF800000ULL) /* - 0x40000000 0xFF800000 */
-#define VGPIO (0xFFFFFFFFBF900000ULL|PTEUNCACHED) /* virtual gpio for pi3 ACT LED */
+#define VGPIO (0xFFFFFFFFBFA00000ULL|PTEUNCACHED) /* virtual gpio for pi3 ACT LED */
#define KZERO (0xFFFFFFFFC0000000ULL) /* kernel address space */