]>
git.ipfire.org Git - people/arne_f/kernel.git/blob - arch/x86/mm/mem_encrypt.c
2 * AMD Memory Encryption Support
4 * Copyright (C) 2016 Advanced Micro Devices, Inc.
6 * Author: Tom Lendacky <thomas.lendacky@amd.com>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
13 #include <linux/linkage.h>
14 #include <linux/init.h>
17 * Since SME related variables are set early in the boot process they must
18 * reside in the .data section so as not to be zeroed out when the .bss
19 * section is later cleared.
21 unsigned long sme_me_mask
__section(.data
) = 0;
22 EXPORT_SYMBOL_GPL(sme_me_mask
);
24 void __init
sme_encrypt_kernel(void)
28 void __init
sme_enable(void)