diff options
author | H. Peter Anvin <hpa@zytor.com> | 2011-04-25 16:37:24 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2011-04-25 16:37:24 -0700 |
commit | 05fc41096ac07358660e96e138890999bcab89df (patch) | |
tree | 8ae30a1d4ac5746540e7d557a8761be83334ecf7 /core/fs/fs.c | |
parent | bda96619d55607fd581949a151e74e26394e274e (diff) | |
download | syslinux-05fc41096ac07358660e96e138890999bcab89df.tar.gz |
core: dynamically size the heap
Dynamically size the heap to 1/16 of available high memory.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core/fs/fs.c')
-rw-r--r-- | core/fs/fs.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/core/fs/fs.c b/core/fs/fs.c index ad2fb370..54099860 100644 --- a/core/fs/fs.c +++ b/core/fs/fs.c @@ -429,9 +429,6 @@ void fs_init(com32sys_t *regs) /* ops is a ptr list for several fs_ops */ const struct fs_ops **ops = (const struct fs_ops **)regs->eax.l; - /* Initialize malloc() */ - mem_init(); - /* Default name for the root directory */ fs.cwd_name[0] = '/'; |