rPi MMU: Cleanup, add gPeripheralBase

* gPeripheralBase keeps track of the device
  peripherals before and after mmu_init
* Add ability to disable mmu for troubleshooting
* Remove static FB_BASE, we actually don't know
  where the FB is yet. (depends on firmware used)
This commit is contained in:
Alexander von Gluck IV
2012-05-24 06:39:43 -05:00
parent 16307934fa
commit 361ec26f10
4 changed files with 34 additions and 20 deletions
+1 -3
View File
@@ -62,9 +62,7 @@
// SMI Base
#define USB_BASE 0x980000
// USB Controller, 15.2, page 202
#define FB_BASE 0x000000
// Fake frame buffer
#define FB_SIZE SIZE_4K
// FB_BASE will depend on memory split
// 7.5, page 112