atari_stram.h 528 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _M68K_ATARI_STRAM_H
  3. #define _M68K_ATARI_STRAM_H
  4. /*
  5. * Functions for Atari ST-RAM management
  6. */
  7. /* public interface */
  8. void *atari_stram_alloc(unsigned long size, const char *owner);
  9. void atari_stram_free(void *);
  10. void *atari_stram_to_virt(unsigned long phys);
  11. unsigned long atari_stram_to_phys(void *);
  12. /* functions called internally by other parts of the kernel */
  13. void atari_stram_init(void);
  14. void atari_stram_reserve_pages(void *start_mem);
  15. #endif /*_M68K_ATARI_STRAM_H */