https://github.com/torvalds/linux
Raw File
Tip revision: 15ade5d2e7775667cf191cf2f94327a4889f8b9d authored by Linus Torvalds on 08 April 2019, 00:09:59 UTC
Linux 5.1-rc4
Tip revision: 15ade5d
atari_stram.h
/* SPDX-License-Identifier: GPL-2.0 */
#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 */
back to top