Changeset 94a981a in mainline
- Timestamp:
- 2009-03-12T17:42:29Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8030f49
- Parents:
- 8ba3dc7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/interrupt/interrupt.c
r8ba3dc7 r94a981a 43 43 #include <console/kconsole.h> 44 44 #include <console/console.h> 45 #include <console/chardev.h>46 45 #include <console/cmd.h> 47 46 #include <panic.h> … … 69 68 70 69 spinlock_lock(&exctbl_lock); 71 70 72 71 old = exc_table[n].f; 73 72 exc_table[n].f = f; 74 73 exc_table[n].name = name; 75 76 spinlock_unlock(&exctbl_lock); 77 74 75 spinlock_unlock(&exctbl_lock); 76 78 77 return old; 79 78 } … … 149 148 printf(" -- Press any key to continue -- "); 150 149 spinlock_unlock(&exctbl_lock); 151 getc(stdin);150 _getc(stdin); 152 151 spinlock_lock(&exctbl_lock); 153 152 printf("\n");
Note:
See TracChangeset
for help on using the changeset viewer.