csmwrap icon indicating copy to clipboard operation
csmwrap copied to clipboard

MPTable and PIRQ Table support

Open FlyGoat opened this issue 7 months ago • 5 comments

Seems not necessary with ACPI enabled OS at the moment.

But we should try to extract information from ACPI to construct MPTable and PIRQ table to serve some legacy OS.

FlyGoat avatar May 17 '25 15:05 FlyGoat

When I tested with Win98, my ethernet card does not work properly. Also Win3.1 does not detect sound card. But when I boot with motherboard's default CSM, these cards work properly. I hope it fixes as soon as possible.

ages2001 avatar May 22 '25 15:05 ages2001

When I tested with Win98, my ethernet card does not work properly. Also Win3.1 does not detect sound card. But when I boot with motherboard's default CSM, these cards work properly. I hope it fixes as soon as possible.

Do you know how does this detection happen? Was it ISA PnP or PnPBIOS?

FlyGoat avatar May 23 '25 10:05 FlyGoat

ibh I don't have much clues on how to implement PIRQ Table, we can't call AML in CSMWrap as their _INT methods have some side effects that will render hardware into a state for ACPI OS only.

FlyGoat avatar May 23 '25 10:05 FlyGoat

When I tested with Win98, my ethernet card does not work properly. Also Win3.1 does not detect sound card. But when I boot with motherboard's default CSM, these cards work properly. I hope it fixes as soon as possible.

Do you know how does this detection happen? Was it ISA PnP or PnPBIOS?

I don't know. It is newish motherboard (P8Z77-V LX). I think it is PnP enabled always and ISA is too old for this motherboard.

ages2001 avatar May 23 '25 13:05 ages2001

When I tested with Win98, my ethernet card does not work properly. Also Win3.1 does not detect sound card. But when I boot with motherboard's default CSM, these cards work properly. I hope it fixes as soon as possible.

Do you know how does this detection happen? Was it ISA PnP or PnPBIOS?

I don't know. It is newish motherboard (P8Z77-V LX). I think it is PnP enabled always and ISA is too old for this motherboard.

AFAIK Win 3.1 does not have PCI support (at least at OS level, some drivers may invoke PCI hardware on it's own), so it's a surprise to me that it worked in first place... And I have no clues on how to get it working.

For Ethernet... It might be IRQ routing issue... I still don't have much idea on how to handle pre-ACPI OS...

Anyway thanks for the report, it won't be fixed any time soon but I'll keep it on my todo.

FlyGoat avatar May 23 '25 13:05 FlyGoat