2019-05-29 22:18:00 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2017-07-11 09:07:09 +08:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2012 Regents of the University of California
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef _ASM_RISCV_MMU_H
|
|
|
|
#define _ASM_RISCV_MMU_H
|
|
|
|
|
|
|
|
#ifndef __ASSEMBLY__
|
|
|
|
|
|
|
|
typedef struct {
|
2019-10-28 20:10:41 +08:00
|
|
|
#ifndef CONFIG_MMU
|
|
|
|
unsigned long end_brk;
|
|
|
|
#endif
|
2017-07-11 09:07:09 +08:00
|
|
|
void *vdso;
|
2017-10-26 05:30:32 +08:00
|
|
|
#ifdef CONFIG_SMP
|
|
|
|
/* A local icache flush is needed before user execution can resume. */
|
|
|
|
cpumask_t icache_stale_mask;
|
|
|
|
#endif
|
2017-07-11 09:07:09 +08:00
|
|
|
} mm_context_t;
|
|
|
|
|
|
|
|
#endif /* __ASSEMBLY__ */
|
|
|
|
|
|
|
|
#endif /* _ASM_RISCV_MMU_H */
|