aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-10-20Merge pull request #4 from svenschnelle/parisc-qemu-4.1.0parisc-qemu-4.1.0Helge Deller3-104/+58
STI support and LASI RTC fixes
2019-10-20parisc: support LASI RTC registerSven Schnelle2-90/+8
Signed-off-by: Sven Schnelle <svens@stackframe.org>
2019-10-20parisc: Add support for setting STI screen resolutionSven Schnelle1-14/+50
Signed-off-by: Sven Schnelle <svens@stackframe.org>
2019-09-11Merge pull request #3 from svenschnelle/stiHelge Deller12-417/+1176
Merge STI graphics/console support from Sven Schnelle
2019-09-11parisc: wire up graphics consoleSven Schnelle3-104/+109
Add the code necessary to wire up the PS/2 Keyboard, Mouse port and Artist graphics. If Artist is detected, the graphical console is used as the system console, otherwise the serial port is used. Signed-off-by: Sven Schnelle <svens@stackframe.org>
2019-09-11parisc: Add STI supportSven Schnelle6-309/+972
Signed-off-by: Sven Schnelle <svens@stackframe.org>
2019-09-11parisc: add LASI PS/2 emulation.Sven Schnelle4-2/+90
This adds emulation of the PS/2 Keyboard and Mouse port found on LASI chips. Signed-off-by: Sven Schnelle <svens@stackframe.org>
2019-09-11parisc: add missing header guard to hppa.hSven Schnelle1-0/+3
Signed-off-by: Sven Schnelle <svens@stackframe.org>
2019-09-11parisc: fix PDC info for graphics adapterSven Schnelle1-3/+3
Remove the additional address, as this doesn't match SeaBIOS' STI ROM location and crashes the HP-UX kernel. Instead use PAGE0->proc_sti for passing the address. Also fix the bus location. Signed-off-by: Sven Schnelle <sven.schnelle@lancom.de>
2019-08-16Fix mod_pgs (number of pages) for graphic cardsHelge Deller1-2/+8
Signed-off-by: Helge Deller <deller@gmx.de>
2019-08-16Implement SeaBIOS returning additional addresses. Fixes HP-UX boot.Helge Deller1-3/+16
2019-08-16Fix serial ports and add PDC_MODEL functions for special instructions enablementHelge Deller1-7/+17
2019-08-16Do not print \r on parisc SeaBIOSHelge Deller1-1/+1
2019-08-16Implement ENTRY_IO_BBLOCK_IN IODC functionHelge Deller1-4/+12
Additionally fix small compiler warnings and make sure that we report to support 32-bit PDC calls only. Signed-off-by: Helge Deller <deller@gmx.de>
2019-08-13Add serial, parallel and LAN port support of LASI chipHelge Deller1-2/+59
2019-07-30Return non-existant BTLB for PDC_BLOCK_TLBHelge Deller1-2/+16
Instead of returning an error for a not-implemented PDC call, report that the systems does not support any BTLBs. This avoids an error message when starting MkLinux. Signed-off-by: Helge Deller <deller@gmx.de>
2019-07-30Add PDC_MEM_MAP and ENTRY_INIT_SRCH_FRST for OSF/MkLinuxHelge Deller1-7/+43
OSF/mklinux supported the old HP700 series workstations, so the port still calls really old PDC functions like PDC_MEM_MAP or the ENTRY_INIT_SRCH_FRST/ENTRY_INIT_SRCH_NEXT IODC IODC functions. This patch adds those missing pieces, but since the current QEMU emulation emulates a newer B160L machine, mklinux will fail to detect the LASI chip which is located below the "Phantom PseudoBC GSC+ Port" and thus stop booting. Anyway, if we at some point in future add HP700 emulation (which should be easy), mklinux should be able to boot further. Signed-off-by: Helge Deller <deller@gmx.de>
2019-03-15Improve debug messages, code indenting, TOD accuracyparisc_firmwareHelge Deller1-23/+46
2019-03-14Fix CPU HPA mod path, needs fix for qemu as well!Helge Deller3-6/+11
2019-03-13Add IODC ENTRY_INIT_DEV test, finally fixes ODE IOTEST.Helge Deller1-1/+8
2019-03-13Implement ENTRY_TEST iodc testHelge Deller1-11/+46
Now IOTEST test program from ODE succeeds as well. Added helper functions HPA_is_serial_device() and HPA_is_storage_device(). Signed-off-by: Helge Deller <deller@gmx.de>
2019-03-13Increase initial array size of parisc_devices[] since we reduced ↵Helge Deller1-1/+1
HPPA_MAX_CPUS to 8.
2019-03-13Merge pull request #2 from svenschnelle/masterHelge Deller2-398/+570
Master
2019-03-12parisc: fix PDC_COPROCESSORSven Schnelle2-4/+6
The bits in the coprocessor bitmask are count from the left, and have only 8 bits representing 8 coprocessors. So also adjust HPPA_MAX_CPUS to reflect that. This changes makes HP-UX and ODE recognize the FPU. Signed-off-by: Sven Schnelle <svens@stackframe.org>
2019-03-10parisc: set result in ENTRY_INIT_MODSven Schnelle1-0/+1
2019-03-10parisc: move PDC_INITIATOR to its own functionSven Schnelle1-20/+29
Signed-off-by: Sven Schnelle <svens@stackframe.org>
2019-03-10parisc: move PDC_PCI_INDEX to its own functionSven Schnelle1-26/+36
Signed-off-by: Sven Schnelle <svens@stackframe.org>
2019-03-10parisc: move PDC_IO to its own functionSven Schnelle1-9/+20
Signed-off-by: Sven Schnelle <svens@stackframe.org>
2019-03-10parisc: move PDC_SOFT_POWER to its own functionSven Schnelle1-8/+17
Signed-off-by: Sven Schnelle <svens@stackframe.org>
2019-03-10parisc: move PDC_SYSTEM_MAP to its own functionSven Schnelle1-41/+48
Signed-off-by: Sven Schnelle <svens@stackframe.org>
2019-03-10parisc: move PDC_PSW to its own functionSven Schnelle1-14/+24
Signed-off-by: Sven Schnelle <svens@stackframe.org>
2019-03-10parisc: move PDC_MEM to its own functionSven Schnelle1-21/+30
Signed-off-by: Sven Schnelle <svens@stackframe.org>
2019-03-10parisc: move PDC_TLB to its own functionSven Schnelle1-14/+20
Signed-off-by: Sven Schnelle <svens@stackframe.org>
2019-03-10parisc: move PDC_ADD_VALID to its own functionSven Schnelle1-15/+25
Signed-off-by: Sven Schnelle <svens@stackframe.org>
2019-03-10parisc: move PDC_TOD/PDC_NVOLATILE to its own functionSven Schnelle1-65/+92
2019-03-10parisc: move PDC_IODC to its own functionSven Schnelle1-60/+69
Signed-off-by: Sven Schnelle <svens@stackframe.org>
2019-03-10parisc: move PDC_COPRO to its own functionSven Schnelle1-12/+21
Signed-off-by: Sven Schnelle <svens@stackframe.org>
2019-03-10parisc: move PDC_HPA to its own functionSven Schnelle1-10/+18
Signed-off-by: Sven Schnelle <svens@stackframe.org>
2019-03-10parisc: move PDC_CACHE to its own functionSven Schnelle1-35/+46
Signed-off-by: Sven Schnelle <svens@stackframe.org>
2019-03-10parisc: move PDC_MODEL to its own functionSven Schnelle1-33/+41
Signed-off-by: Sven Schnelle <svens@stackframe.org>
2019-03-10parisc: move PDC_PIM to its own functionSven Schnelle1-14/+25
Signed-off-by: Sven Schnelle <svens@stackframe.org>
2019-03-10parisc: move PDC_CHASSIS to its own functionSven Schnelle1-17/+25
Signed-off-by: Sven Schnelle <svens@stackframe.org>
2019-03-10parisc: don't skip negative path parts in PDC_TRANSLATE_PATHSven Schnelle1-4/+1
Looks like i was wrong that -1 means "don't compare" - This way ODE show the correct hardware map. Signed-off-by: Sven Schnelle <svens@stackframe.org>
2019-03-05Fix PDC_MODEL_VERSIONS and try to get coprocessor detectedHelge Deller1-2/+7
2019-03-05Improve comments for PDC_GET_INITIATORHelge Deller1-6/+6
2019-03-05TOD fixes, add ENTRY_INIT/ENTRY_INIT_MOD callHelge Deller1-7/+20
2019-03-05parisc: implement PDC_TRANSLATE_PATHSven Schnelle1-1/+52
ODE uses this to discover devices. With this patch, it's at least possible now to start the DINO test suite. Signed-off-by: Sven Schnelle <svens@stackframe.org> Signed-off-by: Helge Deller <deller@gmx.de>
2019-02-18dino: strip lower 2 bits from pci config addressSven Schnelle1-8/+8
Signed-off-by: Sven Schnelle <svens@stackframe.org>
2019-02-18Find PCI slot of LSI SCSI card. Needed for boot path.Helge Deller1-0/+16
2019-02-16Fix dependencies, rebuilds automatically.Helge Deller1-5/+4