From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabrice Gautier To: elf@florence.buici.com Cc: ecos-discuss@sources.redhat.com Subject: [ECOS] Re: Patch for x86 bootstrap Date: Wed, 25 Apr 2001 05:57:00 -0000 Message-id: <20010425145100.8732.GAUTIER@email.enst.fr> References: <20010424191759.A11139@buici.com> X-SW-Source: 2001-04/msg00395.html 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