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

📄 oem.mak

📁 <BIOS研发技术剖析>书的源代码,包括完整的BIOS汇编语言源程序.
💻 MAK
📖 第 1 页 / 共 2 页
字号:
#     *****************************************************************;
#     *****************************************************************;
#     **                                                             **;
#     **      (C)Copyright 1985-1996, American Megatrends, Inc.      **;
#     **                                                             **;
#     **                     All Rights Reserved.                    **;
#     **                                                             **;
#     **           6145-F Northbelt Pkwy, Norcross, GA 30071         **;
#     **                                                             **;
#     **                     Phone (770)-246-8600                    **;
#     **                                                             **;
#     *****************************************************************;
#     *****************************************************************;
#**********************************************************************;
# $Header: /BIOS/OEM/GENERIC/INTEL/440LX/oem.mak 2     3/26/97 7:18p Juand $
#
# $Revision: 2 $
#
# $Date: 3/26/97 7:18p $
#**********************************************************************;
#**********************************************************************;
# Revision History
# ----------------
# $Log: /BIOS/OEM/GENERIC/INTEL/440LX/oem.mak $
# 
# 2     3/26/97 7:18p Juand
# Updated Tag
#
# 1     3/26/97 6:02p Juand
#
# 14    3/20/97 12:48p Radhikav
# Added nat312,nat322,smc922 and umc8663 index and data ports to the
# table.
#
# 13    3/19/97 2:19p Davidd
# Added SMC957 module
#
# 12    3/18/97 12:40p Debkumar
# Problem in putting Multilanguage Module into ROM is solved. The reason
# was the switch  ML_MODULE_DESTADDR was misspelled wrongly as
# ML_MDOULE_DESTADDR.
#
# 11    3/12/97 3:59p Debkumar
# Silent Boot support added.
#
# 10    3/07/97 10:54a Davidd
# Added Umc8663B module
#
# 9     3/06/97 4:46p Radhikav
# added nat303 module.
#
# 8     3/05/97 2:45p Davidd
# Added more I/O modules
#
# 7     2/28/97 4:08p Davidd
# Added ALI5123 module
#
# 6     2/27/97 5:45p Davidd
# Added ALI5119 module
#
# 5     2/27/97 10:59a Davidd
# Added ALI5113 module
#
# 4     2/26/97 3:34p Davidd
#
# 3     2/26/97 2:21p Davidd
# Added modules
#
# 2     1/31/97 3:14p Debkumar
# More IO module added.
#
# 1     1/31/97 1:16p Debkumar
# New files for 62700.
#
# 1     1/13/97 2:22p Debkumar
# New file for 6.27.00.
#
#**********************************************************************;
#-----------------------------------------------------------------------#
!INCLUDE io.mak
!INCLUDE ..\..\bios.mak
#-----------------------------------------------------------------------#
REF_NUMBER      = 009999        # 4 decimal digits for customer         #    
#-----------------------------------------------------------------------#
# Source code, ROMID, BIOS-TAG control parameters.                      #
# BIOSTAG (ROMID) will be $(PROJECT_PATH)$(PROJECT_BUILD)               #
#-----------------------------------------------------------------------#
PROJECT_PATH    = 1SIS5         # 1st digit =   Location                #
                                #               0 = Atlanta, 1 = Taiwan #
                                # Last 4 digit is Project Number assigned
                                # by supervisor.                        #
PROJECT_BUILD   = 300           # Build Number and should be incremented#
                                # with any new release.                 #
                                # Maximum 3 digits.                     #
#-----------------------------------------------------------------------#
BIOSFILE        = $(PROJECT_PATH)$(PROJECT_BUILD)  # Do not remove this line
ALL: PREBUILD $(BIOSFILE).ROM CLEANUP              # Do not remove this line
#-----------------------------------------------------------------------#
#                       MULTIPROCESSOR  SUPPORT                         #
#-----------------------------------------------------------------------#
NCPU            = 1             # DO NOT SET THIS TO 0                  #
                                # 1 -> Single Processor BIOS            #
                                # 2 -> Dual Processor BIOS              #
                                # n -> Multi Processor BIOS             #
BUP6            = 0             # 1 = Include P6 support                #
                                # This needs Flash support using 4GB    #
                                # method (FLASH_4GB must be set to 1).  #
# MP TABLE SUPPORT - The MP Table should only be built if there is an   #
# I/O APIC on the motherboard.                                          #
MPS_SUPPORT     = 0             # 0 = IO APIC not present in motherboard#
                                #     (MP table need not to be built)   #
                                # 1 = IO APIC present in motherboard    #
                                #     (MP table need to be built)       #
# If there is an I/O APIC on the motherboard, then the MP Table may be  #
# modified to include entries for PCI interrupts in INTIN#'s above the  #
# standard IRQ0 - IRQ15.  The routing of PCI interrupts is somewhat     #
# hardware specific so see the MPPOST.ASM file for more detail.         #
# EXTENDED_APIC switch is valid only if MPS_SUPPORT switch is set to 1. #

EXTENDED_APIC   = 0             # 0 = hardware not using INTIN# lines of#
                                #     IO APIC above 15 for PCI slots.   #
                                # 1 = hardware using INTIN#15-INTIN#22  #
                                #     as PCI slot interrupt routing and #
                                #     INTIN#23 as SMI.                  #
