diff options
| author | Matteo Gmür <matteo.gmuer1@ost.ch> | 2025-03-15 14:48:29 +0000 |
|---|---|---|
| committer | Matteo Gmür <matteo.gmuer1@ost.ch> | 2025-03-15 14:48:31 +0000 |
| commit | 5a332c90f79e6d10de1a8cd478c4dbef82f4d74d (patch) | |
| tree | 3f078524e29cfd0595008a1c19a3684ab2f3408a /arch/x86_64/src/context_switching | |
| parent | e6a9d939ed5e9f89e69efdacc60a1ce6edd1061c (diff) | |
| download | teachos-5a332c90f79e6d10de1a8cd478c4dbef82f4d74d.tar.xz teachos-5a332c90f79e6d10de1a8cd478c4dbef82f4d74d.zip | |
Use empty bit field to implement reserved
Diffstat (limited to 'arch/x86_64/src/context_switching')
| -rw-r--r-- | arch/x86_64/src/context_switching/descriptor_table/segment_descriptor.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86_64/src/context_switching/descriptor_table/segment_descriptor.cpp b/arch/x86_64/src/context_switching/descriptor_table/segment_descriptor.cpp index c1a46a6..3e93823 100644 --- a/arch/x86_64/src/context_switching/descriptor_table/segment_descriptor.cpp +++ b/arch/x86_64/src/context_switching/descriptor_table/segment_descriptor.cpp @@ -8,7 +8,6 @@ namespace teachos::arch::context_switching::descriptor_table , _access((flags >> 40U) << 80U) , _flag((flags >> 52U) << 72U, (flags >> 48U) << 72U) , _base_2((flags >> 56U) << 32U) - , _reserved(flags >> 96U) { // Nothing to do. } @@ -20,7 +19,6 @@ namespace teachos::arch::context_switching::descriptor_table , _access(access_byte) , _flag(flags) , _base_2(base >> 24U) - , _reserved(0U) { // Nothing to do } |
