b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | #ifndef _M68K_ATARI_STRAM_H |
| 3 | #define _M68K_ATARI_STRAM_H |
| 4 | |
| 5 | /* |
| 6 | * Functions for Atari ST-RAM management |
| 7 | */ |
| 8 | |
| 9 | /* public interface */ |
| 10 | void *atari_stram_alloc(unsigned long size, const char *owner); |
| 11 | void atari_stram_free(void *); |
| 12 | void *atari_stram_to_virt(unsigned long phys); |
| 13 | unsigned long atari_stram_to_phys(void *); |
| 14 | |
| 15 | /* functions called internally by other parts of the kernel */ |
| 16 | void atari_stram_init(void); |
| 17 | void atari_stram_reserve_pages(void *start_mem); |
| 18 | |
| 19 | #endif /*_M68K_ATARI_STRAM_H */ |