Example #1
0
static void
tmain(uint32_t arg) {
	serve_init(inet_addr(IP),
		   inet_addr(MASK),
		   inet_addr(DEFAULT));
	serve();
}
Example #2
0
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();
}
Example #3
0
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();
}
Example #4
0
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();
}