PageRenderTime 24ms CodeModel.GetById 19ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/arch/um/include/um_mmu.h

https://bitbucket.org/evzijst/gittest
C Header | 40 lines | 19 code | 7 blank | 14 comment | 0 complexity | 2a3eeb71cc207894c36ae03f9789491b MD5 | raw file
 1/* 
 2 * Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
 3 * Licensed under the GPL
 4 */
 5
 6#ifndef __ARCH_UM_MMU_H
 7#define __ARCH_UM_MMU_H
 8
 9#include "uml-config.h"
10#include "choose-mode.h"
11
12#ifdef UML_CONFIG_MODE_TT
13#include "mmu-tt.h"
14#endif
15
16#ifdef UML_CONFIG_MODE_SKAS
17#include "mmu-skas.h"
18#endif
19
20typedef union mm_context {
21#ifdef UML_CONFIG_MODE_TT
22	struct mmu_context_tt tt;
23#endif
24#ifdef UML_CONFIG_MODE_SKAS
25	struct mmu_context_skas skas;
26#endif
27} mm_context_t;
28
29#endif
30
31/*
32 * Overrides for Emacs so that we follow Linus's tabbing style.
33 * Emacs will notice this stuff at the end of the file and automatically
34 * adjust the settings for this buffer only.  This must remain at the end
35 * of the file.
36 * ---------------------------------------------------------------------------
37 * Local variables:
38 * c-file-style: "linux"
39 * End:
40 */