diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-08-18 21:16:30 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-08-18 21:16:30 +0200 |
commit | f35d5ee5b036b7b4fa59b1839f52fca15b7f99f9 (patch) | |
tree | 3971890bfe57a66680d85baf2ab358b7b8496432 /sys/src/9/bcm64/archbcm4.c | |
parent | 3fc8d1bdae10955e0b31ee1766d17367e0d0caa1 (diff) |
bcm64: add support for more than 1GB of ram (untested)
this adds a 4GB KMAP window into the kernel address space
so we can access all physical ram on raspberry pi 4 for
user pages.
note that kernel memory above KZERO is still limited
to 1GB because of DMA restrictions.
Diffstat (limited to 'sys/src/9/bcm64/archbcm4.c')
-rw-r--r-- | sys/src/9/bcm64/archbcm4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/bcm64/archbcm4.c b/sys/src/9/bcm64/archbcm4.c index 3598a3610..911de019f 100644 --- a/sys/src/9/bcm64/archbcm4.c +++ b/sys/src/9/bcm64/archbcm4.c @@ -17,7 +17,7 @@ typedef struct Mboxes Mboxes; #define POWERREGS (VIRTIO+0x100000) Soc soc = { - .dramsize = 0x40000000, + .dramsize = 0xFC000000, .busdram = 0xC0000000, .iosize = 0x03000000, .busio = 0x7C000000, |