Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- extern char* asl_compiler_path;
- typedef int (*acpi_build_func_t)(int ncpu);
- typedef void (*dsdt_line_func_t)(const char *fmt, ...);
- typedef void (*dsdt_fixed_ioport_func_t)(uint16_t iobase, uint16_t length);
- typedef void (*dsdt_fixed_irq_func_t)(uint8_t irq);
- typedef void (*dsdt_fixed_mem32_func_t)(uint32_t base, uint32_t length);
- typedef void (*dsdt_indent_func_t)(int levels);
- typedef void (*dsdt_unindent_func_t)(int levels);
- typedef void (*dsdt_fixup_func_t)(int bus, uint16_t iobase, uint16_t iolimit, uint32_t membase32, uint32_t memlimit32,
- uint64_t membase64, uint64_t memlimit64);
- struct acpi_ops_t {
- acpi_build_func_t acpi_build;
- dsdt_line_func_t dsdt_line;
- dsdt_fixed_ioport_func_t dsdt_fixed_ioport;
- dsdt_fixed_irq_func_t dsdt_fixed_irq;
- dsdt_fixed_mem32_func_t dsdt_fixed_mem32;
- dsdt_indent_func_t dsdt_indent;
- dsdt_unindent_func_t dsdt_unindent;
- dsdt_fixup_func_t dsdt_fixup;
- };
- extern struct acpi_ops_t acpi_ops;
- extern struct acpi_ops_t acpi_ops_compile;
- extern struct acpi_ops_t acpi_ops_prebuilt_aml;
- void acpi_init(void);
- void sci_init(void);
Add Comment
Please, Sign In to add comment