Jump to content

Compiling ACPI v2.0 driver for Windows XP SP3 and Windows 2003 SP2 (x32/x64)


Mov AX, 0xDEAD

Recommended Posts

@Mov AX, 0xDEAD

So Looking at the Windows 8.0 acpi.sys driver and comparing to my compiled version I think that

Quote

    "ACPI0007",        &AcpiProcessorIrpDispatch,

and

Quote

    "ACPI0007",         DEV_MASK_INTERNAL_DEVICE | DEV_CAP_PROCESSOR,  //0x10 0030 0000

is what the code should be looking at the both acpi.sys drivers in disassembly and comparing AcpiInternalDeviceFlagTable in hex between the two.

So I think the only thing that the Windows 8.0 acpi.sys driver does at this point is somehow convert the string "ACPI\ACPI0007" into "ACPI\Processor" and it then gets processed by cpu.inf - so code for ACPI0010 may not be necessary?

Link to comment
Share on other sites


@Mov AX, 0xDEAD

The acpi.sys driver of Windows 7, 8.0 and 8.1 all handle ACPI0007 correctly and gets installed as ACPI\Processor - no handling of the ACPI0010 device is necessary.

So we only need to figure out how acpi.sys of Windows 7/8.0/8.1 is able to convert ACPI0007 into ACPI\Processor and then it should work.

Link to comment
Share on other sites

@Dietmar

For my case, the processor definition was in an SSDT, but yes I confirmed that this worked earlier using grub2 -

the SSDT mod I did also removed the ACPI0007 IDs and reintroduced old deprecated Processor() Opcode which is actually what resolved the issue and was not removing the ACPI0010 container like I'd originally thought.

Edited by Damnation
Link to comment
Share on other sites

@Damnation

I see, that the power consumption of your cpu is also after this modd at about 40 Watt.

When you succeed that the processor lists shows your cpu correct, will this powerconsumption go down?

Can you please send me your modded DSDT and the needed SSDT,

all in original and in modded?

Then I will make a try with to integrate it permanently in one of my not needed z690 boards

via Bios flash with EEPromer Revelprog IS

Dietmar

PS: I need to flash, because I never succeed to load a DSDT in boottime under XP.

 

Link to comment
Share on other sites

@Dietmar

Here are my original and modded ACPI tables -

https://ufile.io/5spx5ygt

You should try the grub2 boottime method. It's a much safer option once it's setup.

like for mine all I need to type in the grub console is

grub> acpi (hd0,2)/acpi/dsdt.aml

grub> acpi (hd0,2)/acpi/ssdt2.aml

grub> acpi (hd0,2)/acpi/ssdt3.aml

grub> acpi (hd0,2)/acpi/ssdt6.aml

and then boot XP and it worked.

Have you got any USB drives with grub2 installed on it?

Link to comment
Share on other sites

@Damnation

I prepare an USB stick with fat32 and Grub2.

It contains now

grubfm.iso

grubfmaa64.efi

grubfmia32.efi

grubfmx64.efi

loadfm

 

At commandline

grub: ls

It shows me (hd0,msdos1) (hd1) (hd1,msdos1)

 

But any try to boot from any it always gives me the message

error: you need to load the kernel first

 

Dietmar

 

 

 

 

Edited by Dietmar
Link to comment
Share on other sites

@Dietmar

I've never had to deal with that, perhaps Easy2boot + A1live grub file manager set it all up for me as I can just select my XP boot drive as a menu item from within Agfm.

Do you have any Windows 10 PCs so you can setup Easy2boot + Agfm on a USB?

Link to comment
Share on other sites

@Damnation

Yes, I have compi with Win10.

May be, that my problem is, that I tried to do all under XP SP3.

Have you tried to make this USB boot stick with Easy2boot + Agfm

under XP?

Is yes, I am just too blind and need a short Tutorial

Dietmar

EDIT: XP, WIndows 7, WIndows 8 and early versions of Windows 10 have a problem with USB Flash (thumb) drives. They will only access one partition. Please use Windows 10/11 to create a E2B+agFM UEFI-bootable USB drive. If your USB drive is a USB Fixed Disk (e.g. USB HDD) then you can use any version of Windows.

I have a Kingston Workspace 64 GB, which is always shown as USB hardDISK.

 

Edited by Dietmar
Link to comment
Share on other sites

@Damnation

To prepare this USB stick under XP should work, according to this:

Updating under Windows XP/7/8

If you don’t have a Windows 10 system you can run the Install_agFM.exe utility (see eBook #4 for download)

After you have made the E2B drive using Make_E2B.exe (make a two-partition USB drive), you then run Install agFM.exe which performs the following actions:

1. Asks the user for the USB drive number – DO NOT ENTER THE WRONG DRIVE NUMBER!

2. Deletes the second partition on the chosen drive

3. Creates a new FAT32 second partition using the remaining space (Z:)

4. Re-orders the first and second partition so that partition 2 is now accessible as drive Z:

5. Downloads the currently released of agFM and extracts the files to the second partition

6. Re-orders the first and second partitions back to their original order

7. Re-assigns a drive letter to partition 1

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...