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
spbro
OpenXG-RAN
Commits
1ab3b8dd
Commit
1ab3b8dd
authored
Mar 06, 2024
by
Laurent THOMAS
Committed by
Robert Schmidt
Mar 08, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add version signature in core files to be able to compare with the ELF one
parent
782a8501
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
20 deletions
+19
-20
executables/lte-softmodem.c
executables/lte-softmodem.c
+3
-2
executables/lte-uesoftmodem.c
executables/lte-uesoftmodem.c
+3
-5
executables/main_ru.c
executables/main_ru.c
+3
-3
executables/nr-cuup.c
executables/nr-cuup.c
+3
-2
executables/nr-softmodem.c
executables/nr-softmodem.c
+3
-4
executables/nr-uesoftmodem.c
executables/nr-uesoftmodem.c
+4
-4
No files found.
executables/lte-softmodem.c
View file @
1ab3b8dd
...
...
@@ -474,9 +474,10 @@ int main ( int argc, char **argv )
// to make a graceful exit when ctrl-c is pressed
set_softmodem_sighandler
();
#ifndef PACKAGE_VERSION
#
define PACKAGE_VERSION "UNKNOWN-EXPERIMENTAL"
#define PACKAGE_VERSION "UNKNOWN-EXPERIMENTAL"
#endif
LOG_I
(
HW
,
"Version: %s
\n
"
,
PACKAGE_VERSION
);
// strdup to put the sring in the core file for post mortem identification
LOG_I
(
HW
,
"Version: %s
\n
"
,
strdup
(
PACKAGE_VERSION
));
/* Read configuration */
if
(
RC
.
nb_inst
>
0
)
{
...
...
executables/lte-uesoftmodem.c
View file @
1ab3b8dd
...
...
@@ -76,9 +76,6 @@
#include "lte-softmodem.h"
#include "executables/softmodem-common.h"
/* temporary compilation wokaround (UE/eNB split */
pthread_cond_t
nfapi_sync_cond
;
pthread_mutex_t
nfapi_sync_mutex
;
int
nfapi_sync_var
=-
1
;
//!< protected by mutex \ref nfapi_sync_mutex
...
...
@@ -579,9 +576,10 @@ int main( int argc, char **argv ) {
// to make a graceful exit when ctrl-c is pressed
set_softmodem_sighandler
();
#ifndef PACKAGE_VERSION
#
define PACKAGE_VERSION "UNKNOWN-EXPERIMENTAL"
#define PACKAGE_VERSION "UNKNOWN-EXPERIMENTAL"
#endif
LOG_I
(
HW
,
"Version: %s
\n
"
,
PACKAGE_VERSION
);
// strdup to put the sring in the core file for post mortem identification
LOG_I
(
HW
,
"Version: %s
\n
"
,
strdup
(
PACKAGE_VERSION
));
// init the parameters
for
(
CC_id
=
0
;
CC_id
<
MAX_NUM_CCs
;
CC_id
++
)
{
...
...
executables/main_ru.c
View file @
1ab3b8dd
...
...
@@ -160,11 +160,11 @@ int main ( int argc, char **argv )
T_Config_Init
();
#endif
printf
(
"configuring for RRU
\n
"
);
#ifndef PACKAGE_VERSION
#
define PACKAGE_VERSION "UNKNOWN-EXPERIMENTAL"
#define PACKAGE_VERSION "UNKNOWN-EXPERIMENTAL"
#endif
LOG_I
(
HW
,
"Version: %s
\n
"
,
PACKAGE_VERSION
);
// strdup to put the sring in the core file for post mortem identification
LOG_I
(
HW
,
"Version: %s
\n
"
,
strdup
(
PACKAGE_VERSION
));
/* Read configuration */
...
...
executables/nr-cuup.c
View file @
1ab3b8dd
...
...
@@ -157,9 +157,10 @@ int main(int argc, char **argv)
}
logInit
();
#ifndef PACKAGE_VERSION
#
define PACKAGE_VERSION "UNKNOWN-EXPERIMENTAL"
#define PACKAGE_VERSION "UNKNOWN-EXPERIMENTAL"
#endif
LOG_I
(
HW
,
"Version: %s
\n
"
,
PACKAGE_VERSION
);
// strdup to put the sring in the core file for post mortem identification
LOG_I
(
HW
,
"Version: %s
\n
"
,
strdup
(
PACKAGE_VERSION
));
set_softmodem_sighandler
();
itti_init
(
TASK_MAX
,
tasks_info
);
int
rc
;
...
...
executables/nr-softmodem.c
View file @
1ab3b8dd
...
...
@@ -86,7 +86,6 @@ unsigned short config_frames[4] = {2,9,11,13};
#include "openair2/E2AP/RAN_FUNCTION/init_ran_func.h"
#endif
pthread_cond_t
nfapi_sync_cond
;
pthread_mutex_t
nfapi_sync_mutex
;
int
nfapi_sync_var
=-
1
;
//!< protected by mutex \ref nfapi_sync_mutex
...
...
@@ -663,10 +662,10 @@ int main( int argc, char **argv ) {
}
}
#ifndef PACKAGE_VERSION
#
define PACKAGE_VERSION "UNKNOWN-EXPERIMENTAL"
#define PACKAGE_VERSION "UNKNOWN-EXPERIMENTAL"
#endif
LOG_I
(
HW
,
"Version: %s
\n
"
,
PACKAGE_VERSION
);
// strdup to put the sring in the core file for post mortem identification
LOG_I
(
HW
,
"Version: %s
\n
"
,
strdup
(
PACKAGE_VERSION
));
// don't create if node doesn't connect to RRC/S1/GTP
const
ngran_node_t
node_type
=
get_node_type
();
...
...
executables/nr-uesoftmodem.c
View file @
1ab3b8dd
...
...
@@ -497,11 +497,11 @@ int main(int argc, char **argv)
if
(
ouput_vcd
)
{
vcd_signal_dumper_init
(
"/tmp/openair_dump_nrUE.vcd"
);
}
#ifndef PACKAGE_VERSION
# define PACKAGE_VERSION "UNKNOWN-EXPERIMENTAL"
#ifndef PACKAGE_VERSION
#define PACKAGE_VERSION "UNKNOWN-EXPERIMENTAL"
#endif
LOG_I
(
HW
,
"Version: %s
\n
"
,
PACKAGE_VERSION
);
// strdup to put the sring in the core file for post mortem identification
LOG_I
(
HW
,
"Version: %s
\n
"
,
strdup
(
PACKAGE_VERSION
));
PHY_vars_UE_g
=
malloc
(
sizeof
(
*
PHY_vars_UE_g
));
PHY_vars_UE_g
[
0
]
=
malloc
(
sizeof
(
*
PHY_vars_UE_g
[
0
])
*
MAX_NUM_CCs
);
...
...
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