sgx.h (8be98d2f2a0a262f8bf8a0bc1fdf522b3c7aab17) | sgx.h (d6d261bded8a57aed4faa12d08a5b193418d3aa4) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _X86_SGX_H 3#define _X86_SGX_H 4 5#include <linux/bitops.h> 6#include <linux/err.h> 7#include <linux/io.h> 8#include <linux/rwsem.h> --- 12 unchanged lines hidden (view full) --- 21#define SGX_EEXTEND_BLOCK_SIZE 256 22#define SGX_NR_TO_SCAN 16 23#define SGX_NR_LOW_PAGES 32 24#define SGX_NR_HIGH_PAGES 64 25 26/* Pages, which are being tracked by the page reclaimer. */ 27#define SGX_EPC_PAGE_RECLAIMER_TRACKED BIT(0) 28 | 1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _X86_SGX_H 3#define _X86_SGX_H 4 5#include <linux/bitops.h> 6#include <linux/err.h> 7#include <linux/io.h> 8#include <linux/rwsem.h> --- 12 unchanged lines hidden (view full) --- 21#define SGX_EEXTEND_BLOCK_SIZE 256 22#define SGX_NR_TO_SCAN 16 23#define SGX_NR_LOW_PAGES 32 24#define SGX_NR_HIGH_PAGES 64 25 26/* Pages, which are being tracked by the page reclaimer. */ 27#define SGX_EPC_PAGE_RECLAIMER_TRACKED BIT(0) 28 |
29/* Pages on free list */ 30#define SGX_EPC_PAGE_IS_FREE BIT(1) 31 |
|
29struct sgx_epc_page { 30 unsigned int section; 31 unsigned int flags; 32 struct sgx_encl_page *owner; 33 struct list_head list; 34}; 35 36/* --- 62 unchanged lines hidden --- | 32struct sgx_epc_page { 33 unsigned int section; 34 unsigned int flags; 35 struct sgx_encl_page *owner; 36 struct list_head list; 37}; 38 39/* --- 62 unchanged lines hidden --- |