mirror of
https://github.com/0xAX/linux-insides.git
synced 2024-12-22 14:48:08 +00:00
Merge pull request #636 from dragonly/linux-initialization-1-fix
Linux initialization 1 fix
This commit is contained in:
commit
29f893bc6b
@ -125,7 +125,7 @@ where `PMD_PAGE_SIZE` macro is defined as:
|
|||||||
|
|
||||||
As we can easily calculate, `PMD_PAGE_SIZE` is `2` megabytes.
|
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
|
```C
|
||||||
sme_enable(bp);
|
sme_enable(bp);
|
||||||
|
@ -121,3 +121,4 @@ Thank you to all contributors:
|
|||||||
* [Miha Zidar](https://github.com/zidarsk8)
|
* [Miha Zidar](https://github.com/zidarsk8)
|
||||||
* [Ivan Kovnatsky](https://github.com/sevenfourk)
|
* [Ivan Kovnatsky](https://github.com/sevenfourk)
|
||||||
* [Takuya Yamamoto](https://github.com/tkyymmt)
|
* [Takuya Yamamoto](https://github.com/tkyymmt)
|
||||||
|
* [Dragonly](https://github.com/dragonly)
|
||||||
|
Loading…
Reference in New Issue
Block a user