am,x86-nemu,asye,irq_handle: return _RegSet* type
This commit is contained in:
parent
7fc3388d28
commit
5d0562eca2
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue