Changeset 295732b in mainline for boot/arch/mips32/include/arch.h
- Timestamp:
- 2012-12-06T00:06:29Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bcad855
- Parents:
- 232cd4f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/mips32/include/arch.h
r232cd4f r295732b 37 37 #define BOOTINFO_OFFSET 0x00003000 38 38 #define BOOT_OFFSET 0x00100000 39 40 #if defined(MACHINE_msim) 39 41 #define LOADER_OFFSET 0x1fc00000 42 #elif defined(MACHINE_lmalta) || defined(MACHINE_bmalta) 43 #define LOADER_OFFSET 0x00004000 44 #endif 40 45 46 #if defined(MACHINE_msim) 41 47 #define MSIM_VIDEORAM_ADDRESS 0xb0000000 42 48 #define MSIM_DORDER_ADDRESS 0xb0000100 49 #endif 50 51 #if defined(MACHINE_lmalta) || defined(MACHINE_bmalta) 52 #define MALTA_SERIAL 0xb80003f8 53 #endif 43 54 44 55 #ifndef __ASM__ 45 56 #define PA2KA(addr) (((uintptr_t) (addr)) + 0x80000000) 57 #define PA2KSEG(addr) (((uintptr_t) (addr)) + 0xa0000000) 58 #define KA2PA(addr) (((uintptr_t) (addr)) - 0x80000000) 46 59 #define KSEG2PA(addr) (((uintptr_t) (addr)) - 0xa0000000) 47 60 #else
Note:
See TracChangeset
for help on using the changeset viewer.