|
|
@ -14,6 +14,7 @@
|
|
|
|
#include <signal.h>
|
|
|
|
#include <signal.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
#include <sys/mman.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
|
|
|
|
|
|
|
|
#include "srsran/common/common_helper.h"
|
|
|
|
#include "srsran/common/common_helper.h"
|
|
|
@ -534,6 +535,10 @@ int main(int argc, char* argv[])
|
|
|
|
event_logger::configure(json_channel);
|
|
|
|
event_logger::configure(json_channel);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (mlockall((uint32_t)MCL_CURRENT | (uint32_t)MCL_FUTURE) == -1) {
|
|
|
|
|
|
|
|
srsran::console("Failed to `mlockall`: {}", errno);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Create eNB
|
|
|
|
// Create eNB
|
|
|
|
unique_ptr<srsenb::enb> enb{new srsenb::enb(srslog::get_default_sink())};
|
|
|
|
unique_ptr<srsenb::enb> enb{new srsenb::enb(srslog::get_default_sink())};
|
|
|
|
if (enb->init(args) != SRSRAN_SUCCESS) {
|
|
|
|
if (enb->init(args) != SRSRAN_SUCCESS) {
|
|
|
|