摘要:
1 /* 2 * linux/kernel/system_call.s 3 * 4 * (C) 1991 Linus Torvalds 5 */ 6 7 /* 8 * system_call.s contains the system-call low-level handling routines. 9 * This also contains the timer-interrupt handler, as some of the code is 10 * the same. The hd- and flopppy-interrupts are ... 阅读全文
摘要:
1 /* 2 * linux/kernel/asm.s 3 * 4 * (C) 1991 Linus Torvalds 5 */ 6 7 /* 8 * asm.s contains the low-level code for most hardware faults. 9 * page_exception is handled by the mm, so that isn't here. This 10 * file also handles (hopefully) fpu-exceptions due to TS-bit, as 11 * the... 阅读全文
摘要:
1 /* 2 * linux/kernel/traps.c 3 * 4 * (C) 1991 Linus Torvalds 5 */ 6 7 /* 8 * 'Traps.c' handles hardware traps and faults after we have saved some 9 * state in 'asm.s'. Currently mostly a debugging-aid, will be extended 10 * to mainly kill the offending process (probably by givi... 阅读全文
摘要:
1 /* 2 * linux/kernel/sys.c 3 * 4 * (C) 1991 Linus Torvalds 5 */ 6 7 #include 8 9 #include 10 #include 11 #include 12 #include 13 #include 14 #include 15 16 int sys_ftime() 17 { 18 return -ENOSYS; 19 } 20 21 int sys_break() 22 { 23 return -ENOSYS; 24 } 25 ... 阅读全文