/*
 * This file has been modified as part of the FreeMiNT project. See
 * the file Changes.MH for details and dates.
 */

# ifndef _m68k_mprot_h
# define _m68k_mprot_h

# include "mint/mint.h"
# include "mint/mem.h"


extern int no_mem_prot;

extern long page_table_size;
extern ulong mem_prot_flags;
extern ulong mint_top_st;
extern ulong mint_top_tt;	

void init_tables (void);
int get_prot_mode (MEMREGION *);
void mark_region (MEMREGION *region, short int mode);
void mark_proc_region (PROC *proc, MEMREGION *region, short int mode);
int prot_temp (ulong loc, ulong len, int mode);
void init_page_table (PROC *proc);
void mem_prot_special (PROC *proc);
void QUICKDUMP (void);
void report_buserr (void);
void BIG_MEM_DUMP (int bigone, PROC *proc);
int mem_access_for (PROC *p, ulong where, long len);


# endif /* _m68k_mprot_h */
