Commit b93a793
AMDSL: Add SKINIT reserved section and ensure SKL is 64KB long
A section of size 0x740 must the carved out just after the measured
portion of the SKL for the signature header, signature and public key.
The .fill directive ensures we have enough space in there and the
signing process does not crash into other sections.
In addition, adding ". = 0xFFF4" is a preliminary approach to ensure that
SKL is 64KB long. The extra missing 0xC bytes are produced by the .got.plt
section. A cleaner approach might be to use ALIGN() linker directives.
Signed-off-by: Jagannathan Raman <[email protected]>1 parent b27a656 commit b93a793
2 files changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
316 | 320 | | |
317 | 321 | | |
318 | 322 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
52 | 58 | | |
53 | 59 | | |
54 | 60 | | |
| |||
73 | 79 | | |
74 | 80 | | |
75 | 81 | | |
| 82 | + | |
| 83 | + | |
76 | 84 | | |
77 | 85 | | |
78 | 86 | | |
| |||
0 commit comments