lkml.org 
[lkml]   [2014]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2 05/29] nios2: Memory management
From
On Wed, Jul 30, 2014 at 5:01 PM, Tobias Klauser <tklauser@distanz.ch> wrote:
> On 2014-07-15 at 10:45:32 +0200, Ley Foon Tan <lftan@altera.com> wrote:
>> This patch contains the initialisation of the memory blocks, MMU
>> attributes and the memory map.
>>
>> Signed-off-by: Ley Foon Tan <lftan@altera.com>
>> ---
>> arch/nios2/include/asm/mmu.h | 18 +++
>> arch/nios2/include/asm/page.h | 113 +++++++++++++++++++
>> arch/nios2/include/asm/uaccess.h | 233 +++++++++++++++++++++++++++++++++++++++
>> arch/nios2/mm/init.c | 142 ++++++++++++++++++++++++
>> arch/nios2/mm/uaccess.c | 162 +++++++++++++++++++++++++++
>> 5 files changed, 668 insertions(+)
>> create mode 100644 arch/nios2/include/asm/mmu.h
>> create mode 100644 arch/nios2/include/asm/page.h
>> create mode 100644 arch/nios2/include/asm/uaccess.h
>> create mode 100644 arch/nios2/mm/init.c
>> create mode 100644 arch/nios2/mm/uaccess.c
>
> [...]
>
>> diff --git a/arch/nios2/include/asm/page.h b/arch/nios2/include/asm/page.h
>> new file mode 100644
>> index 0000000..b89c1d6
>> --- /dev/null
>> +++ b/arch/nios2/include/asm/page.h
>> @@ -0,0 +1,113 @@
>> +/*
>> + * Copyright (C) 2011 Tobias Klauser <tklauser@distanz.ch>
>> + * Copyright (C) 2004 Microtronix Datacom Ltd.
>> + *
>> + * MMU support based on asm/page.h from mips which is:
>> + *
>> + * Copyright (C) 1994 - 1999, 2000, 03 Ralf Baechle
>> + * Copyright (C) 1999, 2000 Silicon Graphics, Inc.
>> + *
>> + * NOMMU support based on asm/page.h from m68knommu.
>
> You might want to remove this line to avoid confusion, since NOMMU is
> not supported anymore in this submission of the NIOS II port.

Okay.

Thanks.

Regards
Ley Foon


\
 
 \ /
  Last update: 2014-07-30 13:41    [W:0.652 / U:0.680 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site