Public Types | Public Member Functions | Public Attributes

IOApic Class Reference

I/OxAPIC model. More...

Inheritance diagram for IOApic:
DiscoveryHelper< IOApic > StaticReceiver< IOApic > Device

List of all members.

Public Types

enum  {
  IOAPIC_BASE = 0xfec00000, OFFSET_INDEX = 0x00, OFFSET_DATA = 0x10, OFFSET_PAR = 0x20,
  OFFSET_EOI = 0x40, PINS = 24, EXTINT_PIN = 0, NMI_PIN = 23
}

Public Member Functions

bool receive (MessageMem &msg)
bool receive (MessageIrq &msg)
bool receive (MessageLegacy &msg)
void discovery ()
 IOApic (Motherboard &mb, unsigned long base, unsigned gsibase)

Public Attributes

Motherboard_mb

Detailed Description

I/OxAPIC model.

Copyright (C) 2010, Bernhard Kauer <bk@vmmon.org> Economic rights: Technische Universitaet Dresden (Germany)

This file is part of Vancouver.

Vancouver is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

Vancouver is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License version 2 for more details. I/OxAPIC model.

State: testing Features: MSI generation, level+notify, PAR, EOI Difference: no APIC bus Documentation: Intel ICH4.


Member Enumeration Documentation

anonymous enum
Enumerator:
IOAPIC_BASE 
OFFSET_INDEX 
OFFSET_DATA 
OFFSET_PAR 
OFFSET_EOI 
PINS 
EXTINT_PIN 
NMI_PIN 

Constructor & Destructor Documentation

IOApic::IOApic ( Motherboard mb,
unsigned long  base,
unsigned  gsibase 
) [inline]

Member Function Documentation

void IOApic::discovery (  )  [inline]
bool IOApic::receive ( MessageIrq msg  )  [inline]
bool IOApic::receive ( MessageLegacy msg  )  [inline]
bool IOApic::receive ( MessageMem msg  )  [inline]

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines