1230557Sjimharris/*-
2230557Sjimharris * BSD LICENSE
3230557Sjimharris *
4230557Sjimharris * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
5230557Sjimharris * All rights reserved.
6230557Sjimharris *
7230557Sjimharris * Redistribution and use in source and binary forms, with or without
8230557Sjimharris * modification, are permitted provided that the following conditions
9230557Sjimharris * are met:
10230557Sjimharris *
11230557Sjimharris *   * Redistributions of source code must retain the above copyright
12230557Sjimharris *     notice, this list of conditions and the following disclaimer.
13230557Sjimharris *   * Redistributions in binary form must reproduce the above copyright
14230557Sjimharris *     notice, this list of conditions and the following disclaimer in
15230557Sjimharris *     the documentation and/or other materials provided with the
16230557Sjimharris *     distribution.
17230557Sjimharris *
18230557Sjimharris * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19230557Sjimharris * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20230557Sjimharris * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21230557Sjimharris * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22230557Sjimharris * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23230557Sjimharris * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24230557Sjimharris * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25230557Sjimharris * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26230557Sjimharris * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27230557Sjimharris * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28230557Sjimharris * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29230557Sjimharris *
30230557Sjimharris * $FreeBSD$
31230557Sjimharris */
32230557Sjimharris#ifndef _DRIVER_INCLUDE_TYPES_H_
33230557Sjimharris#define _DRIVER_INCLUDE_TYPES_H_
34230557Sjimharris
35230557Sjimharris#include <dev/isci/environment.h>
36230557Sjimharris
37230557Sjimharristypedef uintptr_t POINTER_UINT;
38230557Sjimharris
39230557Sjimharris#ifndef NULL
40230557Sjimharris#define NULL ((void *)0)
41230557Sjimharris#endif
42230557Sjimharris
43230557Sjimharris#ifndef FALSE
44230557Sjimharris#define FALSE 0
45230557Sjimharris#endif
46230557Sjimharris
47230557Sjimharris#ifndef TRUE
48230557Sjimharris#define TRUE (!FALSE)
49230557Sjimharris#endif
50230557Sjimharris
51230557Sjimharristypedef uint32_t BOOL;
52230557Sjimharris
53230557Sjimharris#endif /* _DRIVER_INCLUDE_TYPES_H_ */
54