# HG changeset patch # User Pascal Bellard # Date 1216651555 0 # Node ID a08b2e53cf9600f6d48c408a61296b4324b63cbd # Parent c135cd14d7895af67478e6ce2a424770f10a9256 gpxe: accept empty cmdline diff -r c135cd14d789 -r a08b2e53cf96 gpxe/stuff/cmdline.u --- a/gpxe/stuff/cmdline.u Mon Jul 21 14:22:01 2008 +0000 +++ b/gpxe/stuff/cmdline.u Mon Jul 21 14:45:55 2008 +0000 @@ -30,7 +30,7 @@ /* Calculated lcall to _start with %cs:0000 = image start */ lret -@@ -448,7 +449,23 @@ +@@ -448,7 +449,25 @@ /* We're now at the beginning of the kernel proper. */ @@ -42,6 +42,8 @@ + jne run_etherboot + lodsw + xchg %ax, %si ++ cmpb (%si),%ah ++ je run_etherboot + push %ds + pop %es + movw $boot_url, %di