mirror of https://github.com/deadw00d/AROS.git
still trigger a soft int even if we don't add the entry to the list.
This commit is contained in:
parent
23dfc0ec50
commit
357542b349
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright (C) 1995-2018, The AROS Development Team. All rights reserved.
|
||||
Copyright (C) 1995-2023, The AROS Development Team. All rights reserved.
|
||||
|
||||
Desc: Cause() - Cause a software interrupt.
|
||||
*/
|
||||
|
@ -92,22 +92,22 @@
|
|||
/* We are accessing an Exec list, protect ourselves. */
|
||||
ADDTAIL(&SysBase->SoftInts[pri].sh_List, &softint->is_Node);
|
||||
softint->is_Node.ln_Type = NT_SOFTINT;
|
||||
|
||||
/* Signal pending software interrupt condition */
|
||||
SysBase->SysFlags |= SFF_SoftInt;
|
||||
|
||||
/*
|
||||
* Quick soft int request. For optimal performance m68k-amiga
|
||||
* Enable() does not do any extra SFF_SoftInt checks
|
||||
*/
|
||||
CUSTOM_CAUSE(INTF_SOFTINT);
|
||||
/*
|
||||
* If we are in usermode the software interrupt will end up being triggered
|
||||
* in Enable(). On Amiga hardware this happens because a hardware interrupt
|
||||
* was queued. On other machines Enable() will simulate this behavior,
|
||||
* looking at SFF_SoftInt flag.
|
||||
*/
|
||||
}
|
||||
|
||||
/* Signal pending software interrupt condition */
|
||||
SysBase->SysFlags |= SFF_SoftInt;
|
||||
|
||||
/*
|
||||
* Quick soft int request. For optimal performance m68k-amiga
|
||||
* Enable() does not do any extra SFF_SoftInt checks
|
||||
*/
|
||||
CUSTOM_CAUSE(INTF_SOFTINT);
|
||||
/*
|
||||
* If we are in usermode the software interrupt will end up being triggered
|
||||
* in Enable(). On Amiga hardware this happens because a hardware interrupt
|
||||
* was queued. On other machines Enable() will simulate this behavior,
|
||||
* looking at SFF_SoftInt flag.
|
||||
*/
|
||||
Enable();
|
||||
|
||||
AROS_LIBFUNC_EXIT
|
||||
|
|
Loading…
Reference in New Issue