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

📄 aslport.mak

📁 <BIOS研发技术剖析>书的源代码,包括完整的BIOS汇编语言源程序.
💻 MAK
📖 第 1 页 / 共 3 页
字号:
A_PB_GPE                = 09    # 2 hex digits only (00, 02,..0f)       #
                                # bit offset within GPE                 #
# PB control bits inside IO space (not part of GPE block)               #
A_PB_IO_Adr             =       # 2 hex digits only (00, 01, ff..)      #
                                # "" - no PB control bits               #
# Power Button Enable bit                                               #
A_PB_ENBL_Offset        =       # Dec bit offset within IO_Adr space    #
                                # "" - no PB Enable bit                 #
# Power Button State (Sleep/Work) bit                                   #
A_PB_STA_Offset         =       # Dec bit offset within IO_Adr space    #
                                # "" - no PB state bit                  #
#-----------------------------------------------------------------------#
# Generic Sleep Button device                                           #
#-----------------------------------------------------------------------#
A_SLEEP_BUTTON_GENERIC  = 0     # 1 - present, 0 - not present          #
A_SB_GPE                =       # 2 hex digits only (00, 02,..0f)       #
                                # bit offset within GPE                 #
A_SB_WAK_SYST           = 01    # 2 dec digits only. (01, 02, 03, 04)   #
                                # Max system sleep state device         #
                                # can generate a resume event           #
# SB control bits inside IO space (not part of GPE block)               #
A_SB_IO_Adr             = 418   # 2 hex digits only (00, 01, ff..)      #
                                # "" - no SB control bits               #
# Sleep Button Enable bit                                               #
A_SB_ENBL_Offset        = 74    # Dec bit offset within IO_Adr space    #
                                # "" - no SB Enable bit                 #
# Sleep Button State (Sleep/Work) bit                                   #
A_SB_STA_Offset         = 10    # Dec bit offset within IO_Adr space    #
                                # "" - no SB state bit                  #
#-----------------------------------------------------------------------#
#               CUSTOM DEVICE POWER MANAGEMENT                          #
#-----------------------------------------------------------------------#
A_IDE_PM                = 0     # 1 - present, 0 - not present          #
# Note. PCI Dev/Fun number provide for standalone controller only       #
A_IDE_DEV_Nbr           = 00    # 2 hex digits only (..09, 0a, 0b,..)   #
A_IDE_FUN_Nbr           = 01    # 2 hex digits only (..09, 0a, 0b,..)   #
#-----------------------------------------------------------------------#
A_SUPER_IO_PM           = 0     # 1 - present, 0 - not present          #
#-----------------------------------------------------------------------#
# Wake-up on PCI PME event connected to GPE                             #
#-----------------------------------------------------------------------#
A_PME_WAKE_UP           = 0     # 1 - present, 0 - not present          #
A_PME_GPE               = 09    # 2 hex digits only (..09, 0a, 0b,..)   #
                                # bit offset within GPE                 #
                                # Example 0a -> GPE.10                  #
                                # PIIX4 PM uses GPE.10 for PME wake pin #
A_PME_WAK_SYST          = 01    # 2 hex digits only (..02, 03, 04,..)   #
                                # Max system sleep state device         #
                                # can generate a resume event           #
#-----------------------------------------------------------------------#
# Non PME wake-up on PCI plug-in card with event connected to GPE (LAN) #
#-----------------------------------------------------------------------#
A_LAN_WAKE_UP           = 0     # 1 - present, 0 - not present          #
A_LAN_GPE               = 09    # 2 hex digits only (..09, 0a, 0b,..)   #
                                # bit offset within GPE                 #
                                # Example 0a -> GPE.10                  #
                                # PIIX4 PM uses GPE.10 for LAN wake pin #
A_LAN_WAK_SYST          = 01    # 2 hex digits only (..02, 03, 04,..)   #
                                # Max system sleep state device         #
                                # can generate a resume event           #
#-----------------------------------------------------------------------#
# Wake-up on USB event connected to GPE                                 #
#-----------------------------------------------------------------------#
A_USB_WAKE_UP           = 0     # 1 - present, 0 - not present          #
# Note. PCI Dev/Fun/GPE number provide for standalone controller only   #
A_USB_DEV_Nbr           = 01    # 2 hex digits only (..09, 0a, 0b,..)   #
A_USB_FUN_Nbr           = 02    # 2 hex digits only (..09, 0a, 0b,..)   #
A_USB_GPE               = 08    # 2 hex digits only (..09, 0a, 0b,..)   #
                                # bit offset within GPE                 #
                                # Example 0a -> GPE.10                  #
