aboutsummaryrefslogtreecommitdiff
path: root/pk/file.c
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@s144.Millennium.Berkeley.EDU>2010-10-18 01:47:09 -0700
committerAndrew Waterman <waterman@s144.Millennium.Berkeley.EDU>2010-10-18 01:47:09 -0700
commit77c382ff239f61ee9846a7abb6d96a6434b52b56 (patch)
tree44be4c6cf17b74bd0d87c2498c5a781f9be11156 /pk/file.c
parent68879a67d0f49323e1e2f8358d19bc1d94bb9f30 (diff)
downloadriscv-pk-77c382ff239f61ee9846a7abb6d96a6434b52b56.zip
riscv-pk-77c382ff239f61ee9846a7abb6d96a6434b52b56.tar.gz
riscv-pk-77c382ff239f61ee9846a7abb6d96a6434b52b56.tar.bz2
[pk] improved performance of fp emulation
Diffstat (limited to 'pk/file.c')
-rw-r--r--pk/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pk/file.c b/pk/file.c
index fd063d9..febd9f7 100644
--- a/pk/file.c
+++ b/pk/file.c
@@ -4,9 +4,9 @@
#include "pk.h"
#include "frontend.h"
-#define MAX_FDS 1000
+#define MAX_FDS 128
file_t* fds[MAX_FDS];
-#define MAX_FILES 1000
+#define MAX_FILES 128
file_t files[MAX_FILES] = {[0 ... MAX_FILES-1] = {-1,{0}}};
file_t *stdout, *stdin, *stderr;