move emulator working area into fast RAM

This commit is contained in:
Markus Fröschle
2017-04-14 08:59:28 +00:00
parent 49e8eb0694
commit bac28d00bd

View File

@@ -1,7 +1,8 @@
#ifndef PCI_BIOS_H
#define PCI_BIOS_H
#ifndef _PCI_BIOS_H_
#define _PCI_BIOS_H_
enum {
enum
{
PCI_BIOS_PRESENT = 0xB101,
FIND_PCI_DEVICE = 0xB102,
FIND_PCI_CLASS_CODE = 0xB103,
@@ -16,7 +17,8 @@ enum {
SET_PCI_IRQ = 0xB10F
};
enum {
enum
{
SUCCESSFUL = 0x00,
FUNC_NOT_SUPPORTED = 0x81,
BAD_VENDOR_ID = 0x83,
@@ -44,8 +46,8 @@ extern int x86_pcibios_handler(struct X86EMU *emu);
#define PCI_RAM_IMAGE_START 0xD0000
#define SYS_BIOS 0xF0000
#define SIZE_EMU 0x100000
#define BIOS_MEM 0x0UL
#define BIOS_MEM 0x100000UL
#endif /* PCI_BIOS_H */
#endif /* _PCI_BIOS_H_ */