Skip to content

Commit ecfbeb5

Browse files
committed
Move acpi_tables to library from hal
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
1 parent c137490 commit ecfbeb5

File tree

6 files changed

+6
-5
lines changed

6 files changed

+6
-5
lines changed

chipsec/hal/common/interrupts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
from chipsec.library.logger import logger, print_buffer_bytes
3737
from chipsec.hal.common.acpi import ACPI
3838
from chipsec.library.exceptions import CSReadError
39-
from chipsec.hal.common.acpi_tables import UEFI_TABLE, GAS
39+
from chipsec.library.acpi_tables import UEFI_TABLE, GAS
4040
from chipsec.library.defines import bytestostring
4141

4242
SMI_APMC_PORT = 0xB2

chipsec/hal/common/pci.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ def write_dword(self, bus: int, device: int, function: int, address: int, dword_
111111

112112
def enumerate_devices(self, bus: Optional[int] = None, device: Optional[int] = None, function: Optional[int] = None, spec: Optional[bool] = True) -> List[Tuple[int, int, int, int, int, int]]:
113113
devices = []
114+
breakpoint()
114115
self.hal_log_every_read = False
115116
if bus is not None:
116117
bus_range = [bus]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
from chipsec.library.uefi.common import EFI_GUID_FMT, EFI_GUID_STR
3636

3737

38-
class ACPI_TABLE:
38+
class ACPI_TABLE():
3939

4040
def parse(self, table_content: bytes) -> None:
4141
return

chipsec/modules/tools/wsmt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
from chipsec.module_common import BaseModule, MTAG_BIOS, MTAG_SMM
3838
from chipsec.library.returncode import ModuleResult
3939
from chipsec.hal.common.acpi import ACPI
40-
from chipsec.hal.common.acpi_tables import WSMT
40+
from chipsec.library.acpi_tables import WSMT
4141

4242
TAGS = [MTAG_BIOS, MTAG_SMM]
4343

tests/hal/test_acpi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import unittest
1919

2020
from unittest.mock import MagicMock
21-
from chipsec.hal.common.acpi_tables import RSDP
21+
from chipsec.library.acpi_tables import RSDP
2222
from chipsec.hal.common.acpi import ACPI
2323

2424
class TestACPI(unittest.TestCase):
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
import unittest
1919

20-
from chipsec.hal.common.acpi_tables import APIC, BGRT, DMAR, XSDT, UEFI_TABLE, WSMT
20+
from chipsec.library.acpi_tables import APIC, BGRT, DMAR, XSDT, UEFI_TABLE, WSMT
2121

2222

2323
class TestACPITables(unittest.TestCase):

0 commit comments

Comments
 (0)