StuBS
ioapic_registers.h File Reference

Helper structures for interacting with the I/O APIC. More...

#include "types.h"
Include dependency graph for ioapic_registers.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  IOAPIC::Identification.__unnamed38__
 

Namespaces

namespace  IOAPIC
 Abstraction of the I/O APIC that is used for management of external interrupts.
 

Typedefs

typedef uint32_t IOAPIC::Index
 
typedef uint32_t IOAPIC::Register
 

Enumerations

enum  IOAPIC::DeliveryMode {
  IOAPIC::FIXED = 0 ,
  IOAPIC::LOWEST_PRIORITY = 1 ,
  IOAPIC::SMI = 2 ,
  IOAPIC::NMI = 4 ,
  IOAPIC::INIT = 5 ,
  IOAPIC::EXTERN_INT = 7
}
 Delivery mode specifies the type of interrupt sent to the CPU. More...
 
enum  IOAPIC::DestinationMode {
  IOAPIC::PHYSICAL = 0 ,
  IOAPIC::LOGICAL = 1
}
 Way of interpreting the value written to the destination field. More...
 
enum  IOAPIC::Polarity {
  IOAPIC::HIGH = 0 ,
  IOAPIC::LOW = 1
}
 Interrupt polarity for the redirection-table entry. More...
 
enum  IOAPIC::TriggerMode {
  IOAPIC::EDGE = 0 ,
  IOAPIC::LEVEL = 1
}
 Trigger mode. More...
 
enum  IOAPIC::DeliveryStatus {
  IOAPIC::IDLE = 0 ,
  IOAPIC::SEND_PENDING = 1
}
 Interrupt state. More...
 
enum  IOAPIC::InterruptMask {
  IOAPIC::UNMASKED = 0 ,
  IOAPIC::MASKED = 1
}
 Interrupt masking. More...
 

Detailed Description

Helper structures for interacting with the I/O APIC.


Class Documentation

◆ IOAPIC::Identification.__unnamed38__

struct IOAPIC::Identification.__unnamed38__
Class Members
uint32_t __pad0__: 24 Reserved, do not modify.
uint32_t id: 4 I/O APIC Identification.