Change code, fix warnings, so it finally builds.

svn path=/trunk/; revision=26187
This commit is contained in:
Aleksey Bragin 2007-03-27 11:07:12 +00:00
parent 285adfefbe
commit 379a566aa8
2 changed files with 51 additions and 37 deletions

View file

@ -4,6 +4,18 @@
* DESCRIPTION
* An enumeration containing the states in the timer DFA
*/
#define VERSION "0.0.3"
#ifndef PAGE_ROUND_UP
#define PAGE_ROUND_UP(x) ( (((ULONG_PTR)x)%PAGE_SIZE) ? ((((ULONG_PTR)x)&(~(PAGE_SIZE-1)))+PAGE_SIZE) : ((ULONG_PTR)x) )
#endif
#ifndef ROUND_UP
#define ROUND_UP(N, S) ((((N) + (S) - 1) / (S)) * (S))
#endif
#define TAG(A, B, C, D) (ULONG)(((A)<<0) + ((B)<<8) + ((C)<<16) + ((D)<<24))
typedef enum _SCSI_PORT_TIMER_STATES
{
IDETimerIdle,