Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[pxe] Add a dummy PXENV+ entry point at UNDI_CS:0000
Wyse Streaming Manager server (WLDRM13.BIN) assumes that the PXENV+
entry point is at UNDI_CS:0000; apparently, somebody at Wyse has
difficulty distinguishing between the words "may" and "must"...

Add a dummy entry point at UNDI_CS:0000, which just jumps to the
correct entry point.
  • Loading branch information
Michael Brown committed Sep 6, 2008
1 parent 2e03610 commit c0beec8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
10 changes: 10 additions & 0 deletions src/arch/i386/interface/pxe/pxe_entry.S
Expand Up @@ -103,6 +103,16 @@ pxenv:
* none
****************************************************************************
*/
/* Wyse Streaming Manager server (WLDRM13.BIN) assumes that
* the PXENV+ entry point is at UNDI_CS:0000; apparently,
* somebody at Wyse has difficulty distinguishing between the
* words "may" and "must"...
*/
.section ".text16.null"
.code16
pxenv_null_entry:
jmp pxenv_entry

.section ".text16"
.code16
pxenv_entry:
Expand Down
4 changes: 3 additions & 1 deletion src/arch/i386/scripts/i386.lds
Expand Up @@ -66,10 +66,12 @@ SECTIONS {
. = _text16_link_addr;
_text16 = .;

. += 1; /* Prevent NULL being valid */
/* We need to allow code at the NULL address in .text16 */

.text16 : AT ( _text16_load_offset + __text16 ) {
__text16 = .;
*(.text16.null)
. += 1; /* Prevent NULL being valid */
*(.text16)
*(.text16.*)
_etext16_progbits = .;
Expand Down

0 comments on commit c0beec8

Please sign in to comment.