[uClinux-dev] Does uClinux use paging normally?

Greg Ungerer gerg at snapgear.com
Thu Aug 1 21:15:21 EDT 2002


Hi Park,

Y.H. Park wrote:
> are there the documents about the memory management in uClinux?
> If I port it to a new board and so configure the memory map and etc, 
> does the same methods or functions in case of MMU linux required to be changed ?

Generally yes. There are some minor differences, but for the
most part the setup/config is the same.

I don't know of any doco on this...

Regards
Greg



> ----- Original Message ----- 
> From: "gerg" <gerg at snapgear.com>
> To: <uclinux-dev at uclinux.org>
> Sent: Thursday, August 01, 2002 11:21 PM
> Subject: Re: [uClinux-dev] Does uClinux use paging normally?
> 
> 
> Hi Park,
> 
> Y.H. Park wrote:
> 
>>I can't find any information about above question.
>>If uClinux doesn't use paging normally, how the program having large address space can be executed?
> 
> 
> It can't. Programs needing an address space larger than
> the physical RAM you have in our system cannot be run
> without virtual memory support. In fact the restriction
> is tighter than that, programs that need more RAM than
> is currently available as a contiguous chunk will not
> be able to run. (The required RAM may be just for data+stack,
> if the code is XIP. Doesn't change the need for a continguous
> region for that data+stack though).
> 
> uClinux uses page size memory units for allocation
> purposes but there is no virtual memory style paging.
> 
> Regards
> Greg
> 
> 
> 
> ------------------------------------------------------------------------
> Greg Ungerer  --  Chief Software Wizard        EMAIL:  gerg at snapgear.com
> Snapgear Pty Ltd                               PHONE:    +61 7 3279 1822
> 825 Stanley St,                                  FAX:    +61 7 3279 1820
> Woolloongabba, QLD, 4102, Australia              WEB:   www.snapgear.com
> 
> This message resent by the uclinux-dev at uclinux.org list server http://www.uClinux.org/
> 
> This message resent by the uclinux-dev at uclinux.org list server http://www.uClinux.org/
> 


-- 
------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Wizard        EMAIL:  gerg at snapgear.com
SnapGear Pty Ltd                               PHONE:    +61 7 3435 2888
825 Stanley St,                                  FAX:    +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia              WEB:   www.snapgear.com

This message resent by the uclinux-dev at uclinux.org list server http://www.uClinux.org/



More information about the uClinux-dev mailing list