blob: 4e771c22d6a97f56beb71e59b59dc2f1df12d39d [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _M68K_ATARI_STRAM_H
2#define _M68K_ATARI_STRAM_H
3
4/*
5 * Functions for Atari ST-RAM management
6 */
7
8/* public interface */
Michael Schmitz217bbd82010-11-01 19:54:00 +01009void *atari_stram_alloc(unsigned long size, const char *owner);
Linus Torvalds1da177e2005-04-16 15:20:36 -070010void atari_stram_free(void *);
Michael Schmitzfded3322014-03-31 21:06:05 +130011void *atari_stram_to_virt(unsigned long phys);
12unsigned long atari_stram_to_phys(void *);
Linus Torvalds1da177e2005-04-16 15:20:36 -070013
14/* functions called internally by other parts of the kernel */
15void atari_stram_init(void);
16void atari_stram_reserve_pages(void *start_mem);
Linus Torvalds1da177e2005-04-16 15:20:36 -070017
18#endif /*_M68K_ATARI_STRAM_H */