www.pudn.com > hpbios.rar > ACPI.INC


;	[]==========================================================[] 
; 
;	    This source code is classified as confidential and  
;	    contains trade secrets owned by Award Software, Inc. 
; 
;	    		Copyright 1984, 1997 
;			Award Software, Inc. 
;			All rights reserved. 
; 
; 	[]==========================================================[] 
 
;---------------------------------------------------------------------------- 
;Rev	Date	 Name	Description 
;---------------------------------------------------------------------------- 
;R06A   10/26/99 DNL	Added Legacy Free tables entries 
;R06    10/18/99 RTW    Added Legacy Free tables entries 
;R05    07/26/99 DNL	Added APIC plamform MP support for Windows 2000 
;R04    02/19/98 DNL	Add simple boot spec. v0.99b support 
;---------------------------------------------------------------------------- 
 
;Core EQUs for ACPI.ASM 
; 
ACPISearchStart	EQU	40000h		;Where the ACPI tables CBROMed at. 
					;If don't know, use 30000h so we search 
					;from lowest range.  If you know where 
					;ACPI tables are combined at, enter it here 
					;to shorten the search time.	 
ACPISearchEnd	EQU	0a0000h	    	;Search limit. This value shouldn't be changed. 
ACPISeg		EQU	0f0000h		;"F000" base segment address of RSD PTR 
 
;ACPI spec.v1.0 EQUs used by ACPI.ASM (change to spec.) 
; 
FACSOffset	EQU	36		;Offset of FACS entry in FACP table 
DSDTOffset	EQU	40		;Offset of DSDT entry in FACP table 
FACPOffset	EQU	36		;Offset of FACP entry in RSDT table 
Now_Point	=	FACPOffset	; 
ifdef	SIMPLE_BOOT_SUPPORT		; 
Now_Point	=	Now_Point + 4	; 
BOOTOffset	=	Now_Point	; 
endif	;SIMPLE_BOOT_SUPPORT		; 
ifdef	MP_SUPPORT			;R05 
Now_Point	=	Now_Point + 4	;R05 
APICOffset	=	Now_Point	;R05 
endif	;MP_SUPPORT			;R05 
 
ifdef	Debug_port_table		;R06 
Now_Point	=	Now_Point + 4	;R06 
DBGPOffset	=	Now_Point	;R06 
endif	;Debug_port_table		;R06 
 
ChksumOffset	EQU	9		;Offset of checksum byte in ACPI tables 
RSDPTRChksumOffset	EQU	8	;Offset of RSD_PTR checksum byte	 
LengthOffset	EQU	4		;Offset of ACPI table length 
SCI_EN		EQU	1		;SCI_EN is bit 0 on PM1a_CNT_BLK register 
SLP_TYPE_MASK	EQU	1ch		;Mask for SLP_TYP bits in PM1a_CNT_BLK 
WakingVector	EQU	12		;Offset of firmware waking vector in FACS table	 
;FACP Flag 
; 
WBINVDFlag	EQU	1 
WBINVD_FLUSH	EQU	2 
PROC_C1		EQU	4 
P_LVL2_UP	EQU	8 
PWR_BUTTON	EQU	10h 
SLP_BUTTON	EQU	20h		 
FIX_RTC		EQU	40h		 
RTC_S4		EQU	80h		 
TMR_VAL_EXT	EQU	100h		 
 
RESET_REG_SUP	EQU	400h		;R06 
;R06A - start 
BOOT_ARCH	=	0000h                                   ;Legacy devices(bit0)  
                                                                ;and port60/64 based keyboard  
                                                                ;controller (bit1) Desktop set as "1" 
ifndef	LEGACY_FREE_SUPPORT 
BOOT_ARCH	=	BOOT_ARCH + 01h		;support LPC or ISA devices 
endif	;LEGACY_FREE_SUPPORT 
ifndef	NO_KBC 
BOOT_ARCH	=	BOOT_ARCH + 02h		;support 8042 KBC 
endif	;NO_KBC 
;R06A - end