confidential-containers / td-shim

Confidential Containers Shim Firmware
Other
97 stars 53 forks source link

ResetVector: remove 5-level paging #738

Closed gaojiaqi7 closed 1 month ago

gaojiaqi7 commented 2 months ago

5-level paging is not necessary in td-shim, remove the related code and page table entry in reset vector.

As the level 5 entry is removed, update the size of ResetVector in image layout.

This PR should close https://github.com/confidential-containers/td-shim/issues/734 as GPAW is no longer needed.

jyao1 commented 2 months ago

Need check CR4.LA57.