コード例 #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
ファイル: testefi.py プロジェクト: sykeben/BITS-PyOS
def test_boot_services_crc():
    testsuite.test("EFI Boot Services Table CRC32 is valid", efi.table_crc(efi.system_table.BootServices.contents))
コード例 #5
0
ファイル: testefi.py プロジェクト: sykeben/BITS-PyOS
def test_runtime_services_crc():
    testsuite.test("EFI Runtime Services Table CRC32 is valid", efi.table_crc(efi.system_table.RuntimeServices.contents))
コード例 #6
0
ファイル: testefi.py プロジェクト: sykeben/BITS-PyOS
def test_system_services_crc():
    testsuite.test("EFI System Table CRC32 is valid", efi.table_crc(efi.system_table))