Author: tkreuzer
Date: Thu Sep  1 18:32:13 2011
New Revision: 53524

URL: http://svn.reactos.org/svn/reactos?rev=53524&view=rev
Log:
[HAL]
Don't use enums as bitfields. MSVC doesn't handle it the way gcc does. Fixes 
clock initialization on MSVC builds. You would wonder how the MSVC build even 
worked without a clock interrupt :D

Modified:
    trunk/reactos/hal/halx86/include/halp.h

Modified: trunk/reactos/hal/halx86/include/halp.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halx86/include/halp.h?rev=53524&r1=53523&r2=53524&view=diff
==============================================================================
--- trunk/reactos/hal/halx86/include/halp.h [iso-8859-1] (original)
+++ trunk/reactos/hal/halx86/include/halp.h [iso-8859-1] Thu Sep  1 18:32:13 
2011
@@ -161,9 +161,9 @@
     struct
     {
         UCHAR BcdMode:1;
-        TIMER_OPERATING_MODES OperatingMode:3;
-        TIMER_ACCESS_MODES AccessMode:2;
-        TIMER_CHANNELS Channel:2;
+        UCHAR OperatingMode:3;
+        UCHAR AccessMode:2;
+        UCHAR Channel:2;
     };
     UCHAR Bits;
 } TIMER_CONTROL_PORT_REGISTER, *PTIMER_CONTROL_PORT_REGISTER;


Reply via email to