Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #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 Schmitz | 217bbd8 | 2010-11-01 19:54:00 +0100 | [diff] [blame] | 9 | void *atari_stram_alloc(unsigned long size, const char *owner); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | void atari_stram_free(void *); |
Michael Schmitz | fded332 | 2014-03-31 21:06:05 +1300 | [diff] [blame] | 11 | void *atari_stram_to_virt(unsigned long phys); |
| 12 | unsigned long atari_stram_to_phys(void *); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | |
| 14 | /* functions called internally by other parts of the kernel */ |
| 15 | void atari_stram_init(void); |
| 16 | void atari_stram_reserve_pages(void *start_mem); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | |
| 18 | #endif /*_M68K_ATARI_STRAM_H */ |