blob: 3ac6f99b095c040dfd68d4368a7fd89fdb3ad683 [file] [log] [blame]
Tom Lendacky7744ccd2017-07-17 16:10:03 -05001/*
2 * AMD Memory Encryption Support
3 *
4 * Copyright (C) 2016 Advanced Micro Devices, Inc.
5 *
6 * Author: Tom Lendacky <thomas.lendacky@amd.com>
7 *
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.
11 */
12
13#include <linux/linkage.h>
Tom Lendacky5868f362017-07-17 16:10:05 -050014#include <linux/init.h>
Tom Lendacky7744ccd2017-07-17 16:10:03 -050015
16/*
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.
20 */
21unsigned long sme_me_mask __section(.data) = 0;
22EXPORT_SYMBOL_GPL(sme_me_mask);
Tom Lendacky5868f362017-07-17 16:10:05 -050023
24void __init sme_encrypt_kernel(void)
25{
26}
27
28void __init sme_enable(void)
29{
30}