Re: [PATCH 7/8] Provide a Console Terminal Block in the HWRPB.

2021-06-06 Thread Jason Thorpe
> On Jun 6, 2021, at 12:27 PM, Richard Henderson > wrote: > > On 6/2/21 8:53 PM, Jason Thorpe wrote: >> + hwrpb.hwrpb.ctbt_offset = offsetof(struct hwrpb_combine, ctb); >> + hwrpb.hwrpb.ctb_size = sizeof(hwrpb.ctb); >> + if (have_vga && !CONFIG_NOGRAPHICS(config)) >> +{ >> + hwrpb

Re: [PATCH 7/8] Provide a Console Terminal Block in the HWRPB.

2021-06-06 Thread Richard Henderson
On 6/2/21 8:53 PM, Jason Thorpe wrote: + hwrpb.hwrpb.ctbt_offset = offsetof(struct hwrpb_combine, ctb); + hwrpb.hwrpb.ctb_size = sizeof(hwrpb.ctb); + if (have_vga && !CONFIG_NOGRAPHICS(config)) +{ + hwrpb.ctb.term_type = CTB_GRAPHICS; + hwrpb.ctb.turboslot = (CTB_TURBOSLOT_TYPE_P

[PATCH 7/8] Provide a Console Terminal Block in the HWRPB.

2021-06-02 Thread Jason Thorpe
Provide a Console Terminal Block in the HWRPB so that operating systems that depend on it can correctly initialize the console device. 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 inc