This PR implements helper functions that handle all aspects of changing the visibility of an SVSM-owned page, including performing PVALIDATE, tracking valid page status, requesting the page state change with the hypervisor, and changing the C-bit in the page tables.
This PR implements helper functions that handle all aspects of changing the visibility of an SVSM-owned page, including performing PVALIDATE, tracking valid page status, requesting the page state change with the hypervisor, and changing the C-bit in the page tables.