Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/bhyve/acpi.h
Context not available. | |||||
#ifndef _ACPI_H_ | #ifndef _ACPI_H_ | ||||
#define _ACPI_H_ | #define _ACPI_H_ | ||||
#include "acpi_device.h" | |||||
#define SCI_INT 9 | #define SCI_INT 9 | ||||
#define SMI_CMD 0xb2 | #define SMI_CMD 0xb2 | ||||
Context not available. | |||||
int acpi_build(struct vmctx *ctx, int ncpu); | int acpi_build(struct vmctx *ctx, int ncpu); | ||||
void acpi_raise_gpe(struct vmctx *ctx, unsigned bit); | void acpi_raise_gpe(struct vmctx *ctx, unsigned bit); | ||||
int acpi_tables_add_device(const struct acpi_device *const dev); | |||||
void dsdt_line(const char *fmt, ...); | void dsdt_line(const char *fmt, ...); | ||||
void dsdt_fixed_ioport(uint16_t iobase, uint16_t length); | void dsdt_fixed_ioport(uint16_t iobase, uint16_t length); | ||||
void dsdt_fixed_irq(uint8_t irq); | void dsdt_fixed_irq(uint8_t irq); | ||||
Context not available. |