XenevaOS
Loading...
Searching...
No Matches
austatic.h
Go to the documentation of this file.
1
10#ifndef __AU_STATIC_H__
11#define __AU_STATIC_H__
12
13#include <audrv.h>
14
15typedef struct {
16 const char* name; /* basename without extension, e.g. "virtgpu" */
17 au_drv_entry entry; /* the component's AuDriverMain */
18 void* console_present; /* optional AuConsolePresentFn (virtgpu), else NULL */
20
21/* look up a component by driver path ("/virtgpu.dll") or bare name; NULL if the
22 * image does not contain it (always NULL in a normal build) */
23extern const AuStaticComponent* AuStaticComponentFind(const char* path);
24
25/* number of components linked into this image */
26extern int AuStaticComponentCount(void);
27
28#endif
int(* au_drv_entry)(void *drv)
Definition audrv.h:61
int AuStaticComponentCount(void)
Definition staticcomp.c:32
const AuStaticComponent * AuStaticComponentFind(const char *path)
Definition staticcomp.c:36
Definition austatic.h:15
const char * name
Definition austatic.h:16
void * console_present
Definition austatic.h:18
au_drv_entry entry
Definition austatic.h:17
Definition path.h:8