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

📄 aslport.mak

📁 <BIOS研发技术剖析>书的源代码,包括完整的BIOS汇编语言源程序.
💻 MAK
📖 第 1 页 / 共 3 页
字号:
A_GET_THRM_DATA         = 0     # 1 - get the Thermal settings from CMOS#
                                # 0 - provide the Thermal settings in   #
                                # this file                             #
                                # If 1 the data appearence order is -   #
                                # TRP1, TRP2, TCRT, TSP, TC1, TC2, T_Adr#
A_THRM_INDEX_DATA_IO_Adr= 72    # Access over Index/Data mechanism(CMOS)#
                                # 4 hex digits only (ef10, 410, ..)     #
                                # " " - not present                     #
A_THRM_INDEX_DATA_IO_Ofs= 90    # 2 hex digits only (10, 90, ..)        #
# Proceed if A_GET_BIOS_DATA set as 0                                   #
A_TRP1                  = 32    # 1st thermal limit. Temperature in C   #
A_TRP2                  = 43    # 2nd thermal limit. Temperature in C   #
A_TCRT                  = 65    # Critical temperature. Temperature in C#
A_TSP                   = 10    # Sampling period. In seconds           #
A_TC1                   = 02    # 1st thermal constant                  #
A_TC2                   = 04    # 2nd thermal constant                  #
#-----------------------------------------------------------------------#
# Thermal sensor module                                                 #
#-----------------------------------------------------------------------#
# Note. The only one Thermal sensor can be selected                     #
#       There also A_SMBUS flag has to be set to provide thermal sensor #
#       with ASL interface to SMBUS                                     #
#-----------------------------------------------------------------------#
A_LM75                  = 0     # 1 - present, 0 - not present          #
A_MAX1617L              = 0     # 1 - present, 0 - not present          #
A_MAX1617R              = 0     # 1 - present, 0 - not present          #
A_LM78_9                = 0     # 0/1 Switch.One of T.sensors must be selected#
#-----------------------------------------------------------------------#
# Thermal sensor full SMBus address                                     #
A_THRM_Adr              = 30    # 2 hex digits only                     #
A_THERMAL_GPE           = 00    # GPE bit Offset                        #
                                # ""- no thermal event wired to GPE     #
                                # 2 hex digits only (..09, 0a, 0b,..)   #
                                # Example 0b -> GPE.11                  #
                                # PIIX4 PM uses GPE.0 for THRM pin      #
#-----------------------------------------------------------------------#
#               FAN COOLING DEVICE                                      #
#-----------------------------------------------------------------------#
# Note. The only one FAN model can be selected                          #
#-----------------------------------------------------------------------#
A_FAN_OEM               = 0     # Switch 0/1. Set to 1 if current fan   #
                                # control no match non of standard models#
                                # If set = 1 the CUST_FAN.OEM file      #
                                # will require the proper editing       #
#-----------------------------------------------------------------------#
# FAN IO port access method                                             #
#-----------------------------------------------------------------------#
# Note. The only one address should be provided                         #
#-----------------------------------------------------------------------#
# FAN control port inside ISA IO space                                  #
A_FAN_ISA_IO_Adr        = 434   # 4 hex digits only (ef10, 410, ..)     #
                                # " " - not present                     #
                                # Note. for PIIX4 GPO port provide      #
                                # PM_BASE + 0x34 offset                 #
# FAN controlled over Index/Data access                                 #
A_FAN_INDEX_DATA_IO_Adr =       # 4 hex digits only (ef10, 410, ..)     #
                                # " " - not present                     #
#-----------------------------------------------------------------------#
# Model 1: 1 or 2 fans controled by 1 GPO pin per each FAN. On/Off state#
#-----------------------------------------------------------------------#
A_FAN_MODEL_1           = 0     # 1 - present, 0 - not present          #
A_FAN_1_GPO_Offset      = 00    # Decimal offset within register space  #
A_FAN_2_GPO_Offset      =       # Decimal offset within register space  #
                                # "" - no 2nd FAN on board              #
                                # PIIX4 PMbase + 0x34                   #
                                # Example 09 -> GPO.09, PM+0x35.2       #
A_FAN_1_1_ON            = 1     # Value 0 or 1 to turn FAN ON           #
A_FAN_1_2_ON            = 1     # Value 0 or 1 to turn FAN ON           #
#-----------------------------------------------------------------------#
# Model 2: 2 fans with different speed control. 2 GPO pins per each FAN #
# The combination of 2 bits will define the FAN's speed:Off,Low,Mid,Full#
#-----------------------------------------------------------------------#
A_FAN_MODEL_2           = 0     # 1 - present, 0 - not present          #
A_FAN_1_0_GPO_Offset    = 11    # Decimal offset within register space  #
A_FAN_1_1_GPO_Offset    = 26    # Decimal offset within register space  #
A_FAN_2_0_GPO_Offset    = 24    # Decimal offset within register space  #
A_FAN_2_1_GPO_Offset    = 25    # Decimal offset within register space  #
                                # PIIX4 PMbase + 0x34                   #
                                # Example 09 -> GPO.09, PM+0x35.2       #
