[ros-dev] [ros-diffs] [hpoussin] 51517: [freeldr] Add PXE "filesystem"

Timo Kreuzer timo.kreuzer at web.de
Mon May 2 10:17:31 UTC 2011


Why did you write the asm code in AT&T syntax? Its both ugly and breaks 
compilation with MSVC.
I've spent quite some time converting all asm code to MSVC friendly 
intel syntax.
Could you please fix that?

Regards,
Timo

Am 01.05.2011 10:11, schrieb hpoussin at svn.reactos.org:
> Author: hpoussin
> Date: Sun May  1 08:11:43 2011
> New Revision: 51517
>
> URL: http://svn.reactos.org/svn/reactos?rev=51517&view=rev
> Log:
> [freeldr] Add PXE "filesystem"
>
> Added:
>      trunk/reactos/boot/freeldr/freeldr/arch/i386/i386pxe.S   (with props)
>      trunk/reactos/boot/freeldr/freeldr/fs/pxe.c   (with props)
>      trunk/reactos/boot/freeldr/freeldr/include/arch/i386/pxe.h   (with props)
>      trunk/reactos/boot/freeldr/freeldr/include/fs/pxe.h   (with props)
> Modified:
>      trunk/reactos/boot/freeldr/freeldr/arch/i386/machpc.c
>      trunk/reactos/boot/freeldr/freeldr/arch/i386/pcdisk.c
>      trunk/reactos/boot/freeldr/freeldr/freeldr_base.rbuild
>      trunk/reactos/boot/freeldr/freeldr/freeldr_base64k.rbuild
>      trunk/reactos/boot/freeldr/freeldr/fs/fs.c
>      trunk/reactos/boot/freeldr/freeldr/include/arch/i386/hardware.h
>      trunk/reactos/boot/freeldr/freeldr/include/arch/i386/machpc.h
>      trunk/reactos/boot/freeldr/freeldr/include/freeldr.h
>
> Added: trunk/reactos/boot/freeldr/freeldr/arch/i386/i386pxe.S
> URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/i386/i386pxe.S?rev=51517&view=auto
> ==============================================================================
> --- trunk/reactos/boot/freeldr/freeldr/arch/i386/i386pxe.S (added)
> +++ trunk/reactos/boot/freeldr/freeldr/arch/i386/i386pxe.S [iso-8859-1] Sun May  1 08:11:43 2011
> @@ -1,0 +1,97 @@
> +/*
> + *  FreeLoader
> + *  Copyright (C) 2011  Hervé Poussineau
> + *
> + *  This program is free software; you can redistribute it and/or modify
> + *  it under the terms of the GNU General Public License as published by
> + *  the Free Software Foundation; either version 2 of the License, or
> + *  (at your option) any later version.
> + *
> + *  This program is distributed in the hope that it will be useful,
> + *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> + *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> + *  GNU General Public License for more details.
> + *
> + *  You should have received a copy of the GNU General Public License along
> + *  with this program; if not, write to the Free Software Foundation, Inc.,
> + *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
> + */
> +
> +	.text
> +	.code16
> +
> +#define ASM
> +
> +#include<arch.h>
> +
> +/*
> + * U16 PxeCallApi(U16 Segment, U16 Offset, U16 Service, VOID *Parameter);
> + *
> + * RETURNS:
> + */
> +_pxe_function:
> +	.word	0
> +_pxe_entry_point:
> +	.long	0
> +_pxe_buffer_segment:
> +	.word0
> +_pxe_buffer_offset:
> +	.word0
> +_pxe_result:
> +	.word	0
> +
> +EXTERN(_PxeCallApi)
> +	.code32
> +	pushl	%ebp
> +	movl	%esp,%ebp
> +
> +




More information about the Ros-dev mailing list