update for HEAD-2003091401
[reactos.git] / subsys / system / usetup / usetup.h
1 /*
2  *  ReactOS kernel
3  *  Copyright (C) 2002 ReactOS Team
4  *
5  *  This program is free software; you can redistribute it and/or modify
6  *  it under the terms of the GNU General Public License as published by
7  *  the Free Software Foundation; either version 2 of the License, or
8  *  (at your option) any later version.
9  *
10  *  This program is distributed in the hope that it will be useful,
11  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  *  GNU General Public License for more details.
14  *
15  *  You should have received a copy of the GNU General Public License
16  *  along with this program; if not, write to the Free Software
17  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18  */
19 /*
20  * COPYRIGHT:       See COPYING in the top level directory
21  * PROJECT:         ReactOS text-mode setup
22  * FILE:            subsys/system/usetup/usetup.h
23  * PURPOSE:         Text-mode setup
24  * PROGRAMMER:      Eric Kohl
25  */
26
27 #ifndef __USETUP_H__
28 #define __USETUP_H__
29
30 #ifdef assert
31 #undef assert
32 #endif
33 #define assert(x)
34
35 #define DPRINT1(args...) do { DbgPrint("(%s:%d) ",__FILE__,__LINE__); DbgPrint(args); } while(0);
36 #define CHECKPOINT1 do { DbgPrint("%s:%d\n",__FILE__,__LINE__); } while(0);
37
38 #define DPRINT(args...)
39 #define CHECKPOINT
40
41
42 #define ROUND_DOWN(N, S) (((N) / (S)) * (S))
43 #define ROUND_UP(N, S) ((((N) + (S) - 1) / (S)) * (S))
44
45
46 extern HANDLE ProcessHeap;
47
48 extern UNICODE_STRING SourceRootPath;
49
50
51 #endif /* __USETUP_H__*/
52
53 /* EOF */