FreeBSD/sys/contrib/dev/acpica/components/hardware/hwxfsleep.c
/*******************************************************************************
 *
 * FUNCTION:    AcpiSetFirmwareWakingVector
 *
 * PARAMETERS:  PhysicalAddress     - 32-bit physical address of ACPI real mode
 *                                    entry point
 *              PhysicalAddress64   - 64-bit physical address of ACPI protected
 *                                    mode entry point
 *
 * RETURN:      Status
 *
 * DESCRIPTION: Sets the FirmwareWakingVector fields of the FACS
 *
 ******************************************************************************/
AcpiSetFirmwareWakingVector
PARAMETERS:  PhysicalAddress     - 32-bit physical address of ACPI real mode
entry point
PhysicalAddress64   - 64-bit physical address of ACPI protected
mode entry point

Status

Sets the FirmwareWakingVector fields of the FACS
AcpiSetFirmwareWakingVector PARAMETERS : PhysicalAddress - 32 - bit physical address of ACPI real mode entry point PhysicalAddress64 - 64 - bit physical address of ACPI protected mode entry point Status Sets the FirmwareWakingVector fields of the FACS
ACPI_STATUS
AcpiSetFirmwareWakingVector (
    ACPI_PHYSICAL_ADDRESS   PhysicalAddress,
    ACPI_PHYSICAL_ADDRESS   PhysicalAddress64)
{
    ACPI_FUNCTION_TRACE (AcpiSetFirmwareWakingVector);
    if (AcpiGbl_FACS)
    {
        (void) AcpiHwSetFirmwareWakingVector (AcpiGbl_FACS,
            PhysicalAddress, PhysicalAddress64);
    }
    return_ACPI_STATUS (AE_OK);
}
ACPI_STATUS AcpiSetFirmwareWakingVector ( ACPI_PHYSICAL_ADDRESS PhysicalAddress , ACPI_PHYSICAL_ADDRESS PhysicalAddress64 ) { ACPI_FUNCTION_TRACE ( AcpiSetFirmwareWakingVector ) ; if ( AcpiGbl_FACS ) { ( void ) AcpiHwSetFirmwareWakingVector ( AcpiGbl_FACS , PhysicalAddress , PhysicalAddress64 ) ; } return_ACPI_STATUS ( AE_OK ) ; }
FUNCTION:    AcpiSetFirmwareWakingVector
 PARAMETERS:  PhysicalAddress     - 32-bit physical address of ACPI real mode
                                    entry point
              PhysicalAddress64   - 64-bit physical address of ACPI protected
                                    mode entry point
FUNCTION : AcpiSetFirmwareWakingVector PARAMETERS : PhysicalAddress - 32 - bit physical address of ACPI real mode entry point PhysicalAddress64 - 64 - bit physical address of ACPI protected mode entry point