Changeset 29
- Timestamp:
- 06/07/06 14:55:06 (6 years ago)
- Files:
-
- arch/i386/kernel/traps.c (modified) (1 diff)
- include/asm-i386/dapi.h (modified) (1 diff)
- scripts/modpost (modified) (previous)
- .version (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
arch/i386/kernel/traps.c
r28 r29 466 466 goto gp_in_kernel; 467 467 468 //printk("data at 67: %x\n%x\n", *(((unsigned long*)idt_table)+2*67),*(((unsigned long*)idt_table)+2*67+1));469 //set_system_gate(67, &benchmark_handler);470 468 if ((regs->xcs & 3)!=3) { 471 469 //driver thread include/asm-i386/dapi.h
r28 r29 287 287 make_wrap0(mod_get_jiffies, unsigned long) 288 288 make_wrap1(signal_pending, int, struct task_struct *) 289 make_void_wrap0(schedule) 289 290 make_void_wrap2(do_benchmark, unsigned long, unsigned long); 290 291 291 //this must be done using the old method 292 292 //It's complicated, but basically so the registers are where they should be 293 293 //on the stack 294 static inline void schedule(void) {294 /*static inline void schedule(void) { 295 295 asm("movl $286, %eax\n\t" 296 296 "int $0x80\n\t" 297 297 ); 298 } 298 }*/ 299 299 300 300 //Self-documenting .version
r27 r29 1 30 11 304
