mirror of
https://github.com/bdnugget/eggos.git
synced 2026-11-07 04:17:27 +00:00
16 lines
324 B
C
16 lines
324 B
C
typedef unsigned short uint16;
|
|
typedef unsigned int uint32;
|
|
typedef unsigned long uint64;
|
|
|
|
typedef void (*go_entry_t)(uint32, uint32);
|
|
|
|
void boot64main(uint32 gomain, uint32 magic, uint32 mbinfo)
|
|
{
|
|
go_entry_t go_entry;
|
|
go_entry = (go_entry_t)((uint64)gomain);
|
|
go_entry(magic, mbinfo);
|
|
for (;;)
|
|
{
|
|
}
|
|
}
|