debug_print8(5);
main(int argc, char **argv){    /* Setup stack pointer so that it does not interfere with the rest     of the RAM. */  /*  asm("ldi     r28,lo8(0x00807fff)");      asm("ldi     r29,hi8(0x00807fff)");      asm("out     0x3e, r29");      asm("out     0x3d, r28");*/  /* Fiddle with RS232 settings of the AVR: */  /* Enable transmit. */  UCSR0B = _BV(TXEN);  /* Set baud rate (23 =~ 38400) */  UBRR0H = 0;  UBRR0L = 23;  UDR0 = '\n';    outp(BV(SRE) | BV(SRW), MCUCR);      /* end RS232 fiddling. */  init_timer();  sei();    uip_init();    resolv_init();    debug_print8(1);      uip_setethaddr(ethaddr);     #if 1  uip_ipaddr(addr, 193,10,67,152);  uip_sethostaddr(addr);   uip_ipaddr(addr, 193,10,67,1);  uip_setdraddr(addr);   uip_ipaddr(addr, 255,255,255,0);  uip_setnetmask(addr);  uip_ipaddr(addr, 193,10,66,195);  resolv_conf(addr);#else  uip_ipaddr(addr, 192,168,1,2);  uip_sethostaddr(addr);   uip_ipaddr(addr, 192,168,1,1);  uip_setdraddr(addr);   uip_ipaddr(addr, 255,255,255,0);  uip_setnetmask(addr);  uip_ipaddr(addr, 195,54,122,204);  resolv_conf(addr);#endif        debug_print8(2);  resolv_query("www.sics.se");        debug_print8(3);  ek_init();      debug_print8(4);  dispatcher_init();        debug_print8(5);  ctk_init();  debug_print8(6);  rtl8019_drv_init();  debug_print8(8);  ctk_vncserver_init();    debug_print8(7);  program_handler_init();  webserver_init();    /*  program_handler_add(&directory_dsc, "Directory", 1);*/  program_handler_add(&about_dsc, "About", 1);  program_handler_add(&webserver_dsc, "Web server", 1);  program_handler_add(&www_dsc, "Web browser", 1);  /*  program_handler_add(&calc_dsc, "Calculator", 0);*/  program_handler_add(&processes_dsc, "Processes", 0);  program_handler_add(&weblinks_dsc, "Web links", 1);  debug_print8(64);  ek_run();    return 0;  argv = argv;  argc = argc;}