Changeset 25a76ab8 in mainline for boot/arch/arm32/include/arch.h
- Timestamp:
- 2010-05-08T07:53:23Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 051bc69a
- Parents:
- 6c39a907 (diff), 1317380 (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
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/arm32/include/arch.h
r6c39a907 r25a76ab8 1 1 /* 2 * Copyright (c) 20 06Martin Decky2 * Copyright (c) 2010 Martin Decky 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 #ifndef BOOT_ ia64_TYPES_H_30 #define BOOT_ ia64_TYPES_H_29 #ifndef BOOT_arm32_ARCH_H 30 #define BOOT_arm32_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 PTL0_ENTRIES 4096 36 #define PTL0_ENTRY_SIZE 4 35 37 36 typedef unsigned char uint8_t; 37 typedef unsigned short uint16_t; 38 typedef unsigned int uint32_t; 39 typedef unsigned long uint64_t; 38 #define BOOT_OFFSET 0xa00000 40 39 41 typedef uint64_t uintptr_t; 42 typedef uint64_t unative_t; 40 #ifndef __ASM__ 41 #define PA2KA(addr) (((uintptr_t) (addr)) + 0x80000000) 42 #else 43 #define PA2KA(addr) ((addr) + 0x80000000) 44 #endif 43 45 44 46 #endif 47 48 /** @} 49 */
Note:
See TracChangeset
for help on using the changeset viewer.