diff src/os/shell.c @ 150:e72f984619c7

Consolidated a lot of the defines which relate to the memory layout There is a new file (include/os/memLayout.h) which now includes just about all the #defines
author Jonathan Pevarnek <pevarnj@gmail.com>
date Wed, 02 Nov 2011 09:55:09 -0400
parents eb69d1caa83b
children a6482018de66
line wrap: on
line diff
--- a/src/os/shell.c	Sun Oct 30 00:24:35 2011 -0400
+++ b/src/os/shell.c	Wed Nov 02 09:55:09 2011 -0400
@@ -10,10 +10,7 @@
 #include <os/scall.h>
 #include <os/pcb.h>
 #include <os/storageKeys.h>
-
-#define PROGRAM_STACK_START 0x400000
-#define KERNEL_STACK_START 0x380000
-#define STACK_SPACING 160
+#include <os/memLayout.h>
 
 #define MAX_INPUT_LENGTH 128 //128 characters maximum input
 #define MAX_ARGS 10 //no more than ten arguments, including the program name