mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:47:45 +00:00
Use modern C++ attributes instead of __attribute__ voodoo.
This is quite nice, although I wish [[gnu::always_inline]] implied inline. Also "gnu::" is kind of a wart, but whatcha gonna do.
This commit is contained in:
parent
fbcc8ab840
commit
022f7790db
34 changed files with 99 additions and 124 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include <AK/Types.h>
|
||||
|
||||
struct TSS32 {
|
||||
struct [[gnu::packed]] TSS32 {
|
||||
word backlink, __blh;
|
||||
dword esp0;
|
||||
word ss0, __ss0h;
|
||||
|
@ -20,4 +20,4 @@ struct TSS32 {
|
|||
word gs, __gsh;
|
||||
word ldt, __ldth;
|
||||
word trace, iomapbase;
|
||||
} PACKED;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue