diff options
author | Helge Deller <deller@gmx.de> | 2024-01-19 10:51:55 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2024-01-19 10:51:55 +0100 |
commit | 2768f4271f05376f3b7b58ccc56d15e556692412 (patch) | |
tree | db5e7f351921297669e172e4b65e54c6e3aa7625 /src/parisc/parisc.c | |
parent | f8c4ad468aebeb94fdb927ade804723d44604723 (diff) | |
download | seabios-hppa-2768f4271f05376f3b7b58ccc56d15e556692412.zip seabios-hppa-2768f4271f05376f3b7b58ccc56d15e556692412.tar.gz seabios-hppa-2768f4271f05376f3b7b58ccc56d15e556692412.tar.bz2 |
parisc: Include 715/64 as possible supported machine
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'src/parisc/parisc.c')
-rw-r--r-- | src/parisc/parisc.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/parisc/parisc.c b/src/parisc/parisc.c index 12cfd4b..2157dde 100644 --- a/src/parisc/parisc.c +++ b/src/parisc/parisc.c @@ -344,6 +344,10 @@ struct machine_info { #include "parisc/c3700.h" #include "parisc/machine-create.h" +#define MACHINE 715 +#include "parisc/715_64.h" +#include "parisc/machine-create.h" + struct machine_info *current_machine = &machine_B160L; static hppa_device_t *parisc_devices = machine_B160L.device_list; @@ -3086,6 +3090,15 @@ void __VISIBLE start_parisc_firmware(void) mem_cons_boot.hpa = 0; mem_kbd_boot.hpa = 0; } + if (strcmp(str, "715") == 0) { + has_astro = 0; /* No Astro */ + current_machine = &machine_715; + pci_hpa = 0; /* No PCI bus */ + hppa_port_pci_cmd = 0; + hppa_port_pci_data = 0; + mem_cons_boot.hpa = 0xf0105000; /* serial port */ + mem_kbd_boot.hpa = 0xf0105000; + } parisc_devices = current_machine->device_list; strtcpy(qemu_machine, str, sizeof(qemu_machine)); |