ACPI: Examine bit width in Generic address structure before asserting

Also, the switch-case flow is simplified for IO access within a Generic
address strucuture's handling.
This commit is contained in:
Liav A 2020-03-11 14:28:17 +02:00 committed by Andreas Kling
commit b13417ddb4
Notes: sideshowbarker 2024-07-19 08:45:31 +09:00
3 changed files with 35 additions and 16 deletions

View file

@ -122,6 +122,13 @@ namespace ACPI {
DWord = 3,
QWord = 4
};
enum class BitWidth {
Undefined = 0,
Byte = 8,
Word = 16,
DWord = 32,
QWord = 64
};
}
namespace Structures {