mirror of
https://github.com/86Box/86Box.git
synced 2026-02-23 09:58:19 -07:00
32 lines
611 B
C
32 lines
611 B
C
/*
|
|
* Intel ICH2 Trap Header
|
|
*
|
|
* Authors: Tiseno100,
|
|
*
|
|
* Copyright 2022 Tiseno100.
|
|
*/
|
|
|
|
#ifndef EMU_INTEL_ICH2_TRAP_H
|
|
# define EMU_INTEL_ICH2_TRAP_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct intel_ich2_trap_t
|
|
{
|
|
acpi_t *acpi;
|
|
void *trap;
|
|
} intel_ich2_trap_t;
|
|
|
|
extern void intel_ich2_trap_set_acpi(intel_ich2_trap_t *trap, acpi_t *acpi);
|
|
extern void intel_ich2_device_trap_setup(uint8_t acpi_reg, uint8_t acpi_reg_val, uint16_t addr, uint16_t size, intel_ich2_trap_t *dev);
|
|
|
|
extern const device_t intel_ich2_trap_device;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /*EMU_INTEL_ICH2_TRAP_H*/
|