/* This init function is called very early by atari/config.c It initializes some internal variables needed for stram_alloc()  */
void __init atari_stram_init(void)
/* This init function is called very early by atari/config.c It initializes some internal variables needed for stram_alloc()  */
void __init atari_stram_init(void)
{
	int i;
	for( i = 0; i < N_STATIC_BLOCKS; ++i )
		static_blocks[i].flags = BLOCK_FREE;
	stram_start = phys_to_virt(0);
	kernel_in_stram = (stram_start == 0);
	for( i = 0; i < m68k_num_memory; ++i ) {
		if (m68k_memory[i].addr == 0) {
			stram_end = stram_start + m68k_memory[i].size;
			return;
		}
	}
	panic( "atari_stram_init: no ST-RAM found!" );
}