summaryrefslogtreecommitdiff
path: root/sys/lib/python/functools.py
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2019-08-23 21:39:20 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2019-08-23 21:39:20 +0200
commitbcf988aff1316d675b4353549197662e6f5d7b17 (patch)
treeff62d2bcbd16464d1cba5aee4a1f80ea5d3d828b /sys/lib/python/functools.py
parente6d22570a84ce1e158f184a8a90cfd53be48bbf4 (diff)
bcm64: deal with discontinuous memory regions, avoid virtual memory aliasing, implement vmap() proper
on the 2GB and 4GB raspberry pi 4 variants, there are two memory regions for ram: [0x00000000..0x3e600000) [0x40000000..0xfc000000) the framebuffer is somewhere at the end of the first GB of memory. to handle these, we append the region base and limit of the second region to *maxmem= like: *maxmem=0x3e600000 0x40000000 0xfc000000 the mmu code has been changed to have non-existing ram unmapped and mmukmap() now uses small 64K pages instead of 512GB pages to avoid aliasing (framebuffer). the VIRTPCI mapping has been removed as we now have a proper vmap() implementation which assigns vritual addresses automatically.
Diffstat (limited to 'sys/lib/python/functools.py')
0 files changed, 0 insertions, 0 deletions