44,7 → 44,6 |
#include <kbd.h> |
#include <ipc/fb.h> |
#include <async.h> |
#include <time.h> |
|
int a; |
atomic_t ftx; |
402,19 → 401,7 |
ipc_hangup(phoneid); |
} |
|
static void test_time(void) |
{ |
int rc; |
struct timeval tv; |
struct timezone tz; |
|
while (1) { |
rc = gettimeofday(&tv, &tz); |
printf("Rc: %d, Secs: %d, Usecs: %d\n", rc, tv.tv_sec, |
tv.tv_usec); |
} |
} |
|
int main(int argc, char *argv[]) |
{ |
pstid_t ptid; |
433,8 → 420,7 |
// test_as_area_send(); |
// test_pci(); |
// test_kbd(); |
test_time(); |
// test_async_kbd(); |
test_async_kbd(); |
// test_fb(); |
|
printf("Hello\nThis is Init\n\nBye."); |