feat: gdt, attributes move, reorder
Added late gdt setup with initial tss Moved attributes to include root Reordered some imports
This commit is contained in:
19
include/attributes.h
Normal file
19
include/attributes.h
Normal file
@@ -0,0 +1,19 @@
|
||||
//
|
||||
// Created by rick on 24-02-21.
|
||||
//
|
||||
|
||||
#ifndef NEW_KERNEL_ATTRIBUTES_H
|
||||
#define NEW_KERNEL_ATTRIBUTES_H
|
||||
|
||||
// generic
|
||||
#define att_used __attribute((used))
|
||||
|
||||
// function
|
||||
#define att_noreturn __attribute((noreturn))
|
||||
#define att_cdecl __attribute((cdecl))
|
||||
// structure
|
||||
#define att_packed __attribute((packed))
|
||||
// field
|
||||
#define att_aligned(size) __attribute((aligned(size)))
|
||||
|
||||
#endif //NEW_KERNEL_ATTRIBUTES_H
|
||||
Reference in New Issue
Block a user