示例#1
0
文件: testefi.py 项目: kirkboy/bits
def test_boot_services_crc():
    testsuite.test("EFI Boot Services Table CRC32 is valid", efi.table_crc(ctypes.addressof(efi.system_table.BootServices.contents)))
示例#2
0
文件: testefi.py 项目: kirkboy/bits
def test_runtime_services_crc():
    testsuite.test("EFI Runtime Services Table CRC32 is valid", efi.table_crc(ctypes.addressof(efi.system_table.RuntimeServices.contents)))
示例#3
0
文件: testefi.py 项目: kirkboy/bits
def test_system_services_crc():
    testsuite.test("EFI System Table CRC32 is valid", efi.table_crc(ctypes.addressof(efi.system_table)))
示例#4
0
def test_boot_services_crc():
    testsuite.test("EFI Boot Services Table CRC32 is valid", efi.table_crc(efi.system_table.BootServices.contents))
示例#5
0
def test_runtime_services_crc():
    testsuite.test("EFI Runtime Services Table CRC32 is valid", efi.table_crc(efi.system_table.RuntimeServices.contents))
示例#6
0
def test_system_services_crc():
    testsuite.test("EFI System Table CRC32 is valid", efi.table_crc(efi.system_table))