mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-28 15:34:33 +00:00
Fixed compiler warnings
This commit is contained in:
parent
5ead0d7f9b
commit
0ee2230ca9
4
Fex.hpp
4
Fex.hpp
@ -51,6 +51,8 @@ struct Fex
|
|||||||
int (*Pointer)(void *);
|
int (*Pointer)(void *);
|
||||||
} __attribute__((packed));
|
} __attribute__((packed));
|
||||||
|
|
||||||
|
struct KernelCallback;
|
||||||
|
|
||||||
struct FexExtended
|
struct FexExtended
|
||||||
{
|
{
|
||||||
struct
|
struct
|
||||||
@ -99,7 +101,7 @@ struct FexExtended
|
|||||||
* @note Must include ".header : { *(.header .header.*) }" in linker script
|
* @note Must include ".header : { *(.header .header.*) }" in linker script
|
||||||
*/
|
*/
|
||||||
#define HEAD(FormatType, OperatingSystem, Address) \
|
#define HEAD(FormatType, OperatingSystem, Address) \
|
||||||
__attribute__((section(".header"))) Fex FexHeader = { \
|
__attribute__((section(".header"))) struct Fex FexHeader = { \
|
||||||
.Magic = {'F', 'E', 'X', '\0'}, \
|
.Magic = {'F', 'E', 'X', '\0'}, \
|
||||||
.Type = FormatType, \
|
.Type = FormatType, \
|
||||||
.OS = OperatingSystem, \
|
.OS = OperatingSystem, \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user