From mboxrd@z Thu Jan 1 00:00:00 1970 From: elf@florence.buici.com To: Fabrice Gautier Cc: ecos-discuss@sources.redhat.com Subject: Re: [ECOS] Re: Patch for x86 bootstrap Date: Wed, 25 Apr 2001 10:05:00 -0000 Message-id: <20010425100530.C14495@buici.com> References: <20010424191759.A11139@buici.com> <20010425145100.8732.GAUTIER@email.enst.fr> X-SW-Source: 2001-04/msg00411.html If the patch was made a while ago, where is it? I changed to code so that the problem you describe is no longer relevent. In fact, there are a couple of bugs in the loader that I fixed. For example, the loader only works when loading to addresses < 64K. On Wed, Apr 25, 2001 at 02:56:56PM +0200, Fabrice Gautier wrote: > > On Tue, 24 Apr 2001 19:17:59 -0700 > elf@florence.buici.com wrote: > > > I made a patch to the platform.inc code so that the x86 gdb stub can > > boot from a device with geometry other than the default floppy > > geometry. It also changes the handling of the _start address such > > that a) it can be aligned on any byte boundary, and b) it can be over > > 64k--for what it's worth. > > > > < ftp://ftp.buici.com/pub/ecos/bootstrap > > > I just want to point at this note your patch is deleting: > > - /* destination pointer es:bx */ > - /* With correct alignement, bx should be 0 and es should be a multiple > - * of 32. If not it may cause the "buffer cross 64k boundary" problem > - * (cf above) > - */ > > > We patched this code loader about six month ago in order to avoid this > problem for floppy. I hope you did notice the problem and that it is not > reintroduced by your patch. > (I've not read your patch enough nor tested anything...) > > Good work anyway, and good to see someone working with the x86 platform... > > Regards, > > -- > Fabrice Gautier