Overview   API Reference  

pci_class_descriptor Struct Reference

Struct to define common PCI class codes along with a suitable name. More...

#include <resources.hpp>

Collaboration diagram for pci_class_descriptor:

Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static const pci_class_descriptorget (const string &name)
 Returns a descriptor by name or NULL, if no valid name was given.
static uint32_t get_code (const string &name)
 Returns a PCI class code by name or pci_config_header16::class_code::ANY_DEVICE, if no valid name was given.

Public Attributes

const char * name
 The PCI class code's name;.
uint32_t code
 The PCI class code's numerical value.


Detailed Description

Struct to define common PCI class codes along with a suitable name.

Member Data Documentation

The PCI class code's numerical value.

This value may be to short i.e. 0x0200 for ethernet instead of 0x020000 to allow fuzzy matching with pci_config_header16::class_code.


The documentation for this struct was generated from the following files:

L4vmm Reference Manual, written by Mario Schwalbe  © 2006-2008