ref: 778666f04ceea0a943829b1d5509cd2c8ed17824
dir: /main_plan9.c/
#include "flisp.h" extern uchar bootcode[]; extern ulong bootlen; void main(int argc, char **argv) { argv0 = argv[0]; setfcr(FPPDBL|FPRNR|FPOVFL); tmfmtinstall(); *(uint32_t*)&F_PNAN = 0x7fc00000; *(uint32_t*)&F_NNAN = 0xffc00000; *(uint32_t*)&F_PINF = 0x7f800000; *(uint32_t*)&F_NINF = 0xff800000; flmain(bootcode, bootlen, argc, argv); }