A_USB_WAK_SYST          = 01    # 2 hex digits only (..02, 03, 04,..)   #
                                # Max system sleep state device         #
                                # can generate a resume event           #
#-----------------------------------------------------------------------#
# Wake-up on modem RI                                                   #
#-----------------------------------------------------------------------#
A_RI_WAKE_UP_UART1      = 1     # 1 - present, 0 - not present          #
A_RI_WAKE_UP_UART2      = 0     # 1 - present, 0 - not present          #
A_RI_GPE                = 01    # 2 hex digits only (..09, 0a, 0b,..)   #
                                # bit offset within GPE                 #
                                # Example 0a -> GPE.10                  #
                                # PIIX4 PM uses GPE.10 for RI wake pin  #
A_RI_WAK_SYST           = 01    # 2 hex digits only (..02, 03, 04,..)   #
                                # Max system sleep state device         #
                                # can generate a resume event           #
#-----------------------------------------------------------------------#
# Wake-up on keyboard (event should be connected to GPE )               #
#-----------------------------------------------------------------------#
A_KEY_WAKE_UP           = 1     # 1 - present, 0 - not present          #
A_KEY_GPE               = 07    # 2 hex digits only (..09, 0a, 0b,..)   #
                                # bit offset within GPE                 #
                                # Example 0a -> GPE.10                  #
A_KEY_WAK_SYST          = 01    # 2 hex digits only (..02, 03, 04,..)   #
                                # Max system sleep state device         #
                                # can generate a resume event           #
#-----------------------------------------------------------------------#
# Wake-up on mouse (event should be connected to GPE )                  #
#-----------------------------------------------------------------------#
A_MOUSE_WAKE_UP         = 1     # 1 - present, 0 - not present          #
A_MOUSE_GPE             = 07    # 2 hex digits only (..09, 0a, 0b,..)   #
                                # bit offset within GPE                 #
                                # Example 0a -> GPE.10                  #
A_MOUSE_WAK_SYST        = 01    # 2 hex digits only (..02, 03, 04,..)   #
                                # Max system sleep state device         #
                                # can generate a resume event           #
#-----------------------------------------------------------------------#
#               CUSTOM START UP ASL CODE                                #
#-----------------------------------------------------------------------#
# Note. OEM start-up code will be called once during OS boot-up process #
#-----------------------------------------------------------------------#
A_START_UP_OEM          = 0     # 1 - present, 0 - not present          #
                                # If set = 1 the CUST_OEM.OEM file      #
                                # will require the proper editing       #
#-----------------------------------------------------------------------#
#               PREPARE TO SLEEP & WAKE UP OEM CODE                     #
#-----------------------------------------------------------------------#
A_PTS_WAK_OEM           = 0     # 1 - present, 0 - not present          #
                                # If set = 1 the CUST_PTS.OEM file      #
                                # will require the proper editing       #
#-----------------------------------------------------------------------#
# IO Trap on access to PM1a_Cnt register. Include code to _PTS & _WAK   #
#-----------------------------------------------------------------------#
A_PM1a_Cnt_IO_TRAP      = 0     # 1 - present, 0 - not present          #
                                # If set = 1 the ASL code to trap access#
                                # to PM1a_CNT register will be enabled  #
                                # in _PTS and disabled in _WAK generic  #
                                # ASL code                              #
                                # The code will be generated in only if #
                                # A_PIIX4 and A_POS_DECODE macros set'1'#
#-----------------------------------------------------------------------#
#               Additional PCI devices                                  #
#-----------------------------------------------------------------------#
A_OEM_PCI_DEV           = 0     # The CUST_PCI.OEM will be included into#
                                # the PCI bus 0 device scope            #
#-----------------------------------------------------------------------#
#               Additinal OEM ISA devices                               #
#-----------------------------------------------------------------------#
A_OEM_ISA_DEV           = 0     # The CUST_ISA.OEM will be included into#
                                # the ISA/EIO device scope              #
#-----------------------------------------------------------------------#
#               ISA Audio cards support                                 #
# Note. The only one Audio module may be selected                       #
#-----------------------------------------------------------------------#
A_ESS1888               = 0     # 1 - present, 0 - not present          #
A_ESS1887               = 0
A_ESS1878               = 0
A_ESS1869               = 0
A_YMF715x               = 0
#-----------------------------------------------------------------------#
# !!!!!!!!!!!!!!!! ALL OEM FLAG CHANGES END HERE !!!!!!!!!!!!!!!!!!!!!! #
#-----------------------------------------------------------------------#

⌨️ 快捷键说明

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