Skip to content
This repository has been archived by the owner on Jan 28, 2023. It is now read-only.

Remove legacy VTLB engine #386

Merged
merged 1 commit into from
Jun 22, 2021
Merged

Remove legacy VTLB engine #386

merged 1 commit into from
Jun 22, 2021

Conversation

wcwang
Copy link
Contributor

@wcwang wcwang commented Jun 2, 2021

As the new memory virtualization engine EPT2 (Extended Page Table) has been stable, the VTLB codes are deprecated.

Change summary:

  • Removes the VTLB implementation and header files, and update the project files for 4 platforms;
  • Removes the related variables in other modules and redundant memory allocation for VTLB structure;
  • Adds the MMIO module to manage MMIO related functions.

As the new memory virtualization engine EPT2 (Extended Page Table) has
been stable, the VTLB codes are deprecated.

Change summary:

* Removes the VTLB implementation and header files, and update the
  project files for 4 platforms;
* Removes the related variables in other modules and redundant memory
  allocation for VTLB structure;
* Adds the MMIO module to manage MMIO related functions.

Signed-off-by: Wenchao Wang <[email protected]>
@wcwang wcwang requested review from coxuintel and hyuan3 June 2, 2021 10:03
@@ -0,0 +1,95 @@
/*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If mmio.h and mmio.c are not related with VTLB code clean, better submit in another commit.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your careful review. These MMIO functions had already existed in VTLB module before. All functions will be invoked by vCPU module currently, so they cannot be omitted because of build reason. All changes this time are atomic. For more details, see the comments at line 727 in previous vtlb.c.

@wcwang wcwang added the CI:Build Pass CI:Build Pass label Jun 22, 2021
@wcwang wcwang merged commit 03e8e17 into master Jun 22, 2021
@wcwang wcwang deleted the vtlb-cleanup branch June 22, 2021 11:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CI:Build Pass CI:Build Pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants