changeset 144:cf569b2ab76c

Removed a magic number
author Jonathan Pevarnek <pevarnj@gmail.com>
date Thu, 22 Sep 2011 16:12:27 -0400
parents 73cf7b972c19
children 03be5ed1f609
files include/os/pcb.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/include/os/pcb.h	Thu Sep 22 16:11:50 2011 -0400
+++ b/include/os/pcb.h	Thu Sep 22 16:12:27 2011 -0400
@@ -5,7 +5,7 @@
 #include <os/svc.h>
 
 typedef struct {
-	u64 registers[16];
+	u64 registers[NUM_GPRS];
 	Psw psw;
 } PCB;