[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

multiprocessing (was: Re: [microblaze-uclinux] FPGA apps?)



On Fri, 2004-04-02 at 00:09, Greg Ungerer wrote:
> Hi Matthew,
> 
> Matthew Rubenstein wrote:
> > 	Where are the apps? Linux on FPGA is a means to an end, not an end in
> > itself: familiar development environment for new FPGA tools. Is there an
> > archive of apps that run under MicroBlaze? With MicroBlaze omitting
> > fork() in favor of vfork() (inherited from uCLinux, with no MMU), even
> > the ancient Unix multitasking patterns are unavailable.
> 
> I don't understand what you mean here. uClinux supports true
> multitasking, using vfork doesn't preclude this. It does
> preclude the child running in the parents context, but there
> is ways around this, and in many typical embedded applications
> it is just not a problem in practice.

	Using fork() is a very common technique for multitasking; vfork()'s
omission of the parent's page tables and access to other volatile data
does not allow its use in simple porting of existing source code to
uCLinux. But that's an opportunity: the FPGA parallelism is a much
better infrastructure than the  roundrobin multitasking simulated by
MMUs in other *nixes. And without the distraction of fork(), true
multiprocessing will underlie the ported MB/uCL apps. This is a virtue,
born of necessity, of the MB/uCL platform, which makes it superior to
both other uCLinux and even MMU *nix platforms.


> Regards
> Greg
> 
> 
> 
> ------------------------------------------------------------------------
> Greg Ungerer  --  Chief Software Dude       EMAIL:     gerg@snapgear.com
> SnapGear -- a CyberGuard Company            PHONE:       +61 7 3435 2888
> 825 Stanley St,                             FAX:         +61 7 3891 3630
> Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
> 
> ___________________________
> microblaze-uclinux mailing list
> microblaze-uclinux@itee.uq.edu.au
> Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
-- 


(C) Matthew Rubenstein

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/