Hi,
I'm working on ACPI support in my OS right now and I've got a simple question.
I'm using the technique described here (http://forum.osdev.org/viewtopic.php?t=16990) to find the RSDTPtr, but the address I found is exactly what I have in the memory map given by e820 from BIOS.
Wouldn't it be enough in practice to use the e820 memory map to find ACPI ? Or are there some limitations in practice ?
Thanks
[SOLVED] Is using bios-e820 enough to locate ACPI ?
- wichtounet
- Member
- Posts: 90
- Joined: Fri Nov 01, 2013 4:05 pm
- Location: Fribourg, Switzerland
- Contact:
[SOLVED] Is using bios-e820 enough to locate ACPI ?
Last edited by wichtounet on Sat Dec 07, 2013 1:24 pm, edited 1 time in total.
Thor Operating System: C++ 64 bits OS: https://github.com/wichtounet/thor-os
Good osdeving!
Good osdeving!
Re: Is using bios-e820 enough to locate ACPI ?
In short no, it isn't. If it works on your particular machine/emulator then that is by pure luck only and you cannot guarantee it to work on others. Also, I'd strongly advise against using the shutdown code provided in that post you reference as it is seriously dependent on a particular layout of the particular AML code for the shutdown object.
Regards,
John.
Regards,
John.
- wichtounet
- Member
- Posts: 90
- Joined: Fri Nov 01, 2013 4:05 pm
- Location: Fribourg, Switzerland
- Contact:
Re: Is using bios-e820 enough to locate ACPI ?
Thanks for the answer.
Thanks
Ok, so I won't do thatjnc100 wrote:In short no, it isn't. If it works on your particular machine/emulator then that is by pure luck only and you cannot guarantee it to work on others.
Yes, I saw that from the comments. As it seems to work on emulators well enough, I will still use it until my kernel is ready for ACPICA. But it is only temporaryjnc100 wrote:Also, I'd strongly advise against using the shutdown code provided in that post you reference as it is seriously dependent on a particular layout of the particular AML code for the shutdown object.
Thanks
Thor Operating System: C++ 64 bits OS: https://github.com/wichtounet/thor-os
Good osdeving!
Good osdeving!