[syslinux:master] memdisk/setup: remove unneeded code associated with int15maxres
syslinux-bot for Gene Cumm
gene.cumm at gmail.com
Wed Mar 2 15:12:40 PST 2011
Commit-ID: 9db4955a474ef60e9f405fad37aa3bf9ab358c7f
Gitweb: http://syslinux.zytor.com/commit/9db4955a474ef60e9f405fad37aa3bf9ab358c7f
Author: Gene Cumm <gene.cumm at gmail.com>
AuthorDate: Sun, 6 Feb 2011 23:16:57 -0500
Committer: Gene Cumm <gene.cumm at gmail.com>
CommitDate: Sun, 6 Feb 2011 23:16:57 -0500
memdisk/setup: remove unneeded code associated with int15maxres
---
memdisk/setup.c | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
diff --git a/memdisk/setup.c b/memdisk/setup.c
index 9dad094..7286210 100644
--- a/memdisk/setup.c
+++ b/memdisk/setup.c
@@ -705,17 +705,6 @@ static int stack_needed(void)
return v;
}
-uint32_t getramtop(void)
-{
- if (high_mem) {
- return high_mem + (1<<24);
- } else if (low_mem) {
- return low_mem + (1<<20);
- } else {
- return 0;
- }
-}
-
/*
* Specify max RAM by reservation
* Adds a reservation to data in INT15h to prevent access to the top of RAM
@@ -723,11 +712,9 @@ uint32_t getramtop(void)
*/
void int15maxres(uint32_t restop)
{
- uint32_t ramtop;
struct e820range *ep;
const int int15restype = 2;
- ramtop = getramtop();
for (ep = ranges; ep->type != -1U; ep++) {
if (ep->type == 1) { /* Only if available */
if (ep->start >= restop) {
More information about the Syslinux-commits
mailing list