comparison 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
comparison
equal deleted inserted replaced
149:eb69d1caa83b 150:e72f984619c7
8 #include <os/psw.h> 8 #include <os/psw.h>
9 #include <os/svc.h> 9 #include <os/svc.h>
10 #include <os/scall.h> 10 #include <os/scall.h>
11 #include <os/pcb.h> 11 #include <os/pcb.h>
12 #include <os/storageKeys.h> 12 #include <os/storageKeys.h>
13 13 #include <os/memLayout.h>
14 #define PROGRAM_STACK_START 0x400000
15 #define KERNEL_STACK_START 0x380000
16 #define STACK_SPACING 160
17 14
18 #define MAX_INPUT_LENGTH 128 //128 characters maximum input 15 #define MAX_INPUT_LENGTH 128 //128 characters maximum input
19 #define MAX_ARGS 10 //no more than ten arguments, including the program name 16 #define MAX_ARGS 10 //no more than ten arguments, including the program name
20 17
21 void start(u64 __memsize) 18 void start(u64 __memsize)