Added late gdt setup with initial tss Moved attributes to include root Reordered some imports
20 lines
401 B
C
20 lines
401 B
C
//
|
|
// 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
|