mmu.h 1000 B

123456789101112131415161718192021222324252627
  1. /* Copyright (C) 2015 Goswin von Brederlow <goswin-v-b@web.de>
  2. This program is free software; you can redistribute it and/or modify
  3. it under the terms of the GNU General Public License as published by
  4. the Free Software Foundation; either version 3 of the License, or
  5. (at your option) any later version.
  6. This program is distributed in the hope that it will be useful,
  7. but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  9. GNU General Public License for more details.
  10. You should have received a copy of the GNU General Public License
  11. along with this program; if not, write to the Free Software
  12. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  13. */
  14. /*
  15. * MMU support for the Raspberry Pi
  16. */
  17. #ifndef KERNEL_MMU_H
  18. #define KERNEL_MMU_H 1
  19. void init_page_table(void);
  20. void mmu_init(void);
  21. void map(uint32_t slot, uint32_t phys_addr);
  22. void unmap(uint32_t slot);
  23. #endif // #ifndef KERNEL_MMU_H