No description
Find a file
Jason Thorpe 99d9b4dcf2 Provide a minimal Console Terminal Block in the HWRPB.
Provide a minimal Console Terminal Block in the HWRPB so that operating
systems that depend on it can correctly initialize the console device.
This is suffucient, at least, for the BSD operating systems, but may not
be sufficient for Digital UNIX.

In addition to defining and filling out the structures, there are a couple
of other key changes:

- Redefine the a2 register passed by Qemu at start-up to also include
  some configuration flags, in addition to the CPU count, and define
  a flag to mirror the "-nographics" option.

- We need to initialize the HWRPB *after* initializing VGA, so that
  we'll know if a VGA device is present and in which slot for filling
  out the CTB.

Signed-off-by: Jason Thorpe <thorpej@me.com>
Message-Id: <20210613210934.21143-2-thorpej@me.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2021-06-14 20:55:38 -07:00
.gitignore Build palcode-sx164 instead of palcode. 2011-04-18 15:17:40 -07:00
console-low.S Beginnings of the SRM console prompt. 2011-05-05 13:12:49 -07:00
console.c Properly detect the presence of a vga device. 2011-06-03 17:12:52 -05:00
console.h Implement the console callback interface. 2011-05-02 10:46:14 -07:00
COPYING Add copyright information. 2011-05-01 09:11:52 -07:00
core-cia.h Add copyright information. 2011-05-01 09:11:52 -07:00
core-typhoon.h Inline i/o routines. 2011-05-06 18:04:44 -07:00
crb.c Implement the console callback interface. 2011-05-02 10:46:14 -07:00
HEADER Add copyright information. 2011-05-01 09:11:52 -07:00
hwrpb.h Provide a minimal Console Terminal Block in the HWRPB. 2021-06-14 20:55:38 -07:00
init.c Provide a minimal Console Terminal Block in the HWRPB. 2021-06-14 20:55:38 -07:00
ioport.h Use level-triggered ISA interrupts. 2011-05-06 11:52:02 -07:00
Makefile Add smp support 2016-11-13 12:04:29 +01:00
memcpy.c Make qemu-palcode build environment standalone. NFC. 2021-06-05 17:26:13 -07:00
memset.c Make qemu-palcode build environment standalone. NFC. 2021-06-05 17:26:13 -07:00
osf.h Report machine checks to the kernel 2019-03-25 13:09:53 -07:00
pal.h Add Cserve_Get_VM_Time 2013-07-16 06:46:36 -07:00
pal.S Fixes for secondary CPU start-up. 2021-06-06 13:26:29 -07:00
palcode.ld Optimize memory layout. 2013-07-08 11:48:03 -07:00
pci.c Provide interrupt mapping information in PCI config registers. 2021-06-05 18:47:29 -07:00
pci.h Make some PCI macros available to other files. NFC. 2021-06-05 17:32:11 -07:00
pci_ids.h Properly detect the presence of a vga device. 2011-06-03 17:12:52 -05:00
pci_regs.h Initial PCI setup. 2011-05-06 18:05:13 -07:00
printf.c Make qemu-palcode build environment standalone. NFC. 2021-06-05 17:26:13 -07:00
protos.h Provide a minimal Console Terminal Block in the HWRPB. 2021-06-14 20:55:38 -07:00
ps2port.c Add ps2 keyboard initialization. 2011-05-06 11:07:37 -07:00
ps2port.h Add ps2 keyboard initialization. 2011-05-06 11:07:37 -07:00
strlen.S Handle padding in printf numerical output. 2011-05-06 15:50:07 -07:00
sys-clipper.h Provide interrupt mapping information in PCI config registers. 2021-06-05 18:47:29 -07:00
sys-clipper.S Tidy clipper Sys_Setup 2016-11-13 12:21:45 +01:00
sys-sx164.h Add copyright information. 2011-05-01 09:11:52 -07:00
uart.c Don't initialize COM2. 2013-07-08 11:49:21 -07:00
uart.h Implement the console callback interface. 2011-05-02 10:46:14 -07:00
util.c Add smp support 2016-11-13 12:04:29 +01:00
vgafonts.c Make vga fonts const 2013-07-08 11:34:57 -07:00
vgaio.c Provide a minimal Console Terminal Block in the HWRPB. 2021-06-14 20:55:38 -07:00
vgatables.c Omit video_save_pointer_table as unused. 2013-07-08 11:45:58 -07:00
vgatables.h Fix use of undefined PACKED macro. 2013-07-08 11:45:34 -07:00