mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:27:45 +00:00
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:
parent
5d7855adea
commit
b13417ddb4
3 changed files with 35 additions and 16 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue