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

📄 mbiosequ.equ

📁 dos下的USB源码(包括UHCI
💻 EQU
📖 第 1 页 / 共 3 页
字号:
;Inclusion guard
ifndef	_mbiosequ_equ_
_mbiosequ_equ_	equ	1

.xlist

;****************************************************************************
;****************************************************************************
;**                                                             	   **
;**      	(C)Copyright 1985-2001, American Megatrends, Inc.          **
;**                                                             	   **
;**                    	     All Rights Reserved.          	           **
;**                                                                        **
;**                 6145-F Northbelt Pkwy, Norcross, GA 30071         	   **
;**                                                             	   **
;**                          Phone (770)-246-8600    	                   **
;**                                                             	   **
;****************************************************************************
;****************************************************************************
;****************************************************************************
; $Header: /BIOS/Coresrc/800/Core/Include/MBIOSEQU.EQU 11    9/11/02 11:17a Kevinm $
;
; $Revision: 11 $
;
; $Date: 9/11/02 11:17a $
;****************************************************************************
; Revision History
; ----------------
; $Log: /BIOS/Coresrc/800/Core/Include/MBIOSEQU.EQU $
; 
; 11    9/11/02 11:17a Kevinm
; Updated to support up to 4 IDE channels.
; 
; 10    5/24/02 1:40p Anandj
; Added 'DISPLAY_TOKEN_MESSAGE_UNBUFFERED' in the ouput API equates
;
; 9     5/01/02 10:37a Anandj
; Added a new error type PASSWORD_CHECK_ERROR_NON_CRITICAL the default
; behavior is set to warning.
;
; 8     4/09/02 5:07p Juand
; Added CID_CUSTOM_FOR_OEM as requested by INTEL.
;
; 7     12/14/01 10:55a Juand
; Defined bits three and four for the variable boot_block_flag.
;
; 6     12/04/01 9:42a Anandj
; Fixed the problem in the header of e820_info_struc
;
; 5     12/03/01 11:30a Anandj
; updated header for e820_info_struc
;
; 4     11/29/01 9:31a Anandj
; Additional memory type 'ram_os_1M'  to support memory above 4GB
; the upper bit means he granularity  is 1MB.
;  While reporting we have to convert memory in no of bytes and reset the
; upper bit for memory type.
;
; 3     10/02/01 7:06p Sudhakaro
; Removed the invalid VSS prefix ("*").
;
; 2     10/02/01 6:10p Sudhakaro
; Changed MIDs to CIDs to avoid confusion with ROM module IDs.
;
; 12    9/08/01 7:33a Sudhakaro
; Removed currently unused error code "UNKNOWN_BIOS_ERR".
;
; 11    8/28/01 8:28p Sudhakaro
; Added the equate CURSOR_COLUMN_FOR_IDE_INFO, being used in IDE
; information display.
;
; 10    8/22/01 6:09p Kevinm
; Added a module id for PARTIES logo.
;
; 9     8/17/01 7:39p Sudhakaro
; Kernel error codes are redefined to have lower byte of error codes
; directly mapped to SMBIOS error bits for errors defined in SMBIOS spec.
;
; 8     8/15/01 2:06p Sudhakaro
; Module IDs are allocated for all different components of BIOS. Error
; codes are modified to have Module ID in the upper byte.
;
; 7     8/13/01 3:44p Sudhakaro
; Added the equate CDS_0Eh_DATE_TIME_ERR_BIT for Bit-2 of CMOS Diagnostic
; Status Byte.
;
; 6     7/24/01 9:30a Anandj
; Macro eK_PROC is moved to mbiosmac.mac.
;
; 5     7/24/01 9:01a Anandj
; Macros IO_DELAY and IO_DELAY_BB are moved to mbiosmac.mac.
;
; 4     7/10/01 5:34p Chrism
; Deleted reference to num_proc_port
;
; 2     5/31/01 3:24p Anandj
; Changed the IO_DELAY macro and created IO_DELAY_BB for stackless use
;
; 1     5/25/01 1:38p Anandj
; First Check in on CORE database
;
; 5     5/10/01 4:51p Sudhakaro
; Updated to use the macro SET_ORG instead of  ORG directive, so that
; MAPGUARD can detect the code overlap problems.
;
; 4     5/01/01 3:04p Sudhakaro
; Updated for <INS> and <END> key functionality during POST by shared
; data segment (BBLK_DSEG) between BootBlock and POST modules.
;
; 2     3/28/01 12:42p Sudhakaro
; Updated for TBLv1.1 integration
;
; 9     3/01/01 5:01p Juand
; Added include ek.equ for Table Driven POST.  Removed multiple copyright
; blocks.
;
; 8     2/21/01 1:54p Juand
; Deleted temporary module id 30h that was being used for the BIGBIOS
; module.
; Created two new module_ids for SLAB and BCP data
;
; 7     2/20/01 9:22a Juand
; Deleted unused equates.
;
; 6     2/05/01 10:49a Juand
; Removed I2O equate.
;
; 5     1/11/01 5:29p Juand
; Removed int13 odule Header
;
; 4     12/14/00 6:04p Juand
; Removed RUNTIME Header structure definition.
;
; 3     11/21/00 1:50p Juand
; BigBIOS changes.
;
; 2     1/31/00 7:04p Juand
; Added Inclusion guard.
;
; 1     11/29/99 11:48a Debkumar
; Initial CheckIn for Core 7.00.
;
; 2     3/16/99 6:27p Robertj
; Added initial ADM code (beta version)
;
; 3     1/05/98 11:42a Debkumar
; New module IDs added. ARMD emulation type added.
;
; 1     9/16/97 11:22a Debkumar
; Files changed from 063000 to 063001
;
; 3     5/23/97 7:41a Debkumar
; Equates added for ACPI Table Module ID (0Fh) and ACPI AML Module ID
; (10h)
;
; 2     3/12/97 3:51p Debkumar
; Module ID for OEM Logo Module added.
;
; 1     1/31/97 11:30a Debkumar
; New files for 62700.
;
; 2     1/09/97 3:42p Debkumar
; Equates added for Password used, FDD/HDD access control bits used in
; 40:EA.
;
; 1     1/02/97 10:50a Debkumar
; Started with 6.26.02 files.
;
; 9     12/30/96 2:03p Debkumar
; ROMID and INT13 module IDs added.
;
; 1     11/04/96 6:06p Debkumar
;
; 8     11/01/96 11:40a Debkumar
; ROMID Module ID equate (0Ch) added.
;
; 2     8/28/96 9:14a Mandal
; Synchronized with bestlink current changes for 6.26 release with USB
; support, INT10.BIN module, HDISK/CDROM changes.
;
; 6     4/03/96 6:33p Mandal
; MPS module ID added.
;
; 3     2/19/96 6:47p Mandal
; BBLK_RUNTIME_INTERFACE_MODULE_ID equate added.
;
; 2     1/12/96 5:06p Dickh
; Added SourceSafe keywords to track revision history.
;****************************************************************************
;****************************************************************************


;---------------------------------------;
;	COMPRESSED BIOS EQUATES		;
;---------------------------------------;
setup_binary_module_id	equ	04h	; SETUP Binary identifier
bblk_runtime_interface_module_id equ 08h; Module containing uncompress routine
notebook_module_id	equ	0Ah	; NoteBook BIOS Module identifier
romid_module_id		equ	0Ch	; ROMID Module identifier
oem_logo_module_id	equ	0Eh	; OEM Logo Module identifier
acpi_table_module_id	equ	0Fh	; ACPI Table Module identifier
acpi_aml_module_id	equ	10h	; ACPI AML Code Module identifier
micro_code_module_id	equ	11h	; P6 Micro Code Module identifier
  micro_code_patch_length 	equ 08h	; #of bytes added to Micro code..this
					; helps us update BIOS checksum when
					; micro code gets updated in runtime
					; IF THIS EUQATE GETS CHANGED, NECESSARY
					; CHANGES NEEDS TO BE DONE IN CORE.MAK FILE
memory_size_module_id	equ	15h	; Memory Sizing Module identifier
bios_debug_module_id	equ	17h	; BIOS Debug Module identifier
adm_module_id		equ	18h	; Display Manager Module identifier
adm_font_module_id	equ	19h	; Font Module identifier
small_logo_module_id	equ	1ah	; Small Logo(s) Module identifer
slab_module_id		equ	1bh	; Single Link Arch BIOS Module identifier
bcp_info_module_id	equ	1ch	; BCP data area module identifier
					; 1D-1F..Reserved for future use
					; 20-2F..For User defined module
pci_option_rom_id	equ	20h	; PCI Option ROM identifier
multi_language_module_id equ	21h	; Multi Language identifier
					; 30-3F..Reserved for future use
serial_redir_module_id  equ     2fh
parties_logo_module_id	equ     30h


;-----------------------------------------------------------------------;
;			BOOT DRIVE EQUATES				;
;-----------------------------------------------------------------------;
hdd0_boot_drive		equ	01h
hdd1_boot_drive		equ	hdd0_boot_drive+1
hdd2_boot_drive		equ	hdd1_boot_drive+1
hdd3_boot_drive		equ	hdd2_boot_drive+1
hdd4_boot_drive		equ	hdd3_boot_drive+1
hdd5_boot_drive		equ	hdd4_boot_drive+1
hdd6_boot_drive		equ	hdd5_boot_drive+1
hdd7_boot_drive		equ	hdd6_boot_drive+1
fdd0_boot_drive		equ	hdd7_boot_drive+1
fdd1_boot_drive		equ	fdd0_boot_drive+1
afd_boot_drive		equ	fdd1_boot_drive+1
afd_hdd_boot_drive	equ	afd_boot_drive+1
cd_boot_drive		equ	afd_hdd_boot_drive+1
scsi_boot_drive		equ	cd_boot_drive+1
network_boot_drive	equ	scsi_boot_drive+1


;---------------------------------------;
;	MISCELLANEOUS EQUATES		;
;---------------------------------------;
level_1_int		equ	70h	; master int controller base
level_2_int		equ	08	; slave  int controller base
beep_one_on_time	equ	0e0h	; speaker on time
beep_one_off_time	equ	0d0h	; speaker off time
beep_one_envelope_time	equ	080h	; envelope time for single beep
beep_error_off_time	equ	6	; silence period for error beep


;---------------------------------------;
;	8254 TIMER EQUATES		;
;---------------------------------------;
timer_control_port	equ	43h	; 8254 control register
timer_2_port		equ	42h	; 8254 ch_2 select
timer_1_port		equ	41h	; 8254 ch_1 select
timer_0_port		equ	40h	; 8254 ch_0 select
timer_delta_wait_time	equ	10h	; time for delta count test
timer_delta_count_diff	equ	10	; tollerable delta count diff
timer_delta_1_data	equ	0ffh	; data for delta count 1 test
timer_delta_2_data	equ	0eeh	; data for delta count 2 test
refresh_delta_count_diff	equ	10 ; refresh duty tolerance.


;---------------------------------------;
;	8042 KB CONTROLLER EQUATES	;
;---------------------------------------;
kb_stat_port		equ	64h	; keyboard status port
sound_port		equ	61h	; parity,refresh,sound,timer ..
refresh_port		equ	61h
kb_data_port		equ	60h	; keyboard data port
kb_buffer_wait_time	equ	12	; kb buffer full loop count


;---------------------------------------;
;	CMOS EQUATES			;
;---------------------------------------;
cmos_addr_port		equ	70h	; address selection port
cmos_data_port		equ	71h	; data r/w port
shutdown_code_1		equ	01	; shutdown after memory error
shutdown_code_2		equ	02	; v_mode exception shut code
shutdown_code_3		equ	03	; shutdown after memory test
shutdown_code_6		equ	06	; to display memory size


;---------------------------------------;
;	VIRTUAL MODE EQUATES		;
;---------------------------------------;
v_mode_msw		equ	0001h	; virtual mode machine status
v_mode_idt_size		equ	0100h	; virtual mode IDT segment size
v_mode_dum_size		equ	0000h	; virtual mode dummy seg size
v_mode_dum_offs		equ	0000h	; virtual mode dummy offset
v_mode_ds_size		equ	0fc00h	; virtual mode (DS) seg size
v_mode_ds_offs		equ	0400h	; virtual mode (DS) offset
v_mode_es_size		equ	0ffffh	; virtual mode (ES) seg size
v_mode_es_offs		equ	0000h	; virtual mode (ES) offset
v_mode_ss_size		equ	0100h	; virtual mode (SS) seg size
v_mode_ss_offs		equ	0300h	; virtual mode (SS) offset
v_mode_cs_size		equ	0ffffh	; virtual mode (CS) seg size
v_mode_cs_offs		equ	0000h	; virtual mode (CS) offset
v_mode_es_entry		equ	40h	; virtual mode (ES) entry  ,,


;---------------------------------------;
;	8237 DMA CONTROLLER EQUTES	;
;---------------------------------------;
dma_1_byte_ptr_ff_reset	equ	0ch	; DMA unit 1 byte ptr f/f clear
dma_unit_1_command_port	equ	08h	; DMA unit 1 command port
dma_unit_1_base		equ	00h	; DMA unit 1 base
dma_unit_1_mask_clear	equ	0eh	; DMA unit 1 mask clear
dma_unit_1_mode		equ	0bh	; DMA unit 1 mode
dma_unit_1_master_clear	equ	0dh	; DMA unit 1 reset port
dma_2_byte_ptr_ff_reset	equ	0d8h	; DMA unit 2 byte ptr f/f clear
dma_unit_2_master_clear	equ	0dah	; DMA unit 2 reset port
dma_unit_2_command_port	equ	0d0h	; DMA unit 2 command port
dma_unit_2_base		equ	0c0h	; DMA unit 2 base
dma_unit_2_mask_clear	equ	0dch	; DMA unit 2 mask clear
dma_unit_2_mode		equ	0d6h	; DMA unit 2 mode
dma_unit_2_writ_req_reg	equ	0d2h	; DMA unit 2 write request
dma_unit_2_mask_s_r_reg	equ	0d4h	; DMA unit 2 mask set reset
dma_page_base		equ	80h	; DMA page register base
dma_page_ch_1		equ	87h	; DMA page channel 1
dma_page_ch_2		equ	83h	; DMA page channel 2
dma_page_registers	equ	16	; DMA page registers count
dma_channel_registers	equ	8	; DMA channel registers count


;---------------------------------------;
;	8259 INTERRUPT CNTLR EQUATES	;
;---------------------------------------;
i_m_m_port		equ	21h	; interrupt master mask port
i_s_m_port		equ	0a1h	; interrupt slave mask port
i_c_m_port		equ	20h	; interrupt cntlr master port
i_c_s_port		equ	0a0h	; interrupt cntlr slave port



;---------------------------------------;
;	E-820 information structure	;
;---------------------------------------;

⌨️ 快捷键说明

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