Replace ZealBooter-Limine magic number signature with #define vals.

This commit is contained in:
TomAwezome 2022-11-03 13:34:01 -04:00
parent 00bb30855d
commit 0966bc375a
2 changed files with 5 additions and 2 deletions

View file

@ -101,8 +101,8 @@ CORE0_32BIT_INIT:: //Entry point for $LK,"BootRAM",A="MN:BootRAM"$.
ALIGN 16, OC_NOP
// Signature to find CORE0_32BIT_INIT
DU64 0xaa23c08ed10bd4d7;
DU64 0xf6ceba7d4b74179a;
DU64 ZEALBOOTER_LIMINE_SIGNATURE_1;
DU64 ZEALBOOTER_LIMINE_SIGNATURE_2;
@@02:
//Patch abs addresses

View file

@ -542,6 +542,9 @@ class CVideoInfo
U16 height;
};
#define ZEALBOOTER_LIMINE_SIGNATURE_1 0xaa23c08ed10bd4d7; // See $LK+PU,"CORE0_32BIT_INIT",A="FF:::/Kernel/KStart32.ZC,JMP @@"$
#define ZEALBOOTER_LIMINE_SIGNATURE_2 0xf6ceba7d4b74179a; //
#help_index "Boot"
class CKernel
{//Must match $LK,"OSStartUp",A="FF:::/Kernel/KStart16.ZC,MEM_BOOT_BASE"$