From f7fc62b2552dec2d71cdfd59eeb57cdf32e932a5 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Thu, 1 Sep 2011 18:32:13 +0000 Subject: [PATCH] [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 svn path=/trunk/; revision=53524 --- reactos/hal/halx86/include/halp.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/hal/halx86/include/halp.h b/reactos/hal/halx86/include/halp.h index 9ca3e9e086b..a4c58c09202 100644 --- a/reactos/hal/halx86/include/halp.h +++ b/reactos/hal/halx86/include/halp.h @@ -161,9 +161,9 @@ typedef union _TIMER_CONTROL_PORT_REGISTER 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;