From 40889627ba50db29a64bc6a1553c2b21e6a99b78 Mon Sep 17 00:00:00 2001 From: Frans Kaashoek Date: Fri, 2 Jul 2010 14:51:53 -0400 Subject: Initial version of single-cpu xv6 with page tables --- forktest.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'forktest.c') diff --git a/forktest.c b/forktest.c index 90cc38c..bb286e6 100644 --- a/forktest.c +++ b/forktest.c @@ -5,6 +5,8 @@ #include "stat.h" #include "user.h" +#define N 1000 + void printf(int fd, char *s, ...) { @@ -18,7 +20,7 @@ forktest(void) printf(1, "fork test\n"); - for(n=0; n<1000; n++){ + for(n=0; n