OEM_ID          = SiS           # OEM_ID     Upto 8  characters         #
                                # Example: INTEL                        #
PRODUCT_ID      = SiS530        # PRODUCT_ID Upto 12 characters         #
                                # Example: 440FX                        #
#-----------------------------------------------------------------------#
# Add the OEM specific make file switches here.                         #
# The OBJ groups definition as defined in DEF.MAK file, can be redefined#
# here based on the new OEM specific make file switches.                #
# For example                                                           #
# INTEL_256K      = 0           # Set to use 002 or 200 BX T part       #
# SMB_MEM_DETECT  = 0           # For SMBus Memory Detection            #
#-----------------------------------------------------------------------#
BIOS_SIZE               = 2             # 0=64K, 1=128K, 2=256K, 3=512K, ...... #
SOFT_OFF                = 1             # Set if ATX Power Support
ACPI_SUPPORT            = 1             # Set if ACPI Support
ONCHIP_LM78             = 1
LM78_BASE_ADDRESS       = 295h
LM75_SUPPORT            = 1
LM75_SLAVE_ADDRESS      = 9eh
SILENT_BOOT             = 0             # 1 = Silent Boot Support               #

GPNV_SUPPORT            = 1             # 1 = GPNV support                      #
GPNV_FLASH              = 1             # 0 = GPNV in IO Mapped NVRAM           #
EVENT_LOG               = 0
USB_SUPPORT             = 1             # 1 -> USB Support present              #
 
#SUI_FILE                = hf130.bin
#SUI_FILE                = easy132.BIN
#SUI_FILE                = HF122.BIN

SUI_FILE                = SP130.BIN
#SUI_FILE               = ESEVENT.BIN

#SIGN_ON_MSG1    = 'SIS-530 BIOS Version 1.0 ',0    # sign on message


#-----------------------------------------------------------------------#
INTEL           = 0                                                     #
SST             = 1                                                     #
ATMEL           = 1                                                     #
WINBOND         = 1                                                     #
AMD             = 1                                                     #
#-----------------------------------------------------------------------#
# SMBus Base Address to be programmed in the PIIX4 Function 3, Reg 90..91
# This Base Address will be programed in Boot Block code
# !!!! DO NOT CHANGE THESE VALUES !!!!
#-----------------------------------------------------------------------#
SMB_BASE_HIGH   = 004h
SMB_BASE_LOW    = 040h
#-----------------------------------------------------------------------#
# PM (ACPI) Base Address to be programmed in the PIIX4 Function 3, Reg 40..41
# This Base Address will be programed in Boot Block code
# !!!! DO NOT CHANGE THESE VALUES !!!!
#-----------------------------------------------------------------------#
PM_BASE_HIGH    = 004h
PM_BASE_LOW     = 000h
#-----------------------------------------------------------------------#
# Include the OBJ.MAK file defining the OBJ Groups based on make file   #
# switches defined in BIOS.MAK and in this file above.                  #
# ================== NOTE ==== NOTE ==== NOTE ========================= #
# NOTE : All the OEM specific Make file switches MUST BE DEFINED above. #
#-----------------------------------------------------------------------#
!INCLUDE ..\..\obj.mak
#-----------------------------------------------------------------------#
$(BUILD_DIR)\oemmake.equ: $(MKF)
        copy << $(BUILD_DIR)\oemmake.equ
; Generate new makefile equates using OEM specific switches

MKF_CUSTNO      equ     $(REF_NUMBER)

!if $(SOFT_OFF)
MKF_SOFT_OFF    equ  -1
!else
MKF_SOFT_OFF    equ  00
!endif

!if $(LM75_SUPPORT)
MKF_LM75_SUPPORT        equ  -1
!else
MKF_LM75_SUPPORT        equ  0
!endif

!if $(ONCHIP_LM78)
MKF_ONCHIP_LM78 equ  -1
MKF_LM78_BASE_ADDRESS   equ     $(LM78_BASE_ADDRESS)
!else
MKF_ONCHIP_LM78 equ  0
!endif

MKF_LM75_SLAVE_ADDRESS = $(LM75_SLAVE_ADDRESS)

; System Management BUS Equates
MKF_SMB_BASE_LOW        equ     $(SMB_BASE_LOW)
MKF_SMB_BASE_HIGH       equ     $(SMB_BASE_HIGH)
MKF_SMB_BASE_ADDRESS    equ     ($(SMB_BASE_HIGH) SHL 8) + $(SMB_BASE_LOW)

;; Power Management I/O Base Address Equates
MKF_PM_BASE_LOW         equ     $(PM_BASE_LOW)
MKF_PM_BASE_HIGH        equ     $(PM_BASE_HIGH)
MKF_PM_BASE_ADDRESS     equ     ($(PM_BASE_HIGH) SHL 8) + $(PM_BASE_LOW)

!if $(SERIAL_IRQ)
MKF_SERIAL_IRQ          equ     -1
!else
MKF_SERIAL_IRQ          equ     0
!endif

; Generate the makefile equates based on IO chipset selection
!if $(AIP)
MKF_AIP         equ -1
!else
MKF_AIP         equ 0
!endif
!if $(ALI5105)
MKF_ALI5105     equ -1
!else
MKF_ALI5105     equ 0
!endif
!if $(ALI5113)
MKF_ALI5113     equ -1
!else

⌨️ 快捷键说明

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