Changeset 04803bf in mainline for boot/arch/ppc32/include/arch.h
- Timestamp:
- 2011-03-21T22:00:17Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 143932e3
- Parents:
- b50b5af2 (diff), 7308e84 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 moved
-
boot/arch/ppc32/include/arch.h (moved) (moved from boot/arch/mips32/loader/types.h ) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/ppc32/include/arch.h
rb50b5af2 r04803bf 27 27 */ 28 28 29 #ifndef BOOT_ mips32_TYPES_H_30 #define BOOT_ mips32_TYPES_H_29 #ifndef BOOT_ppc32_ARCH_H_ 30 #define BOOT_ppc32_ARCH_H_ 31 31 32 #include <gentypes.h> 32 #define PAGE_WIDTH 12 33 #define PAGE_SIZE (1 << PAGE_WIDTH) 33 34 34 typedef signed char int8_t; 35 #define BOOT_OFFSET 0x8000 35 36 36 typedef unsigned char uint8_t; 37 typedef unsigned short uint16_t; 38 typedef unsigned int uint32_t; 39 typedef unsigned long long uint64_t; 37 #define LOADER_ADDRESS 0x01000000 40 38 41 typedef uint32_t uintptr_t; 42 typedef uint32_t unative_t; 39 #ifndef __ASM__ 40 #define PA2KA(addr) (((uintptr_t) (addr)) + 0x80000000) 41 #else 42 #define PA2KA(addr) ((addr) + 0x80000000) 43 #endif 43 44 44 45 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
