experimental acpi support for apic irq routing
This commit is contained in:
parent
9cb66f310b
commit
a47521a3ed
13 changed files with 2876 additions and 644 deletions
36
sys/include/aml.h
Normal file
36
sys/include/aml.h
Normal file
|
@ -0,0 +1,36 @@
|
|||
#pragma lib "libaml.a"
|
||||
#pragma src "/sys/src/libaml"
|
||||
|
||||
/*
|
||||
* b uchar* buffer amllen() returns number of bytes
|
||||
* s char* string amllen() is strlen()
|
||||
* i uvlong* integer
|
||||
* p void** package amllen() is # of elements
|
||||
* r void* region
|
||||
* f void* field
|
||||
* u void* bufferfield
|
||||
* N void* name
|
||||
* R void* reference
|
||||
*/
|
||||
int amltag(void *);
|
||||
void* amlval(void *);
|
||||
uvlong amlint(void *);
|
||||
int amllen(void *);
|
||||
|
||||
void amlinit(void);
|
||||
void amlexit(void);
|
||||
|
||||
int amlload(uchar *data, int len);
|
||||
void* amlwalk(void *dot, char *name);
|
||||
int amleval(void *dot, char *fmt, ...);
|
||||
void amlenum(void *dot, char *seg, int (*proc)(void *, void *), void *arg);
|
||||
|
||||
void* amlroot;
|
||||
int amldebug;
|
||||
|
||||
#pragma varargck type "V" void*
|
||||
#pragma varargck type "N" void*
|
||||
|
||||
/* to be provided by operating system */
|
||||
extern void* amlalloc(int);
|
||||
extern void amlfree(void*);
|
Loading…
Add table
Add a link
Reference in a new issue