This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: more booting from ix86 floppy
- To: kare dot sars at lmf dot ericsson dot se
- Subject: Re: [ECOS] more booting from ix86 floppy
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Mon, 24 Sep 2001 17:03:58 +0100
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <200109240930.f8O9Ugb26500@fogerty.lmf.ericsson.se>
Kåre Särs wrote:
>
> Hi
>
> I have used RedBoot and GDB to run and debug a program that uses more than
> 640kb of ram, and now I want to run this program directly from a floppy.
>
> When I run the program with RedBoot CYG_HAL_STARTUP is set to RAM (for the
> program), and I get access to extended memory, but when I want to boot from a
> floppy I have to set CYG_HAL_STARTUP to FLOPPY and then I loose the extended
> memory.
>
> FLOPPY->mlt_i386_pc_floppy.ldi->only 655360 bytes ram
>
> I know I can still use the extended memory but not with malloc.
>
> Is there an easy way to boot directly from the floppy and still have the
> extended memory.
You could add another memory region called "ram2" or something using the
Memory layout Tool, and then create a user-defined section within that
called "heap2". It should be used by malloc by default.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine