mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Use full 36-bit physical address space on SS10
git-svn-id: svn://coreboot.org/openbios/openbios-devel@149 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -15,17 +15,16 @@
|
||||
int ob_pci_init(void);
|
||||
#endif
|
||||
#ifdef CONFIG_DRIVER_SBUS
|
||||
int ob_sbus_init(unsigned long bus, unsigned long base, int machine_id);
|
||||
int ob_sbus_init(uint64_t base, int machine_id);
|
||||
#endif
|
||||
#ifdef CONFIG_DRIVER_IDE
|
||||
int ob_ide_init(void);
|
||||
#endif
|
||||
#ifdef CONFIG_DRIVER_ESP
|
||||
int ob_esp_init(unsigned int slot, unsigned long base, unsigned long offset);
|
||||
int ob_esp_init(unsigned int slot, uint64_t base, unsigned long offset);
|
||||
#endif
|
||||
#ifdef CONFIG_DRIVER_OBIO
|
||||
int ob_obio_init(unsigned long slavio_high, unsigned long slavio_base,
|
||||
unsigned long fd_offset, unsigned long counter_offset,
|
||||
unsigned long intr_offset);
|
||||
int ob_obio_init(uint64_t slavio_base, unsigned long fd_offset,
|
||||
unsigned long counter_offset, unsigned long intr_offset);
|
||||
#endif
|
||||
|
||||
|
||||
@@ -36,10 +36,10 @@ struct mem;
|
||||
void mem_init(struct mem *t, char *begin, char *limit);
|
||||
void *mem_alloc(struct mem *t, int size, int align);
|
||||
void *mem_zalloc(struct mem *t, int size, int align);
|
||||
int map_page(unsigned long va, unsigned long epa, int type);
|
||||
void *map_io(unsigned pa, int size);
|
||||
void ob_init_mmu(unsigned long bus, unsigned long base);
|
||||
void init_mmu_swift(unsigned long base);
|
||||
int map_page(unsigned long va, uint64_t epa, int type);
|
||||
void *map_io(uint64_t pa, int size);
|
||||
void ob_init_mmu(uint64_t base);
|
||||
void init_mmu_swift(uint64_t base);
|
||||
void *dvma_alloc(int size, unsigned int *pphys);
|
||||
|
||||
#ifndef BOOTSTRAP
|
||||
|
||||
Reference in New Issue
Block a user