We do not set up any kind of virtual addressing before invoking an ELFBoot image. Reject if the image's program headers indicate that virtual addresses are not equal to physical addresses. This avoids problems when loading some RHEL5 kernels, which seem to include ELFBoot headers using virtual addressing. With this change, these kernels are no longer detected as ELFBoot, and so may be (correctly) detected as bzImage instead. Reported-by: Torgeir.Wulfsberg@kongsberg.com Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
78 |
|
78 |
|
79 |
|
79 |
|
80 |
|
80 |
|
|
81 |
|
|
|
82 |
|
|
|
83 |
|
|
|
84 |
|
|
|
85 |
|
|
|
86 |
|
|
|
87 |
|
|
|
88 |
|
|
|
89 |
|
|
|
90 |
|
|
|
91 |
|
|
|
92 |
|
|
|
93 |
|
|
|
94 |
|
|
|
95 |
|
|
|
96 |
|
|
|
97 |
|
|
|
98 |
|
|
|
99 |
|
|
|
100 |
|
|
|
101 |
|
|
81 |
|
102 |
|
82 |
|
103 |
|
83 |
|
104 |
|
|
|
||
95 |
|
116 |
|
96 |
|
117 |
|
97 |
|
118 |
|
|
119 |
|
|
|
120 |
|
|
|
121 |
|
|
98 |
|
122 |
|
99 |
|
123 |
|
100 |
|
124 |
|
101 |
|
125 |
|
102 |
|
|
|
|
126 |
|
|
103 |
|
127 |
|
104 |
|
128 |
|
105 |
|
129 |
|
|
130 |
|
|
|
131 |
|
|
|
132 |
|
|
|
133 |
|
|
|
134 |
|
|
|
135 |
|
|
|
136 |
|
|
106 |
|
137 |
|
107 |
|
138 |
|
108 |
|
139 |
|
|
|
||
40 |
|
40 |
|
41 |
|
41 |
|
42 |
|
42 |
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
|
43 |
|
49 |
|
44 |
|
50 |
|
45 |
|
51 |
|
46 |
|
52 |
|
47 |
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
|
|
|
64 |
|
|
|
65 |
|
|
|
66 |
|
|
|
67 |
|
|
|
68 |
|
|
|
69 |
|
|
|
70 |
|
|
|
71 |
|
|
|
72 |
|
|
|
73 |
|
|
|
74 |
|
|
|
75 |
|
|
|
76 |
|
|
|
77 |
|
|
53 |
|
78 |
|
|
79 |
|
|
|
80 |
|
|
54 |
|
81 |
|
55 |
|
82 |
|
56 |
|
83 |
|
57 |
|
84 |
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
|
|
85 |
|
|
|
86 |
|
|
|
87 |
|
|
|
88 |
|
|
61 |
|
89 |
|
62 |
|
90 |
|
63 |
|
|
|
64 |
|
91 |
|
65 |
|
92 |
|
66 |
|
93 |
|
|
|
||
86 |
|
113 |
|
87 |
|
114 |
|
88 |
|
115 |
|
89 |
|
|
|
90 |
|
116 |
|
91 |
|
117 |
|
92 |
|
|
|
93 |
|
|
|
94 |
|
|
|
95 |
|
|
|
96 |
|
|
|
97 |
|
|
|
98 |
|
|
|
99 |
|
|
|
100 |
|
|
|
101 |
|
|
|
102 |
|
|
|
103 |
|
|
|
104 |
|
|
|
105 |
|
118 |
|
106 |
|
119 |
|
107 |
|
120 |
|
108 |
|
121 |
|
109 |
|
|
|
110 |
|
|
|
|
122 |
|
|
|
123 |
|
|
|
124 |
|
|
111 |
|
125 |
|
112 |
|
126 |
|
113 |
|
127 |
|
|
|
||
128 |
|
142 |
|
129 |
|
143 |
|
130 |
|
144 |
|
131 |
|
|
|
|
145 |
|
|
132 |
|
146 |
|
133 |
|
147 |
|
134 |
|
|
|
|
148 |
|
|
|
149 |
|
|
|
150 |
|
|
135 |
|
151 |
|
136 |
|
152 |
|
137 |
|
153 |
|
138 |
|
|
|
139 |
|
|
|
140 |
|
|
|
141 |
|
|
|
142 |
|
|
|
143 |
|
|
|
144 |
|
|
|
145 |
|
|
|
146 |
|
|
|
|
154 |
|
|
|
155 |
|
|
|
156 |
|
|
|
157 |
|
|
147 |
|
158 |
|
148 |
|
159 |
|
149 |
|
160 |
|
150 |
|
161 |
|
151 |
|
162 |
|
152 |
|
|
|
153 |
|
|
|
154 |
|
|
|
155 |
|
|
|
156 |
|
|
|
157 |
|
|
|
158 |
|
|
|
159 |
|
|
|
160 |
|
163 |
|
161 |
|
164 |
|
162 |
|
165 |
|
163 |
|
166 |
|
164 |
|
167 |
|
165 |
|
168 |
|
166 |
|
|
|
167 |
|
|
|
168 |
|
|
|
|
169 |
|
|
|
170 |
|
|
|
171 |
|
|
169 |
|
172 |
|
170 |
|
173 |
|
171 |
|
174 |
|
172 |
|
175 |
|
173 |
|
176 |
|
174 |
|
177 |
|
175 |
|
|
|
176 |
|
|
|
|
178 |
|
|
|
179 |
|
|
177 |
|
180 |
|
178 |
|
|
|
179 |
|
181 |
|
180 |
|
182 |
|
181 |
|
183 |
|
182 |
|
184 |
|
183 |
|
185 |
|
184 |
|
|
|
|
186 |
|
|
|
187 |
|
|
|
188 |
|
|
|
189 |
|
|
|
190 |
|
|
|
191 |
|
|
|
192 |
|
|
|
193 |
|
|
|
194 |
|
|
|
195 |
|
|
|
196 |
|
|
|
197 |
|
|
|
198 |
|
|
|
199 |
|
|
|
200 |
|
|
|
201 |
|
|
|
202 |
|
|
|
203 |
|
|
|
204 |
|
|
|
205 |
|
|
|
206 |
|
|
|
207 |
|
|
|
208 |
|
|
|
209 |
|
|
|
210 |
|
|
|
211 |
|
|
|
212 |
|
|
|
213 |
|
|
|
214 |
|
|
|
215 |
|
|
|
216 |
|
|
185 |
|
217 |
|
186 |
|
218 |
|
187 |
|
219 |
|
|
220 |
|
|
|
221 |
|
|
|
222 |
|
|
|
223 |
|
|
|
224 |
|
|
188 |
|
225 |
|
189 |
|
226 |
|
|
|
||
10 |
|
10 |
|
11 |
|
11 |
|
12 |
|
12 |
|
|
13 |
|
|
|
14 |
|
|
13 |
|
15 |
|
14 |
|
16 |
|
|
17 |
|
|
|
18 |
|
|
|
19 |
|
|
|
20 |
|
|
|
21 |
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
|
|
|
25 |
|
|
15 |
|
26 |
|
16 |
|
27 |
|
17 |
|
28 |
|