unsigned int sys_uptime(void) { unsigned int uptime; __asm__ __volatile__( "int $0x40 \n\t" :"=a"(uptime) :"a"(26),"b"(9)); return uptime / 100; }