Expose agpgart_t (#2655)

This commit is contained in:
Jasmine Iwanek
2022-08-31 18:23:38 -04:00
committed by GitHub
parent 5e0c1ac209
commit a75aa6f412
5 changed files with 43 additions and 23 deletions

View File

@@ -29,7 +29,7 @@
#include <86box/chipset.h>
#include <86box/spd.h>
#include <86box/machine.h>
#include <86box/video.h>
#include <86box/agpgart.h>
enum
@@ -59,7 +59,7 @@ typedef struct
uint8_t mem_state[256];
int type;
smram_t *smram_low, *smram_high;
void *agpgart;
agpgart_t *agpgart;
void (*write_drbs)(uint8_t *regs, uint8_t reg_min, uint8_t reg_max, uint8_t drb_unit);
} i4x0_t;

View File

@@ -33,7 +33,7 @@
#include <86box/pci.h>
#include <86box/chipset.h>
#include <86box/spd.h>
#include <86box/video.h>
#include <86box/agpgart.h>
#define VIA_585 0x05851000
#define VIA_595 0x05950000
@@ -50,8 +50,8 @@ typedef struct via_apollo_t
uint8_t drb_unit;
uint8_t pci_conf[256];
smram_t *smram;
void *agpgart;
smram_t *smram;
agpgart_t *agpgart;
} via_apollo_t;