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

📄 oem.mak

📁 AMI 主板的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                    **;
#     **                                                             **;
#     *****************************************************************;
#     *****************************************************************;
#-----------------------------------------------------------------------#
!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   = 1             # 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             = 1             # 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                = SP130.BIN
#SUI_FILE                = Win29.BIN

#SUI_FILE                = SP130.BIN

#SIGN_ON_MSG1    = 'AMI BIOS for SiS 530',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
MKF_ALI5113     equ 0
!endif
!if $(ALI5119)
MKF_ALI5119     equ -1
!else
MKF_ALI5119     equ 0
!endif
!if $(ALI5123)
MKF_ALI5123     equ -1
!else
MKF_ALI5123     equ 0
!endif
!if $(CT735)
MKF_CT735       equ -1
!else
MKF_CT735       equ 0
!endif
!if $(DSCH20)
MKF_DSCH20      equ -1
!else
MKF_DSCH20      equ 0
!endif
!if $(GM803B)
MKF_GM803B      equ -1
!else
MKF_GM803B      equ 0
!endif
!if $(GM803C)
MKF_GM803C      equ -1
!else
MKF_GM803C      equ 0
!endif
!if $(ITE8680)

⌨️ 快捷键说明

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