github.com/jspc/eggos@v0.5.1-0.20221028160421-556c75c878a5/boot/boot64main.c (about) 1 typedef unsigned short uint16; 2 typedef unsigned int uint32; 3 typedef unsigned long uint64; 4 5 typedef void (*go_entry_t)(uint32, uint32); 6 7 void boot64main(uint32 gomain, uint32 magic, uint32 mbinfo) 8 { 9 go_entry_t go_entry; 10 go_entry = (go_entry_t)((uint64)gomain); 11 go_entry(magic, mbinfo); 12 for (;;) 13 { 14 } 15 }