Page 3 of 3
Re: ACPI poweroff
Posted: Mon Aug 20, 2012 12:10 pm
by palk
Neoncore wrote:Hello , I've tried to use this code but it causes a Page Fault (Present Memory) , my Kernel is in the Higher Half..any idea what could be causing this?
More than likely what is causing the page fault is this code piece:
// search below the 1mb mark for RSDP signature
for (addr = (unsigned int *) 0x000E0000; (int) addr<0x00100000; addr += 0x10/sizeof(addr))
{
rsdp = acpiCheckRSDPtr(addr);
if (rsdp != NULL)
return rsdp;
}
You will have to create a mapping to that range of physical memory in order to access it. And then, you will have to map each individual table (because they can be anywhere in the address space).
Re: ACPI poweroff
Posted: Thu Aug 30, 2012 11:48 am
by Neoncore
the main problem doesn't appear to be this , but somehow , the address it gets isn't a right one , I'm using JamesM tutorial alongside higher half linking everything else works it's just when I try to enable the ACPI.
Re: ACPI poweroff
Posted: Mon Jul 15, 2013 6:52 am
by gonzalezmurilo
hey i need some help,
i would like to implement something like this, in my case i must turn off lcd/monitor using an acpi method, i need to execute it on ms-dos, please someone can help me?
thanks!!
Re: ACPI poweroff
Posted: Mon Jul 15, 2013 7:02 am
by jal
gonzalezmurilo wrote:hey i need some help,
i would like to implement something like this, in my case i must turn off lcd/monitor using an acpi method, i need to execute it on ms-dos, please someone can help me
You'd better start a new topic and not necromancing old ones!
JAL