X-Git-Url: http://git.subgeniuskitty.com/pdp11-modern-c/.git/blobdiff_plain/846f4d60e4994a39decd6c27463411f53965fc60..202004d54803c861f7fbaa9169eaad750c63f7cf:/pdp11/pdp11_mmu.h diff --git a/pdp11/pdp11_mmu.h b/pdp11/pdp11_mmu.h new file mode 100644 index 0000000..9280850 --- /dev/null +++ b/pdp11/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