Permalink
Browse files

ukltsim

  • Loading branch information...
lxmonk committed May 18, 2012
1 parent 9166947 commit 5599de0e9d45d06207e6aef9cec7a6c091491375
Showing with 17 additions and 0 deletions.
  1. +17 −0 ukltsim.c
View
@@ -0,0 +1,17 @@
+/* void printf(int, char*, ...); */
+/* int sim_init(int parameters[]); */
+#include "types.h"
+#include "user.h"
+
+
+int main(int argc, char* argv[]) {
+
+ int params[] = {1,0,4,4,4,4};
+
+ kltsim(params);
+ printf(2, "%d:DONE! uptime=%d\n", uptime(), uptime());
+ sleep(10);
+ printf(2, "%d:DONE! uptime=%d\n", uptime(), uptime());
+ exit();
+ return 0;
+}

0 comments on commit 5599de0

Please sign in to comment.