X-Git-Url: http://git.subgeniuskitty.com/pdp11-memory-test/.git/blobdiff_plain/8c0bb8d8496fbd7d615562ddcce1c38c2c7cb79f..d1f2db4b4e16abf4a7e2b98f0f329d458ef9563e:/pdp11_mmu.h diff --git a/pdp11_mmu.h b/pdp11_mmu.h new file mode 100644 index 0000000..9280850 --- /dev/null +++ b/pdp11_mmu.h @@ -0,0 +1,15 @@ +// (c) 2020 Aaron Taylor +// See License.txt file for copyright and license details. + +#ifndef SGK_PDP11_MMU_H +#define SGK_PDP11_MMU_H + +/* + * Initializes the MMU with a 22-bit kernel-mode I-space map that relocates the + * MMIO page to the physical MMIO region at the top of the physical address + * space while leaving the lower 56kB identity mapped. Assumes the CPU is + * already running in kernel mode with MMU hardware disabled. + */ +void init_mmu(void); + +#endif // SGK_PDP11_MMU_H