ACPICA: Difference between revisions

m
→‎AcpiOsExecute: Clarify for x86-64
[unchecked revision][unchecked revision]
m (→‎AcpiOsGetRootPointer: Join unnecessarily splitted lines)
m (→‎AcpiOsExecute: Clarify for x86-64)
Line 78:
==== AcpiOsExecute ====
ACPI_STATUS AcpiOsExecute(ACPI_EXECUTE_TYPE Type, ACPI_OSD_EXEC_CALLBACK Function, void *Context)
Create a new Threadthread (or process) with entry point at ''Function'' using parameter ''Context''. ''Type'' is not really useful. When the scheduler chooses this thread it has to putpass in ''Context'' onto the first argument (RDI for x86-64, stack for x86-32 (using System V ABI) to have something like:
Function(Context);
 
==== AcpiOsSleep ====
void AcpiOsSleep(UINT64 Milliseconds)
73

edits