summaryrefslogtreecommitdiff
path: root/core/include/fs.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2011-04-25 11:46:56 -0700
committerH. Peter Anvin <hpa@zytor.com>2011-04-25 11:46:56 -0700
commit9ca79e92e60dd243c60e257a2dc60ba7b3677f37 (patch)
tree9d1d18a4b4137ae32e691bd29362cbebd05e7dec /core/include/fs.h
parent914738aeea9729cd6e633e353d6b3442cc3458da (diff)
downloadsyslinux-9ca79e92e60dd243c60e257a2dc60ba7b3677f37.tar.gz
PXE Cleanups, allow for 128 open files
Clean up dead code in the PXE stack. The buffer assignment no longer limits the number of open files either, so raise it to something more than reasonable. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core/include/fs.h')
-rw-r--r--core/include/fs.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/core/include/fs.h b/core/include/fs.h
index ecd148da..4301481e 100644
--- a/core/include/fs.h
+++ b/core/include/fs.h
@@ -11,12 +11,9 @@
#include "disk.h"
/*
- * Maximum number of open files. This is *currently* constrained by the
- * fact that PXE needs to be able to fit all its packet buffers into a
- * 64K segment; this should be fixed by moving the packet buffers to high
- * memory.
+ * Maximum number of open files.
*/
-#define MAX_OPEN_LG2 5
+#define MAX_OPEN_LG2 7
#define MAX_OPEN (1 << MAX_OPEN_LG2)
#define FILENAME_MAX_LG2 8