⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 oemtacpi.equ

📁 dos下的USB源码(包括UHCI
💻 EQU
字号:
;Inclusion guard
ifndef _acpi_oem_equ_
_acpi_oem_equ_  equ     1
;*****************************************************************;
;*****************************************************************;
;*****************************************************************;
;**                                                             **;
;**      (C)Copyright 1985-2001, American Megatrends, Inc.      **;
;**                                                             **;
;**                     All Rights Reserved.                    **;
;**                                                             **;
;**           6145-F Northbelt Pkwy, Norcross, GA 30071         **;
;**                                                             **;
;**                     Phone (770)-246-8600                    **;
;**                                                             **;
;*****************************************************************;
;*****************************************************************;
;*****************************************************************;
; $Header: /BIOS/Projects/800/AMD/Rhapsody/BSP/eM/ACPI/OEMTACPI.EQU 1     1/02/03 6:54p Krishnab $Revision: 
;
; $Date: 1/02/03 6:54p $Log: 
;
;*****************************************************************;
; OEM/Platform specific ACPI Equates -- required for porting      ;
; Very important ... these MUST BE SETUP PROPERLY for OS to load  ;
;*****************************************************************;

;*****************************************************************;
; Common for all ACPI tables header values
;*****************************************************************;
;;;OEM_ID                  equ     'A M I '        ; Exactly 6 characters;;  xiao
TBL_OEM_REV             equ     BUILD_DATA      ; DWORD, default is
                                                ; DATE : YYYYMODA
TBL_CREATOR_REV         equ     97h             ; DWORD
;*****************************************************************;
; OEM assigned OEM_IDs for each ACPI table
;*****************************************************************;
TBL_OEM_ID_RSDT         equ     'OEMRSDT '      ; Exactly 8 characters
TBL_OEM_ID_FACP         equ     'OEMFACP '      ; Exactly 8 characters
TBL_OEM_ID_APIC         equ     'OEMAPIC '      ; Exactly 8 characters
TBL_OEM_ID_SBST         equ     'OEMSBST '      ; Exactly 8 characters
TBL_OEM_ID_BOOT         equ     'OEMBOOT '      ; Exactly 8 characters
TBL_OEM_ID_XSDT         equ     'OEMXSDT '      ; Exactly 8 characters
TBL_OEM_ID_DBGP         equ     'OEMDBGP '      ; Exactly 8 characters
TBL_OEM_ID_SPCR         equ     'OEMSPCR '      ; Exactly 8 characters
TBL_OEM_ID_OEMB         equ     'OEMBIOS '      ; Exactly 8 characters
TBL_OEM_ID_ETDT         equ     'OEMETDT '      ; Exactly 8 characters
TBL_OEM_ID_HPET         equ     'OEMHPET '      ; Exactly 8 characters

;-----------------------------------------------------------------------;
; Set/Reset the equates according to the hardware capabilities.		;
; Each equate has the detail description along with it.			;
;-----------------------------------------------------------------------;
equ_acpi_enable		equ	000E1h	; Data to be written to generate Software SMI to enable ACPI
equ_acpi_disable	equ	0001Eh	; Data to be written to generate Software SMI to disable ACPI
equ_pstate_cnt		equ	000E2h  ; SW SMI value to assume processor control responsibility
equ_cst_cnt		equ	000E3h	; SW SMI value to indicate OS supports for _CST object and C States Changed Notification
equ_s4bios_req		equ	0001Fh	; Data to be written to generate Software SMI to request S4BIOS

equ_flush_size		equ	1024d	; Define cache flush size (KB)
					; (should be twice the max cache size)
equ_flush_stride	equ	16d	; Define min. cache line size (bytes)
					; (16d is min. size for Pentium)
equ_lvl2_latency	equ	101d	; Latency associated with p_lvl2_lat_val
equ_lvl3_latency	equ	1001d	; Latency associated with p_lvl3_lat_val
;Note: No C2 & C3 states available if correspondent values exceed 100mcs and 1000mcs

equ_PM_profile  	equ     3       ; Prefered PM profile:
	                                ; 0- Unspecified
        	                        ; 1- Desktop
                	                ; 2- Mobile
                        	        ; 3- Workstation
	                                ; 4- Enterprise server
	                                ; 5- SOHO server
	                                ; 6- Appliance PC
	                                ; >6- reserved
;;;;;;;;;;FACP FLAGS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
WBINVD_FLAG		equ	1	; WBINVD instruction correctly flushes the processor
					; caches, maintains memory coherency, and upon completion
					; of the instruction, all caches for the current processor
					; contain no cached data other than what the OS references
					; and allows to be cached. If this flag is not set, the
					; ACPI OS is responsible for disabling all ACPI features
					; that need this function. (bit 0 of 32)
WBINVD_FLUSH		equ	0	; If set, indicates that the hardware flushes all caches
					; on the WBINVD instruction and maintains memory coherency,
					; but does not guarantee the caches are invalidated. If
					; neither of the WBINVD flags are set, the system will
					; require FLUSH_SIZE and FLUSH_STRIDE to support sleeping
					; states. If the FLUSH parameters are also not supported,
					; the machine cannot support sleeping states S1, S2, or S3.
					; (bit 1 of 32)
PROC_C1			equ	1	; A one indicates that the C1 power state is supported on
					; all processors. (bit 2 of 32)
P_LVL2_UP		equ	0	; A zero indicates that the C2 power state is configured to
					; only work on a UP system. A one indicates that the C2
					; power state is configured to work on a UP or MP system.
					; (bit 3 of 32)
PWR_BUTTON		equ	0	; A zero indicates the power button is handled as a fixed
					; feature programming model. (bit 4 of 32)
SLP_BUTTON		equ	1	; A zero indicates the sleep button is handled as a fixed
					; feature programming model. (bit 5 of 32)
FIX_RTC			equ	0	; A zero indicates the RTC wake-up status is supported in
					; fixed register space. (bit 6 of 32)
RTC_S4			equ	1	; Indicates whether the RTC alarm function can wake the
					; system from the S4 state. The RTC must be able to wake
					; the system from S1, S2, or S3. (bit 7 of 32)
TMR_VAL_EXT		equ	0	; A zero indicates TMR_VAL is implemented as a 24-bit value.
					; A one indicates TMR_VAL is implemented as a 32-bit value.
					; (bit 8 of 32)
DCK_CAP			equ	0	; A zero indicates the platform does not support docking.
					; A one indicates the platform can support docking.
					; NOTE: This bit does not indicate the presence of a
					; docking station (bit 9 of 32 - defined in Errata 11/7/97)
; Bits 10-32 reserved in ACPI v1.0
; ACPI 2.0 extensions to FACP flags
RESET_REG_SUP		equ	0	; If set, indicates the System Reset supported via FADT RESET_REG
SEALED_CASE		equ	0	; System Type attribute. If set, indicates the system has no
					; internal expansion capabilities and the case is sealed
HEADLESS		equ	0	; System Type attribute. If set, indicates the system
					; does not have local Video capabilities or local input devices
CPU_SW_SLP		equ	0	; If set, indicates to OS that a processor native instruction
					; must be executed after the SLP_TYPx register
; Bits 14-32 are reserved in ACPI v2.0
; ACPI 2.0 IAPC_BOOT_ARCHitecture flags (2-15 are reserved)
LEGACY_DEV		equ	1	; If set, indicates the platform supports user visible ISA-LPC devices.
KB_8042			equ	1	; If set, indicates the platform contains support for a port 60 and 64
					; based keyboard controller
; Bits 2-15 are reserved in ACPI v2.0
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; GENERIC ADDRESS STRUCTURE FIELDS:
; Field     !byte   length ! offset ! Description
;------------------------------------------------
;Address_Space_ID     1       0   Describes which address space the given register can be found.
;                                  Defined values are:
;                                 0 - System Memory
;                                 1 - System I/O
;                                 2 - PCI Configuration Space
;                                 3-255 - Reserved
;Register_Bit_Width   1       1   The size in bits of the given register.
;Register_Bit_Offset  1       2   The bit offset of the given register at the given address.
;Reserved             1       3   Must be 0.
;Address              8       4   The address of the register in the given address space
;                                 (relative to the processor).
;                                  0 - System Memory       The 64-bit physical memory address of the register.
;                                                          32-bit platforms must have the high DWORD set to 0.
;                                   1 - System I/O         The 64-bit I/O address of the register.
;                                                          32-bit platforms must have the high DWORD set to 0.
;                                   2 - PCI Configuration Space    PCI Configuration space addresses
;                                                                  must be confined to devices on PCI bus 0.
;                                                                  The format of addresses is as follows:
;                                                                  WORD location   Description
;                                                                 Highest WORD    Reserved. Must be 0.
;                                                                  

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -