[ros-dev] [ros-diffs] [fireball] 24848: i386BootDrive and i386BootPartition are ULONGs, and before saving a byte value they must be zeroed. Thanks to Magnus for identifying the problem.

Brian Palmer brianp at sginet.com
Mon Nov 27 01:42:09 CET 2006


Um, these values are initialized to zero at link time. So this is just
wasted code...

-Brian

-----Original Message-----
From: ros-dev-bounces at reactos.org [mailto:ros-dev-bounces at reactos.org] On
Behalf Of Alex Ionescu
Sent: Sunday, November 26, 2006 5:16 PM
To: ros-dev at reactos.org
Subject: Re: [ros-dev] [ros-diffs] [fireball] 24848: i386BootDrive and
i386BootPartition are ULONGs, and before saving a byte value they must be
zeroed. Thanks to Magnus for identifying the problem.

fireball at svn.reactos.org wrote:
> Author: fireball
> Date: Mon Nov 27 00:46:45 2006
> New Revision: 24848
> 
> URL: http://svn.reactos.org/svn/reactos?rev=24848&view=rev
> Log:
> i386BootDrive and i386BootPartition are ULONGs, and before saving a byte
value they must be zeroed.

Ever heard of movzx?


-- 
Best regards,
Alex Ionescu
Project Lead, TinyKRNL
Kernel-Mode Software Design Engineer, ReactOS
_______________________________________________
Ros-dev mailing list
Ros-dev at reactos.org
http://www.reactos.org/mailman/listinfo/ros-dev



More information about the Ros-dev mailing list