Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
promise
OpenXG-RAN
Commits
d253301c
Commit
d253301c
authored
4 years ago
by
Laurent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
intptr_t instead of int64_t for instance_t
parent
79d51ce6
develop
NR_DLUL_PF
NR_DL_MIMO
NR_FAPI_beamindex_SSB_RO
NR_FDD_FIX
NR_MAC_Multi_Rach_GlobalEdge
NR_MAC_TCI_UCI_GlobalEdge
NR_RA_cleanup
NR_SA_F1AP_RFSIMULATOR
NR_SA_F1AP_RFSIMULATOR2
NR_SA_itti_sim_wk48
benetel_driver_update
bugfix-x2-SgNBAdditionRequest
develop-SA-RA
develop-sib1-update-ue
integration_2021_wk04
integration_2021_wk05
itti-enhancement
nasmesh_kernel_5.8
new-gtpu
nfapi_nr_develop
oairu
oairu-dockerfile-support
rh_ci_ra_fr2
ue-fixes
2021.w04
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
openair2/COMMON/platform_types.h
openair2/COMMON/platform_types.h
+6
-4
No files found.
openair2/COMMON/platform_types.h
View file @
d253301c
...
...
@@ -28,10 +28,13 @@
***************************************************************************/
#ifndef __PLATFORM_TYPES_H__
#
define __PLATFORM_TYPES_H__
#define __PLATFORM_TYPES_H__
#if !defined(NAS_NETLINK)
#include <stdint.h>
#include <stdint.h>
#else
#include <linux/types.h>
typedef
void
*
intptr_t
;
#endif
//-----------------------------------------------------------------------------
...
...
@@ -229,7 +232,7 @@ typedef uint8_t ebi_t; // eps bearer id
//
//-----------------------------------------------------------------------------
// may be ITTI not enabled, but type instance is useful also for OTG,
typedef
int
64
_t
instance_t
;
typedef
int
ptr
_t
instance_t
;
typedef
struct
protocol_ctxt_s
{
module_id_t
module_id
;
/*!< \brief Virtualized module identifier */
eNB_flag_t
enb_flag
;
/*!< \brief Flag to indicate eNB (1) or UE (0) */
...
...
@@ -291,7 +294,6 @@ typedef struct protocol_ctxt_s {
PROTOCOL_CTXT_COMPUTE_MODULE_ID(Ctxt_Pp)
#define PROTOCOL_CTXT_FMT "[FRAME %05u][%s][MOD %02d][RNTI %" PRIx16 "]"
#define PROTOCOL_CTXT_FMTL "[FRAME %05u][%s][MOD %08ld][RNTI %" PRIx16 "]"
#define PROTOCOL_CTXT_ARGS(CTXT_Pp) \
(CTXT_Pp)->frame, \
((CTXT_Pp)->enb_flag == ENB_FLAG_YES) ? "eNB":" UE", \
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment