The bzImage boot protocol allows the real-mode code to be loaded at any segment within base memory. (The fact that both iPXE and recent versions of Syslinux will load the real-mode code at 1000:0000 is a coincidence; it is not guaranteed by the specification.) Fix by making the code relocatable. Reported-by: Andrew Stuart <andrew@shopcusa.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
 Michael Brown
						
						11 years ago
							Michael Brown
						
						11 years ago
					|  |  | ||
| 1 |  | 1 |  | 
| 2 |  | 2 |  | 
| 3 |  |  | |
| 4 |  | 3 |  | 
| 5 |  | 4 |  | 
| 6 |  | 5 |  | 
|  |  | ||
| 61 |  | 60 |  | 
| 62 |  | 61 |  | 
| 63 |  | 62 |  | 
| 64 |  |  | |
|  | 63 |  | |
| 65 |  | 64 |  | 
| 66 |  | 65 |  | 
| 67 |  | 66 |  | 
|  |  | ||
| 114 |  | 113 |  | 
| 115 |  | 114 |  | 
| 116 |  | 115 |  | 
| 117 |  |  | |
|  | 116 |  | |
|  | 117 |  | |
|  | 118 |  | |
| 118 |  | 119 |  | 
| 119 |  | 120 |  | 
| 120 |  | 121 |  |