static void tmain(uint32_t arg) { serve_init(inet_addr(IP), inet_addr(MASK), inet_addr(DEFAULT)); serve(); }
void umain(int argc, char **argv) { static_assert(sizeof(struct File) == 256); binaryname = "fs"; cprintf("FS is running\n"); // Check that we are able to do I/O outw(0x8A00, 0x8A00); cprintf("FS can do I/O\n"); serve_init(); fs_init(); serve(); }
void umain(void) { user_assert(sizeof(struct File) == 256); writef("FS is running\n"); // Check that we are able to do I/O //outw(0x8A00, 0x8A00); writef("FS can do I/O\n"); serve_init(); fs_init(); fs_test(); serve(); }
void umain(void) { assert(sizeof(struct File)==256); binaryname = "fs"; printf("FS is running\n"); // Check that we are able to do I/O outw(0x8A00, 0x8A00); printf("FS can do I/O\n"); serve_init(); fs_init(); fs_test(); serve(); }