Skip to content

Commit

Permalink
Fixed last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
enkiv2 committed Jul 12, 2011
1 parent 5831b4c commit f5c8b1a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions include/kaukatcr.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
#include <system.h>
#include <zz.h>

int interp_ip[maxpid]; //@ Cell ID for the current instruction
int interp_dictptr[maxpid]; //@ Cell ID for the top of the dictionary
int interp_sp[maxpid]; //@ Cell ID for the top of the stack
int interp_ip[MAX_PROCESSES]; //@ Cell ID for the current instruction
int interp_dictptr[MAX_PROCESSES]; //@ Cell ID for the top of the dictionary
int interp_sp[MAX_PROCESSES]; //@ Cell ID for the top of the stack

#endif

1 change: 1 addition & 0 deletions include/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ extern int spawn(void(*fn)(int));
extern int fork();
extern void kill(int);
extern int renice(int, int);
#define MAX_PROCESSES 512

// from kb.c
extern void keyboard_install();
Expand Down
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ src: clean
gcc -Wall -mtune=i386 -mno-mmx -mno-3dnow -mno-sse2 -mno-sse3 -mno-sse -mno-tls-direct-seg-refs -nostdlib -nostdinc -ffreestanding -c -o kb.o -I../include/ kb.c
gcc -Wall -mtune=i386 -mno-mmx -mno-3dnow -mno-sse2 -mno-sse3 -mno-sse -mno-tls-direct-seg-refs -nostdlib -nostdinc -ffreestanding -c -o vga.o -I../include/ vga.c
gcc -Wall -mtune=i386 -mno-mmx -mno-3dnow -mno-sse2 -mno-sse3 -mno-sse -mno-tls-direct-seg-refs -nostdlib -nostdinc -ffreestanding -c -o zz.o -I../include/ zz.c
gcc -Wall -mtune=i386 -mno-mmx -mno-3dnow -mno-sse2 -mno-sse3 -mno-sse -mno-tls-direct-seg-refs -nostdlib -nostdinc -ffreestanding -c -o zx.o -I../include/ zx.c
gcc -Wall -mtune=i386 -mno-mmx -mno-3dnow -mno-sse2 -mno-sse3 -mno-sse -mno-tls-direct-seg-refs -nostdlib -nostdinc -ffreestanding -c -o kaukatcr.o -I../include/ kaukatcr.c
ld -nostdlib -Tlink.ld *.o -o image.elf

image: clean src
Expand Down
1 change: 0 additions & 1 deletion src/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ static void runproc(); // not exported
void(*proc)(int);

#define DEFAULT_PRIORITY 1
#define MAX_PROCESSES 512
#define JIFFY 18.222 //@ We might change the timer frequency later

int atomicity; //@ multithreading disabled?
Expand Down

0 comments on commit f5c8b1a

Please sign in to comment.