mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 12:23:31 +00:00
[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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user