Author: tkreuzer Date: Tue Dec 9 19:26:44 2008 New Revision: 37991
URL: http://svn.reactos.org/svn/reactos?rev=37991&view=rev Log: Fix hal build
Modified: branches/ros-amd64-bringup/reactos/hal/halx86/include/apic.h
Modified: branches/ros-amd64-bringup/reactos/hal/halx86/include/apic.h URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/hal/ha... ============================================================================== --- branches/ros-amd64-bringup/reactos/hal/halx86/include/apic.h [iso-8859-1] (original) +++ branches/ros-amd64-bringup/reactos/hal/halx86/include/apic.h [iso-8859-1] Tue Dec 9 19:26:44 2008 @@ -186,7 +186,7 @@ { PULONG p;
- p = (PULONG)((ULONG)APICBase + Offset); + p = (PULONG)((ULONG_PTR)APICBase + Offset); return *p; }
@@ -196,7 +196,7 @@ { PULONG p;
- p = (PULONG)((ULONG)APICBase + Offset); + p = (PULONG)((ULONG_PTR)APICBase + Offset);
*p = Value; } @@ -210,7 +210,7 @@ lastregw[CPU] = Offset; lastvalw[CPU] = Value;
- p = (PULONG)((ULONG)APICBase + Offset); + p = (PULONG)((ULONG_PTR)APICBase + Offset);
*p = Value; } @@ -221,7 +221,7 @@ { PULONG p;
- p = (PULONG)((ULONG)APICBase + Offset); + p = (PULONG)((ULONG_PTR)APICBase + Offset); return *p; } #else @@ -233,7 +233,7 @@ lastregr[CPU] = Offset; lastvalr[CPU] = 0;
- p = (PULONG)((ULONG)APICBase + Offset); + p = (PULONG)((ULONG_PTR)APICBase + Offset);
lastvalr[CPU] = *p; return lastvalr[CPU];