Skip to content

Commit

Permalink
PIC: disable interrupt while performing IO.
Browse files Browse the repository at this point in the history
  • Loading branch information
crazii committed Jan 24, 2024
1 parent c99f848 commit 312a962
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sbemu/pic.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@

#define PIC_READISR 0x0B //read interrupte service register (current interrupting IRQ)

#undef CLIS
#undef STIL
#define CLIS()
#define STIL()
//#undef CLIS
//#undef STIL
//#define CLIS()
//#define STIL()

void PIC_SendEOIWithIRQ(uint8_t irq)
{
Expand Down

0 comments on commit 312a962

Please sign in to comment.