Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/bhyve/basl.h
Show First 20 Lines • Show All 64 Lines • ▼ Show 20 Lines | |||||
int basl_table_append_header(struct basl_table *table, | int basl_table_append_header(struct basl_table *table, | ||||
const uint8_t signature[ACPI_NAMESEG_SIZE], uint8_t revision, | const uint8_t signature[ACPI_NAMESEG_SIZE], uint8_t revision, | ||||
uint32_t oem_revision); | uint32_t oem_revision); | ||||
int basl_table_append_int(struct basl_table *table, uint64_t val, uint8_t size); | int basl_table_append_int(struct basl_table *table, uint64_t val, uint8_t size); | ||||
int basl_table_append_length(struct basl_table *table, uint8_t size); | int basl_table_append_length(struct basl_table *table, uint8_t size); | ||||
int basl_table_append_pointer(struct basl_table *table, | int basl_table_append_pointer(struct basl_table *table, | ||||
const uint8_t src_signature[ACPI_NAMESEG_SIZE], uint8_t size); | const uint8_t src_signature[ACPI_NAMESEG_SIZE], uint8_t size); | ||||
int basl_table_create(struct basl_table **table, struct vmctx *ctx, | int basl_table_create(struct basl_table **table, struct vmctx *ctx, | ||||
const uint8_t *name, uint32_t alignment, uint32_t off); | const uint8_t *name, uint32_t alignment); |