Changes in boot/arch/mips32/include/arch.h [a4f959b:3e94678] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/mips32/include/arch.h
ra4f959b r3e94678 33 33 #define PAGE_SIZE (1 << PAGE_WIDTH) 34 34 35 #if defined(MACHINE_msim)36 35 #define CPUMAP_OFFSET 0x00001000 37 36 #define STACK_OFFSET 0x00002000 … … 42 41 #define MSIM_VIDEORAM_ADDRESS 0xb0000000 43 42 #define MSIM_DORDER_ADDRESS 0xb0000100 44 #endif45 46 #if defined(MACHINE_lmalta) || defined(MACHINE_bmalta)47 #define CPUMAP_OFFSET 0x0010000048 #define STACK_OFFSET 0x0010100049 #define BOOTINFO_OFFSET 0x0010200050 #define BOOT_OFFSET 0x0020000051 #define LOADER_OFFSET 0x0010300052 53 #define YAMON_SUBR_BASE PA2KA(0x1fc00500)54 #define YAMON_SUBR_PRINT_COUNT (YAMON_SUBR_BASE + 0x4)55 #endif56 43 57 44 #ifndef __ASM__ 58 45 #define PA2KA(addr) (((uintptr_t) (addr)) + 0x80000000) 59 #define PA2KSEG(addr) (((uintptr_t) (addr)) + 0xa0000000)60 #define KA2PA(addr) (((uintptr_t) (addr)) - 0x80000000)61 46 #define KSEG2PA(addr) (((uintptr_t) (addr)) - 0xa0000000) 62 47 #else
Note:
See TracChangeset
for help on using the changeset viewer.