Changeset 4872160 in mainline for boot/arch/ppc32/include/arch.h
- Timestamp:
- 2010-05-04T10:44:55Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 568db0f
- Parents:
- bb252ca
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/ppc32/include/arch.h
rbb252ca r4872160 1 1 /* 2 2 * Copyright (c) 2006 Martin Decky 3 * Copyright (c) 2006 Jakub Jermar4 3 * All rights reserved. 5 4 * … … 28 27 */ 29 28 30 #ifndef BOOT_ ia64_ASM_H_31 #define BOOT_ ia64_ASM_H_29 #ifndef BOOT_ppc32_ARCH_H_ 30 #define BOOT_ppc32_ARCH_H_ 32 31 33 #include "types.h" 34 #include "main.h" 35 36 #define PAGE_WIDTH 14 32 #define PAGE_WIDTH 12 37 33 #define PAGE_SIZE (1 << PAGE_WIDTH) 38 34 39 #define B ALLOC_MAX_SIZE (128 * 1024)35 #define BOOT_OFFSET 0x8000 40 36 41 extern void halt(void); 42 extern void jump_to_kernel(void *) __attribute__((noreturn)); 37 #define LOADER_ADDRESS 0x01000000 43 38 39 #ifndef __ASM__ 40 #define PA2KA(addr) (((uintptr_t) (addr)) + 0x80000000) 41 #else 42 #define PA2KA(addr) ((addr) + 0x80000000) 43 #endif 44 44 45 45 #endif
Note:
See TracChangeset
for help on using the changeset viewer.