mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Switch sparc64 to ofmem (Igor Kovalenko)
Initialize ofmem at startup. Switch malloc/realloc/free to use ofmem. Implement runtime migration of startup mappings to ofmem. Implement mmu miss handlers to install tlb entries based on ofmem translations list. git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@517 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -27,11 +27,12 @@
|
||||
|
||||
new-device
|
||||
" memory" device-name
|
||||
" memory" device-type
|
||||
external
|
||||
: open true ;
|
||||
: close ;
|
||||
\ claim ( phys size align -- base )
|
||||
: claim 2drop ;
|
||||
\ : claim 2drop ;
|
||||
\ release ( phys size -- )
|
||||
finish-device
|
||||
|
||||
@@ -41,7 +42,7 @@ new-device
|
||||
: open true ;
|
||||
: close ;
|
||||
\ claim ( phys size align -- base )
|
||||
: claim 2drop ;
|
||||
\ : claim 2drop ;
|
||||
\ release ( phys size -- )
|
||||
finish-device
|
||||
|
||||
|
||||
Reference in New Issue
Block a user