Kernel: Implement proper synchronization for AML opregions

This commit is contained in:
2024-04-17 14:59:26 +03:00
parent b268293402
commit e38b2cff4f
2 changed files with 14 additions and 1 deletions

View File

@@ -27,6 +27,8 @@ namespace Kernel::ACPI::AML
uint64_t region_offset;
uint64_t region_length;
Kernel::Mutex mutex;
OpRegion(NameSeg name, RegionSpace region_space, uint64_t region_offset, uint64_t region_length)
: NamedObject(Node::Type::OpRegion, name)
, region_space(region_space)