aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiu Aleaxander <Aleaxander@gmail.com>2009-08-05 18:07:02 +0800
committerLiu Aleaxander <Aleaxander@gmail.com>2009-08-05 18:07:02 +0800
commit8c937d26bdc76959f8490718aa4ab3a26263b727 (patch)
tree681dbca1a9cae73028188b40c3dff46c1ecac065
parentdf3f09687ed7eff6431b640317273aea17b7b87f (diff)
downloadpxelinux-8c937d26bdc76959f8490718aa4ab3a26263b727.tar.gz
pxelinux-8c937d26bdc76959f8490718aa4ab3a26263b727.tar.xz
pxelinux-8c937d26bdc76959f8490718aa4ab3a26263b727.zip
Core:PXELINUX: code clean -- 5
-rw-r--r--core/pxe.c26
1 files changed, 1 insertions, 25 deletions
diff --git a/core/pxe.c b/core/pxe.c
index 67b7d6bd..9f32ae36 100644
--- a/core/pxe.c
+++ b/core/pxe.c
@@ -595,30 +595,6 @@ int gendotquad(char *dst, uint32_t ip)
return p - dst;
}
-/*
-void genipopt(com32sys_t *regs)
-{
- extern char IPOption[];
- extern uint32_t MyIP;
- extern uint32_t ServerIP;
- extern uint32_t Gateway;
- extern uint32_t Netmask;
-
- char *p = IPOtion;
-
- strcat(p, "ip=");
- p += 3;
-
- regs->edi.w[0] = p;
- regs->eax.l = MyIP;
- gendotquad(regs);
- p = regs->edi.w[0];
- *p++ = ':';
-
- ............;
-}
-*********************************/
-
/**
* try to load a config file, if found, return 1, or return 0
*
@@ -1599,7 +1575,7 @@ void pxe_init(com32sys_t *regs)
/* Found nothing at all !! */
printf("%s\n", err_nopxe);
- call16(kaboom, regs, regs);
+ call16(kaboom, NULL, NULL);
have_pxenv:
StructPtr[0] = off;