#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/efi.h>
#include <sys/eventhandler.h>
#include <sys/kernel.h>
#include <sys/linker.h>
#include <sys/module.h>
#include <sys/clock.h>
#include <sys/sysctl.h>
#include <sys/systm.h>
#include <xen/xen-os.h>
#include <xen/error.h>
#include <xen/hypervisor.h>
#include <contrib/xen/platform.h>
Go to the source code of this file.
|
| __FBSDID ("$FreeBSD$") |
|
static int | rt_ok (void) |
|
static int | get_time (struct efi_tm *tm) |
|
static int | get_time_capabilities (struct efi_tmcap *tmcap) |
|
static int | set_time (struct efi_tm *tm) |
|
static int | var_get (efi_char *name, struct uuid *vendor, uint32_t *attrib, size_t *datasize, void *data) |
|
static int | var_nextname (size_t *namesize, efi_char *name, struct uuid *vendor) |
|
static int | var_set (efi_char *name, struct uuid *vendor, uint32_t attrib, size_t datasize, void *data) |
|
static int | modevents (module_t m, int event, void *arg __unused) |
|
| DECLARE_MODULE (pvefirt, moddata, SI_SUB_DRIVERS, SI_ORDER_SECOND) |
|
| MODULE_VERSION (pvefirt, 1) |
|
◆ __FBSDID()
◆ DECLARE_MODULE()
DECLARE_MODULE |
( |
pvefirt |
, |
|
|
moddata |
, |
|
|
SI_SUB_DRIVERS |
, |
|
|
SI_ORDER_SECOND |
|
|
) |
| |
◆ get_time()
static int get_time |
( |
struct efi_tm * |
tm | ) |
|
|
static |
◆ get_time_capabilities()
static int get_time_capabilities |
( |
struct efi_tmcap * |
tmcap | ) |
|
|
static |
◆ modevents()
static int modevents |
( |
module_t |
m, |
|
|
int |
event, |
|
|
void *arg |
__unused |
|
) |
| |
|
static |
◆ MODULE_VERSION()
MODULE_VERSION |
( |
pvefirt |
, |
|
|
1 |
|
|
) |
| |
◆ rt_ok()
static int rt_ok |
( |
void |
| ) |
|
|
static |
◆ set_time()
static int set_time |
( |
struct efi_tm * |
tm | ) |
|
|
static |
◆ var_get()
static int var_get |
( |
efi_char * |
name, |
|
|
struct uuid * |
vendor, |
|
|
uint32_t * |
attrib, |
|
|
size_t * |
datasize, |
|
|
void * |
data |
|
) |
| |
|
static |
◆ var_nextname()
static int var_nextname |
( |
size_t * |
namesize, |
|
|
efi_char * |
name, |
|
|
struct uuid * |
vendor |
|
) |
| |
|
static |
◆ var_set()
static int var_set |
( |
efi_char * |
name, |
|
|
struct uuid * |
vendor, |
|
|
uint32_t |
attrib, |
|
|
size_t |
datasize, |
|
|
void * |
data |
|
) |
| |
|
static |
◆ bootmethod
◆ moddata
Initial value:= {
.name = "pvefirt",
.priv = NULL,
}
static int modevents(module_t m, int event, void *arg __unused)
Definition at line 248 of file pvefi.c.
◆ pvefi_ops
const struct efi_ops pvefi_ops |
|
static |
Initial value:= {
}
static int var_nextname(size_t *namesize, efi_char *name, struct uuid *vendor)
static int var_get(efi_char *name, struct uuid *vendor, uint32_t *attrib, size_t *datasize, void *data)
static int set_time(struct efi_tm *tm)
static int get_time(struct efi_tm *tm)
static int var_set(efi_char *name, struct uuid *vendor, uint32_t attrib, size_t datasize, void *data)
static int get_time_capabilities(struct efi_tmcap *tmcap)
Definition at line 206 of file pvefi.c.
Referenced by modevents().