1
0
mirror of https://github.com/0xAX/linux-insides.git synced 2024-12-22 06:38:07 +00:00

Merge pull request #636 from dragonly/linux-initialization-1-fix

Linux initialization 1 fix
This commit is contained in:
0xAX 2018-11-18 00:10:28 +06:00 committed by GitHub
commit 29f893bc6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -125,7 +125,7 @@ where `PMD_PAGE_SIZE` macro is defined as:
As we can easily calculate, `PMD_PAGE_SIZE` is `2` megabytes.
If [SME](https://en.wikipedia.org/wiki/Zen_(microarchitecture)#Enhanced_security_and_virtualization_support) is supported and enabled, we activate it and include the SME encryption mask in `load_delta`:
If [SME](https://en.wikipedia.org/wiki/Zen_%28microarchitecture%29#Enhanced_security_and_virtualization_support) is supported and enabled, we activate it and include the SME encryption mask in `load_delta`:
```C
sme_enable(bp);

View File

@ -121,3 +121,4 @@ Thank you to all contributors:
* [Miha Zidar](https://github.com/zidarsk8)
* [Ivan Kovnatsky](https://github.com/sevenfourk)
* [Takuya Yamamoto](https://github.com/tkyymmt)
* [Dragonly](https://github.com/dragonly)