Changeset 01cb210 in mainline for arch/ppc32/loader/asm.h
- Timestamp:
- 2006-03-16T18:55:50Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1f330de
- Parents:
- d89c554
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ppc32/loader/asm.h
rd89c554 r01cb210 30 30 #define __ASM_H__ 31 31 32 void flush_instruction_cache(void); 33 void jump_to_kernel(void *code, void *memmap, void *real_mode) __attribute__((noreturn)); 34 void real_mode(void *code, void *memmap); 32 #define PAGE_SIZE 4096 33 #define PAGE_WIDTH 12 35 34 36 #define memcpy(dst, src, cnt) __builtin_memcpy((dst), (src), (cnt)) 35 #define TRANS_SIZE 1024 36 #define TRANS_ITEM_SIZE 4 37 38 #define KERNEL_START_ADDR 0x80002000 39 40 #ifndef __ASM__ 41 42 extern void *trans[TRANS_SIZE]; 43 44 extern void halt(); 45 extern void jump_to_kernel(void *memmap, void *trans, unsigned int cnt, void *real_mode) __attribute__((noreturn)); 46 extern void real_mode(); 37 47 38 48 #endif 49 50 #endif
Note:
See TracChangeset
for help on using the changeset viewer.