mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 08:36:12 +00:00
Make bash-2.05b build with minimal changes.
This is really neat. :^)
This commit is contained in:
parent
2cf477a151
commit
9d05f6b7a7
Notes:
sideshowbarker
2024-07-19 16:10:03 +09:00
Author: https://github.com/awesomekling
Commit: 9d05f6b7a7
35 changed files with 326 additions and 176 deletions
10
Kernel/PIC.h
10
Kernel/PIC.h
|
@ -4,9 +4,9 @@
|
|||
|
||||
namespace PIC {
|
||||
|
||||
void enable(BYTE number);
|
||||
void disable(BYTE number);
|
||||
void eoi(BYTE number);
|
||||
void enable(byte number);
|
||||
void disable(byte number);
|
||||
void eoi(byte number);
|
||||
void initialize();
|
||||
word getISR();
|
||||
word get_irr();
|
||||
|
@ -15,9 +15,9 @@ word get_irr();
|
|||
|
||||
class IRQHandlerScope {
|
||||
public:
|
||||
explicit IRQHandlerScope(BYTE irq) : m_irq(irq) { }
|
||||
explicit IRQHandlerScope(byte irq) : m_irq(irq) { }
|
||||
~IRQHandlerScope() { PIC::eoi(m_irq); }
|
||||
|
||||
private:
|
||||
BYTE m_irq { 0 };
|
||||
byte m_irq { 0 };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue