StuBS
guard.h File Reference

Guard synchronizes access to epilogue level More...

#include "interrupt/gate.h"
Include dependency graph for guard.h:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  Guard
 Synchronizes the kernel with interrupts using the Prologue/Epilogue Model.
 

Functions

bool Guard::active ()
 Helper to check if we are currently in a guarded environment on this CPU core.
 
void Guard::enter ()
 Entering the critical section from level 0.
 
void Guard::leave ()
 Leaving the critical section.
 
void Guard::relay (Gate *item)
 A prologue wants its epilogue to be processed (entering from level 1).
 

Detailed Description

Guard synchronizes access to epilogue level