Browse Source

[prefix] Remove unsupported .exe prefix

The unfinished .exe prefix was brought over from legacy Etherboot.
There has been no demand for .exe images so this patch removes the
prefix.

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Signed-off-by: Marty Connor <mdc@etherboot.org>
tags/v1.0.0
Stefan Hajnoczi 14 years ago
parent
commit
9a89f0d17d
2 changed files with 0 additions and 42 deletions
  1. 0
    1
      src/arch/i386/Makefile.pcbios
  2. 0
    41
      src/arch/i386/prefix/exeprefix.S

+ 0
- 1
src/arch/i386/Makefile.pcbios View File

@@ -25,7 +25,6 @@ MEDIA		+= dsk
25 25
 MEDIA		+= nbi
26 26
 MEDIA		+= hd
27 27
 MEDIA		+= raw
28
-MEDIA		+= exe
29 28
 
30 29
 # Padding rules
31 30
 #

+ 0
- 41
src/arch/i386/prefix/exeprefix.S View File

@@ -1,41 +0,0 @@
1
-/*
2
-	Prefix for .exe images
3
-	Doesn't work yet, even though it starts off the same as a .com
4
-	image as shown by DOS debug.
5
-*/
6
-
7
-	.text
8
-	.code16
9
-	.arch i386
10
-	.section	".prefix", "ax", @progbits
11
-
12
-_prefix:
13
-	.byte	'M', 'Z'
14
-	.short	_exe_size_tail			/* tail */
15
-	.short	_exe_size_pages			/* pages */
16
-	.short	0				/* relocations */
17
-	.short	2				/* header paras */
18
-	.short	_exe_bss_size			/* min */
19
-	.short	0xFFFF				/* max paras */
20
-	.short	_exe_ss_offset			/* SS */
21
-	.short	_stack_size			/* SP */
22
-	.short	0				/* checksum */
23
-	.short	0				/* IP */
24
-	.short	0				/* CS */
25
-	.short	0x1C				/* reloc offset */
26
-	.short	0				/* overlay number */
27
-	.short	0				/* fill */
28
-	.short	0				/* fill */
29
-
30
-	.section ".text16", "ax", @progbits
31
-prefix_exit:
32
-	movw	$0x4c00,%ax		/* return to DOS */
33
-	int	$0x21			/* reach this on Quit */
34
-prefix_exit_end:
35
-	.previous
36
-
37
-/* The body of etherboot is attached here at build time.
38
- * Force 16 byte alignment
39
- */
40
-	.align 16,0
41
-_body: 

Loading…
Cancel
Save