NOVA User-Level Environment
Version testbox/changed-memory-timing-317-g320d8b5
|
This template provides easy access to the Discovery Bus. More...
#include <templates.h>
Static Public Member Functions | |
static bool | discover (Device *o, MessageDiscovery &msg) |
Protected Member Functions | |
bool | discovery_write_st (const char *resource, unsigned offset, const void *value, unsigned count) |
bool | discovery_write_dw (const char *resource, unsigned offset, unsigned value, unsigned count=4) |
Write a dword or less than it. | |
bool | discovery_read_dw (const char *resource, unsigned offset, unsigned &value) |
Read a dword. | |
unsigned | discovery_length (const char *resource, unsigned minlen) |
Return the length of an ACPI table or minlen if it is smaller. |
This template provides easy access to the Discovery Bus.
|
inlinestatic |
|
inlineprotected |
Return the length of an ACPI table or minlen if it is smaller.
|
inlineprotected |
Read a dword.
|
inlineprotected |
Write a dword or less than it.
|
inlineprotected |