Files
mckernel/kernel/include/xpmem.h
Masamichi Takagi 6332903f0d Revert "xpmem: Support large page attachment"
This reverts commit a8696d811d.

Conflicts:
	kernel/include/process.h
	kernel/syscall.c
	kernel/xpmem.c

Change-Id: I726e74450f6228d3fc78fc62dda15b2067732a53
2020-06-16 13:25:57 +09:00

33 lines
808 B
C

/* xpmem.h COPYRIGHT FUJITSU LIMITED 2017 */
/**
* \file xpmem.h
* License details are found in the file LICENSE.
* \brief
* Structures and functions of xpmem
* \author Yoichi Umezawa <yoichi.umezawa.qh@hitachi.com> \par
* Copyright (C) 2016 Yoichi Umezawa
*/
/*
* HISTORY
*/
#ifndef _XPMEM_H
#define _XPMEM_H
#include <process.h>
#include <ihk/context.h>
#define XPMEM_DEV_PATH "/dev/xpmem"
int xpmem_open(const char *pathname,
int flags, ihk_mc_user_context_t *ctx);
int xpmem_openat(const char *pathname,
int flags, ihk_mc_user_context_t *ctx);
int xpmem_remove_process_memory_range(struct process_vm *vm,
struct vm_range *vmr);
int xpmem_fault_process_memory_range(struct process_vm *vm,
struct vm_range *vmr, unsigned long vaddr, uint64_t reason);
#endif /* _XPMEM_H */