Updated Fex header

This commit is contained in:
Alex 2022-12-16 03:07:55 +02:00
parent b4cb49e696
commit e930e02752
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

10
Fex.hpp
View File

@ -48,7 +48,7 @@ struct Fex
char Magic[4];
enum FexFormatType Type : 4;
enum FexOSType OS : 4;
int (*Pointer)(void *);
int (*EntryPoint)(void *);
} __attribute__((packed));
struct KernelCallback;
@ -90,8 +90,8 @@ struct FexExtended
struct
{
bool AttachToMouse;
bool AttachToKeyboard;
char AttachToMouse;
char AttachToKeyboard;
} Input;
} Bind;
} Driver;
@ -102,7 +102,7 @@ struct FexExtended
*
* @param FormatType FexFormatType
* @param OperatingSystem FexOSType
* @param Address Pointer to the start function
* @param Address EntryPoint to the start function
*
* @note Must include ".header : { *(.header .header.*) }" in linker script
*/
@ -111,6 +111,6 @@ struct FexExtended
.Magic = {'F', 'E', 'X', '\0'}, \
.Type = FormatType, \
.OS = OperatingSystem, \
.Pointer = Address}
.EntryPoint = Address}
#endif // !__FENNIX_FILE_FEX_H__