Zephyr API Documentation
4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
arc_addr_types.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2021 Synopsys.
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_ARCH_ARC_ADDR_TYPES_H_
8
#define ZEPHYR_INCLUDE_ARCH_ARC_ADDR_TYPES_H_
9
#ifndef _ASMLANGUAGE
10
11
/*
12
* MWDT provides paddr_t type and it conflicts with Zephyr definition:
13
* - Zephyr defines paddr_t as a uintptr_t
14
* - MWDT defines paddr_t as a unsigned long
15
* This causes extra warnings. However we can safely define
16
* paddr_t as a unsigned long for the case when MWDT toolchain is used as
17
* they are both unsigned, have same size and aligning.
18
*/
19
#ifdef __CCAC__
20
typedef
unsigned
long
paddr_t
;
21
typedef
void
*
vaddr_t
;
22
#else
23
#include <
zephyr/arch/common/addr_types.h
>
24
#endif
25
26
#endif
/* _ASMLANGUAGE */
27
#endif
/* ZEPHYR_INCLUDE_ARCH_ARC_ADDR_TYPES_H_ */
addr_types.h
paddr_t
uintptr_t paddr_t
Definition
addr_types.h:13
vaddr_t
void * vaddr_t
Definition
addr_types.h:14
zephyr
arch
arc
arc_addr_types.h
Generated on Mon Dec 23 2024 09:02:41 for Zephyr API Documentation by
1.12.0