Changeset 5e2455a in mainline
- Timestamp:
- 2005-09-03T17:38:05Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 776c91a
- Parents:
- 4533601
- Location:
- arch/ia64
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia64/Makefile.inc
r4533601 r5e2455a 7 7 AS=$(IA-64_BINUTILS_DIR)/$(IA-64_TARGET)-as 8 8 LD=$(IA-64_BINUTILS_DIR)/$(IA-64_TARGET)-ld 9 OBJCOPY=$(IA-64_BINUTILS_DIR)/$(IA-64_TARGET)-objcopy 10 BFD_NAME=elf64-little 11 BFD_ARCH=ia64-elf64 12 9 13 10 14 ASFLAGS=-mconstant-gp -
arch/ia64/_link.ld
r4533601 r5e2455a 29 29 *(.bss) 30 30 *(COMMON); 31 32 symbol_table = .; 33 *(symtab.*); /* Symbol table, must be LAST symbol!*/ 34 31 35 kdata_end = .; 32 36 } -
arch/ia64/include/asm.h
r4533601 r5e2455a 62 62 63 63 64 void cpu_halt(void); 65 66 67 68 64 69 #endif -
arch/ia64/src/cpu/cpu.c
r4533601 r5e2455a 23 23 __asm__ volatile ( 24 24 "mov cr2 = %0;;\n" 25 " mov psr.l = %1;;\n"26 " srlz.i;"27 "srlz.d;; "25 "{mov psr.l = %1;;}\n" 26 "{srlz.i;" 27 "srlz.d;;}" 28 28 : 29 29 : "r" (p), "r" (psr) -
arch/ia64/src/interrupt_handler.c
r4533601 r5e2455a 33 33 #include <arch/types.h> 34 34 #include <arch/asm.h> 35 #include <symtab.h> 35 36 36 37 extern __u64 REG_DUMP; … … 52 53 53 54 54 #define cr_dump(r) {__u64 val; get_control_register(r,val); printf(" cr"#r":%Q\n",val);}55 #define ar_dump(r) {__u64 val; get_aplication_register(r,val); printf(" ar"#r":%Q\n",val);}55 #define cr_dump(r) {__u64 val; get_control_register(r,val); printf("\ncr"#r":%Q",val);} 56 #define ar_dump(r) {__u64 val; get_aplication_register(r,val); printf("\nar"#r":%Q",val);} 56 57 57 58 void universal_handler(void); 58 59 void universal_handler(void) 59 60 { 60 __u64 vector,psr ;61 __u64 vector,psr,PC; 61 62 __u64 *p; 62 63 int i; 64 char *sym; 63 65 64 66 … … 77 79 cr_dump(16); 78 80 cr_dump(17); 79 cr_dump(19); 80 cr_dump(20); 81 cr_dump(19);get_control_register(19,PC); if(sym=get_symtab_entry(PC)) printf("(%s)",sym); 82 cr_dump(20);get_control_register(20,PC); if(sym=get_symtab_entry(PC)) printf("(%s)",sym); 81 83 cr_dump(21); 82 cr_dump(22); 84 cr_dump(22);get_control_register(22,PC); if(sym=get_symtab_entry(PC)) printf("(%s)",sym); 83 85 cr_dump(23); 84 86 cr_dump(24); -
arch/ia64/src/start.S
r4533601 r5e2455a 35 35 .auto 36 36 # initialize PSR 37 mov psr.l = r0;;38 srlz.i;39 srlz.d;; 37 {mov psr.l = r0;;} 38 {srlz.i; 39 srlz.d;;} 40 40 41 41 # initialize register stack
Note:
See TracChangeset
for help on using the changeset viewer.