forked from MarvellEmbeddedProcessors/marvell-octeon-roc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatform.h
38 lines (31 loc) · 865 Bytes
/
platform.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
* SPDX-License-Identifier: BSD-3-Clause
* Copyright(C) 2023 Marvell.
*/
#ifndef included_oct_roc_platform_h
#define included_oct_roc_platform_h
#include <inttypes.h>
#include <assert.h>
#define OCT_UNIMPLEMENTED() \
({ \
assert (0); \
})
#include <util.h>
#include <bitmap.h>
#include <common.h>
#include <memzone.h>
/*
* Device memory does not support unaligned access, instruct compiler to
* not optimize the memory access when working with mailbox memory.
*/
#ifndef __io
#define __io volatile
#endif
#endif /* included_oct_roc_platform_h */
/*
* fd.io coding-style-patch-verification: ON
*
* Local Variables:
* eval: (c-set-style "gnu")
* End:
*/