am,x86-nemu,asye,irq_handle: return _RegSet* type

This commit is contained in:
Zihao Yu 2017-08-08 17:19:50 +08:00
parent 7fc3388d28
commit 5d0562eca2
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ void vecsys();
void vectrap();
void vecnull();
uintptr_t irq_handle(_RegSet *r) {
_RegSet* irq_handle(_RegSet *tf) {
_RegSet *next = tf;
if (H) {
_Event ev;
@ -25,7 +25,7 @@ uintptr_t irq_handle(_RegSet *r) {
}
}
return (uintptr_t)next;
return next;
}
static GateDesc idt[NR_IRQ];