-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add functionality to set Write Allocate register.
Takes into account 15-16M hole too. Provides "setWriteAllocateManual", a function to set manual range + Hole flag for later when we allow custom parameters. Also provides "setWriteAllocateForSystemRAM", which finds the total system memory size and sets write allocate for it. It interprets the result of the Int15h call to find out if the 15- 16M hole needs to be respected. The underlying assembly function called "k6_setWriteAllocate" takes care of the actual WHCR MSR.
- Loading branch information
Eric Voirin
committed
Aug 26, 2021
1 parent
7812bd5
commit 213c2d5
Showing
5 changed files
with
112 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters