Files
86Box/src/include/86box/row.h

43 lines
1.0 KiB
C
Raw Normal View History

2023-07-12 00:33:56 +02:00
/*
2023-08-14 21:23:54 -04:00
* 86Box A hypervisor and IBM PC system emulator that specializes in
* running old operating systems and software designed for IBM
* PC systems and compatibles from 1981 through fairly recent
* system designs based on the PCI bus.
2023-07-12 00:33:56 +02:00
*
2023-08-14 21:23:54 -04:00
* This file is part of the 86Box distribution.
2023-07-12 00:33:56 +02:00
*
2023-08-14 21:23:54 -04:00
* Definitions for the SMRAM interface.
2023-07-12 00:33:56 +02:00
*
*
*
2023-08-14 21:23:54 -04:00
* Authors: Miran Grca, <mgrca8@gmail.com>
2023-07-12 00:33:56 +02:00
*
2023-08-14 21:23:54 -04:00
* Copyright 2016-2020 Miran Grca.
2023-07-12 00:33:56 +02:00
*/
#ifndef EMU_ROW_H
# define EMU_ROW_H
2023-08-21 20:26:11 -04:00
typedef struct _row_ {
2023-07-12 00:33:56 +02:00
struct _smram_ *prev;
struct _smram_ *next;
uint8_t *buf;
mem_mapping_t mapping;
uint32_t host_base;
uint32_t host_size;
uint32_t ram_base;
uint32_t ram_size;
uint32_t ram_mask;
uint32_t boundary;
} row_t;
extern void row_disable(uint8_t row_id);
extern void row_set_boundary(uint8_t row_id, uint32_t boundary);
extern device_t row_device;
2023-08-14 21:23:54 -04:00
#endif /*EMU_ROW_H*/