um_mmu.h 841 B

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