Commit eac9563
x86/boot: Set EFI handover offset directly in header asm
The offsets of the EFI handover entrypoints are available to the
assembler when constructing the header, so there is no need to set them
from the build tool afterwards.
This change has no impact on the resulting bzImage binary.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230915171623.655440-12-ardb@google.com1 parent 2e765c0 commit eac9563
2 files changed
Lines changed: 17 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
524 | 524 | | |
525 | 525 | | |
526 | 526 | | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
527 | 543 | | |
528 | | - | |
| 544 | + | |
529 | 545 | | |
530 | 546 | | |
531 | 547 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | 58 | | |
61 | 59 | | |
62 | 60 | | |
| |||
265 | 263 | | |
266 | 264 | | |
267 | 265 | | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | 266 | | |
287 | 267 | | |
288 | 268 | | |
289 | 269 | | |
290 | 270 | | |
291 | 271 | | |
292 | | - | |
293 | 272 | | |
294 | 273 | | |
295 | 274 | | |
| |||
332 | 311 | | |
333 | 312 | | |
334 | 313 | | |
335 | | - | |
336 | | - | |
337 | 314 | | |
338 | 315 | | |
339 | 316 | | |
| |||
416 | 393 | | |
417 | 394 | | |
418 | 395 | | |
419 | | - | |
420 | 396 | | |
421 | 397 | | |
422 | 398 | | |
| |||
0 commit comments