下载
中文
注册

控制信息

启动区控制信息内容:

====================boot region=====================
region offset                   : 0x400
region size                     : 0x4b000

--------------------region config-------------------
total area                      : 0xa
history area                    : 0x5
error area                      : 0x2
area config:
  used module count             : 0x4

module config:
  module 0 offset               : 0x0
  module 0 size                 : 0x3000

  module 1 offset               : 0x3000
  module 1 size                 : 0x1000

  module 2 offset               : 0x4000
  module 2 size                 : 0x1000

  module 3 offset               : 0x5000
  module 3 size                 : 0x1000

--------------------region control------------------
area index                      : 0x1
error area count                : 0x2

运行区控制信息内容:

====================run region======================
region offset                   : 0x4b400
region size                     : 0x25800

--------------------region config-------------------
total area                      : 0xa
history area                    : 0x5
error area                      : 0x2
area config:
  used module count             : 0x4

module config:
  module 0 offset               : 0x0
  module 0 size                 : 0x800

  module 1 offset               : 0x800
  module 1 size                 : 0x800

  module 2 offset               : 0x1000
  module 2 size                 : 0x1000

  module 3 offset               : 0x2000
  module 3 size                 : 0x1000

--------------------region control------------------
area index                      : 0x4
error area count                : 0x0
表1 字段及含义

分区

字段

含义

boot region

region offset

当前区域相对于快照区起始地址的偏移。

region size

当前数据区大小。

region config

total area

可以储存数据的区域总数。

history area

用于储存历史数据的区域数。

error area

用于储存异常数据的区域数。

used module count

每个区域中包含的模块数。

module config

每个模块对应的偏移和大小。偏移值相对于所在区域的起始地址。

region control

area index

用于记录本次热复位数据的区域编号。

error area count

本次启动时检测到的未被导出的异常数量。

area N control info

包含每个区域的控制信息。当前只使用7个:

  • 0~4用于历史队列。
  • 5、6用于异常队列。

flag

本区域队列类型:

  • 0:未使用。
  • 1:BIOS标识的历史队列。
  • 2:BIOS标识的异常队列。
  • 3:DDR历史队列。
  • 4:DDR异常队列。

tag

本区域信息状态:

  • 0:未使用。
  • 1:使用,初始化。
  • 2:使用,无异常。
  • 3:使用,有异常。

exception type

异常类型:

启动区显示STARTUP_EXCEPTION(0x2c)。

运行区显示last reset reason。

module id

模块ID:

启动区显示module id。

运行区无该字段。

exception id

异常码:

启动区显示exception id。

运行区无该字段。

具体异常码信息请参见产品的《黑匣子错误码信息列表》

reset number

记录本次信息时的热复位计数。

  • 7个area N control info信息块被分为两个队列。0~4用于历史队列,5、6用于异常队列。历史队列遵循循环覆盖原则,覆盖使用当前的队列。异常队列遵循读清原则,只有将内容读取后,才会将队列清空重新使用。
  • 快照只有在区域的error area count非零时才会被黑匣子导出。导出后,本区域对应的error area count会被清零。再次热复位后,如果无新的异常记录,则不会导出快照。
  • 启动区异常,需要关注三个数据: module id、exception type、exception id。运行区只需关注exception type。
  • 异常码为0xA8**EFFF的STARTUP_EXCEPTION或RUN_EXCEPTION记录,为模块默认快照异常码,代表该模块不支持快照,但BIOS启动时检测到了该模块出现过异常。更多异常类型介绍请参考异常类型说明