From 57f0f512b273f60d52568b8c6b77e17f5636edc0 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 5 Aug 2015 17:04:01 -0300 Subject: Initial import --- arch/m68k/include/asm/atari_stram.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 arch/m68k/include/asm/atari_stram.h (limited to 'arch/m68k/include/asm/atari_stram.h') diff --git a/arch/m68k/include/asm/atari_stram.h b/arch/m68k/include/asm/atari_stram.h new file mode 100644 index 000000000..4e771c22d --- /dev/null +++ b/arch/m68k/include/asm/atari_stram.h @@ -0,0 +1,18 @@ +#ifndef _M68K_ATARI_STRAM_H +#define _M68K_ATARI_STRAM_H + +/* + * Functions for Atari ST-RAM management + */ + +/* public interface */ +void *atari_stram_alloc(unsigned long size, const char *owner); +void atari_stram_free(void *); +void *atari_stram_to_virt(unsigned long phys); +unsigned long atari_stram_to_phys(void *); + +/* functions called internally by other parts of the kernel */ +void atari_stram_init(void); +void atari_stram_reserve_pages(void *start_mem); + +#endif /*_M68K_ATARI_STRAM_H */ -- cgit v1.2.3-54-g00ecf