#-----------------------------------------------------------------------#
# Model 3: 2 fans with different speed control. 3 GPO pins per each FAN #
# The combination of 3 bits will define the FAN's speed:Off,Low,Mid,Full#
#-----------------------------------------------------------------------#
A_FAN_MODEL_3           = 0     # 1 - present, 0 - not present          #
A_FAN_1_ON_GPO_Offset   = 13    # Decimal offset within register space  #
A_FAN_1_LOW_GPO_Offset  = 11    # Decimal offset within register space  #
A_FAN_1_MID_GPO_Offset  = 14    # Decimal offset within register space  #
A_FAN_2_ON_GPO_Offset   = 26    # Decimal offset within register space  #
A_FAN_2_LOW_GPO_Offset  = 24    # Decimal offset within register space  #
A_FAN_2_MID_GPO_Offset  = 25    # Decimal offset within register space  #
                                # PIIX4 PMbase + 0x34                   #
                                # Example 09 -> GPO.09, PM+0x35.2       #
A_FAN_3_1_ON            = 0     # Value 0 or 1 to turn FAN ON           #
A_FAN_3_2_ON            = 0     # Value 0 or 1 to turn FAN ON           #
#-----------------------------------------------------------------------#
#               SYSTEM INDICATION (SI)                                  #
#-----------------------------------------------------------------------#
# Note. The only one SI model can be selected                           #
#-----------------------------------------------------------------------#
A_SI_OEM                = 0     # Switch 0/1. Set to 1 if current SI    #
                                # control no match non of standard models#
                                # If set = 1 the CUST_SI.OEM file       #
                                # will require the proper editing       #
#-----------------------------------------------------------------------#
# SI IO port access method                                              #
#-----------------------------------------------------------------------#
# Note. The only one address should be provided                         #
#-----------------------------------------------------------------------#
# LED control port inside ISA IO space                                  #
A_SI_ISA_IO_Adr         =       # 4 hex digits only (ef10, 410, ..)     #
                                # " " - not present                     #
                                # Note. for PIIX4 GPO port provide      #
                                # PM_BASE + 0x34 offset                 #
# LED controlled over Index/Data access                                 #
A_SI_INDEX_DATA_IO_Adr  = 370   # 4 hex digits only (ef10, 410, ..)     #
                                # " " - not present                     #
#-----------------------------------------------------------------------#
# Model 1: 1 LED controled by 1 GPO pin to display 2 states : Work/Sleep#
#-----------------------------------------------------------------------#
A_SI_MODEL_1            = 1     # 1 - present, 0 - not present          #
A_SI_LED_1_GPO_Offset   = 25    # Decimal offset within register space  #
                                # PIIX4 PMbase + 0x34                   #
                                # Example 09 -> GPO.09, PM+0x35.2       #
A_SI_LED_1_ON           = 1     # Value 0 or 1 to turn LED ON(Green)    #
#-----------------------------------------------------------------------#
# Model 2: 2 LEDs controled by 1 GPO pin per each LED.                  #
# One LED per each system state: Work / Sleep / Hibernate (both are On) #
#-----------------------------------------------------------------------#
A_SI_MODEL_2            = 0     # 1 - present, 0 - not present          #
A_SI_WORK_GPO_Offset    = 00    # Decimal offset within register space  #
                                # PIIX4 PMbase + 0x34                   #
                                # Example 09 -> GPO.09, PM+0x35.2       #
A_SI_SLEEP_GPO_Offset   = 01    # Decimal offset within register space  #
                                # PIIX4 PMbase + 0x34                   #
                                # Example 09 -> GPO.09, PM+0x35.2       #
A_SI_WORK_2_ON          = 1     # Value 0 or 1 to turn LED ON(Green)    #
A_SI_SLEEP_2_ON         = 1     # Value 0 or 1 to turn LED ON(Yellow)   #
#-----------------------------------------------------------------------#
# Model 3: 1 LED controled by 2 GPO pins.                               #
# 3 possible combinations: LED On(Work), Off(Sleep), Blinking On/Off    #
#-----------------------------------------------------------------------#
A_SI_MODEL_3            = 0     # 1 - present, 0 - not present          #
A_SI_LED_3_GPO_Offset   = 27    # Decimal offset within register space  #
                                # PIIX4 PMbase + 0x34                   #
                                # Example 09 -> GPO.09, PM+0x35.2       #
A_SI_BLINK_GPO_Offset   = 12    # Decimal offset within register space  #
                                # PIIX4 PMbase + 0x34                   #
                                # Example 09 -> GPO.09, PM+0x35.2       #
A_SI_LED_3_ON           = 0     # Value 0 or 1 to turn LED ON(Green)    #
A_SI_LED_STEADY         = 1     # Value 0 or 1 for steady light         #
#-----------------------------------------------------------------------#
# Generic Power Button device                                           #
#-----------------------------------------------------------------------#
A_POWER_BUTTON_GENERIC  = 0     # 1 - present, 0 - not present          #

⌨️ 快捷键说明

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