summaryrefslogtreecommitdiff
path: root/Config.h
diff options
context:
space:
mode:
authorMark Whitley2001-04-20 17:40:33 +0000
committerMark Whitley2001-04-20 17:40:33 +0000
commit3e310ac309a3d61c5d2b651e200a625f71d9faa4 (patch)
tree2b016a3098f06fc60b812281614b26b9bdb3bd25 /Config.h
parent6ebd63382931ce047de3f801e9cb0ae41007242c (diff)
downloadbusybox-3e310ac309a3d61c5d2b651e200a625f71d9faa4.zip
busybox-3e310ac309a3d61c5d2b651e200a625f71d9faa4.tar.gz
Applied patch from Larry Doolittle to give users the third option of putting
buffers in BSS (in addition to stack and heap).
Diffstat (limited to 'Config.h')
-rw-r--r--Config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Config.h b/Config.h
index 8c80f8e..4c0a332 100644
--- a/Config.h
+++ b/Config.h
@@ -144,6 +144,11 @@
// them put on the stack. For some very small machines with limited stack
// space, this can be deadly. For most folks, this works just fine...
//#define BB_FEATURE_BUFFERS_GO_ON_STACK
+// The third alternative for buffer allocation is to use BSS. This works
+// beautifully for computers with a real MMU (and OS support), but wastes
+// runtime RAM for uCLinux. This behavior was the only one available for
+// BusyBox versions 0.48 and earlier.
+//#define BB_FEATURE_BUFFERS_GO_IN_BSS
//
// Turn this on to use Erik's very cool devps, and devmtab kernel drivers,
// thereby eliminating the need for the /proc filesystem and thereby saving