nios2: Memory management

This patch contains the initialisation of the memory blocks, MMU
attributes and the memory map.

Signed-off-by: Ley Foon Tan <lftan@altera.com>
This commit is contained in:
Ley Foon Tan
2014-11-06 15:19:41 +08:00
parent 771a0163c0
commit 5ccc6af5e8
5 changed files with 663 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
/*
* Copyright (C) 2010 Tobias Klauser <tklauser@distanz.ch>
* Copyright (C) 2004 Microtronix Datacom Ltd.
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/
#ifndef _ASM_NIOS2_MMU_H
#define _ASM_NIOS2_MMU_H
/* Default "unsigned long" context */
typedef unsigned long mm_context_t;
#endif /* _ASM_NIOS2_MMU_H */