KernOS
INTRP::Mask Class Reference

Disables interrupt on construction, restores previous interrupt mask on scope exit. More...

#include <interrupt.h>

Public Member Functions

 Mask ()
 
 ~Mask ()
 

Detailed Description

Disables interrupt on construction, restores previous interrupt mask on scope exit.

CPU FLAGS::IF being set indicates interrupts enabled

Definition at line 103 of file interrupt.h.

Constructor & Destructor Documentation

◆ Mask()

INTRP::Mask::Mask ( )
inline

Definition at line 109 of file interrupt.h.

◆ ~Mask()

INTRP::Mask::~Mask ( )
inline

Definition at line 116 of file interrupt.h.


The documentation for this class was generated from the following file: