Skip to content

Commit 3c89cfc

Browse files
Move os_interface files to core
Change-Id: Ie708a944130884248499091854ebc483953fa828 Signed-off-by: Mateusz Hoppe <[email protected]>
1 parent 0b141ed commit 3c89cfc

File tree

109 files changed

+184
-187
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+184
-187
lines changed

core/execution_environment/root_device_environment.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99

1010
#include "core/gmm_helper/page_table_mngr.h"
1111
#include "core/memory_manager/memory_operations_handler.h"
12+
#include "core/os_interface/os_interface.h"
1213
#include "runtime/aub/aub_center.h"
1314
#include "runtime/execution_environment/execution_environment.h"
14-
#include "runtime/os_interface/os_interface.h"
1515

1616
namespace NEO {
1717

core/gmm_helper/client_context/gmm_client_context_base.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#include "core/gmm_helper/gmm_interface.h"
1212
#include "core/helpers/debug_helpers.h"
1313
#include "core/helpers/hw_info.h"
14+
#include "core/os_interface/os_interface.h"
1415
#include "core/sku_info/operations/sku_info_transfer.h"
15-
#include "runtime/os_interface/os_interface.h"
1616

1717
namespace NEO {
1818
GmmClientContextBase::GmmClientContextBase(OSInterface *osInterface, HardwareInfo *hwInfo) : hardwareInfo(hwInfo) {

core/helpers/hw_helper_base.inl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
#include "core/helpers/preamble.h"
1414
#include "core/memory_manager/graphics_allocation.h"
1515
#include "core/memory_manager/memory_constants.h"
16+
#include "core/os_interface/os_interface.h"
1617
#include "runtime/aub_mem_dump/aub_mem_dump.h"
1718
#include "runtime/execution_environment/execution_environment.h"
1819
#include "runtime/helpers/dispatch_info.h"
1920
#include "runtime/helpers/hardware_commands_helper.h"
20-
#include "runtime/os_interface/os_interface.h"
2121

2222
namespace NEO {
2323

core/os_interface/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,12 @@ set(NEO_CORE_OS_INTERFACE
99
${CMAKE_CURRENT_SOURCE_DIR}/aub_memory_operations_handler.cpp
1010
${CMAKE_CURRENT_SOURCE_DIR}/aub_memory_operations_handler.h
1111
${CMAKE_CURRENT_SOURCE_DIR}/os_context.h
12+
${CMAKE_CURRENT_SOURCE_DIR}/os_interface.h
1213
${CMAKE_CURRENT_SOURCE_DIR}/os_library.h
1314
${CMAKE_CURRENT_SOURCE_DIR}/os_memory.h
1415
${CMAKE_CURRENT_SOURCE_DIR}/os_thread.h
16+
${CMAKE_CURRENT_SOURCE_DIR}/os_time.cpp
17+
${CMAKE_CURRENT_SOURCE_DIR}/os_time.h
1518
${CMAKE_CURRENT_SOURCE_DIR}/print.h
1619
)
1720

core/os_interface/linux/CMakeLists.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,26 @@ set(NEO_CORE_OS_INTERFACE_LINUX
88
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
99
${CMAKE_CURRENT_SOURCE_DIR}/debug_env_reader.cpp
1010
${CMAKE_CURRENT_SOURCE_DIR}/debug_env_reader.h
11+
${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX}/drm_engine_mapper.cpp
12+
${CMAKE_CURRENT_SOURCE_DIR}/drm_engine_mapper.h
13+
${CMAKE_CURRENT_SOURCE_DIR}/drm_neo.cpp
14+
${CMAKE_CURRENT_SOURCE_DIR}/drm_neo.h
15+
${CMAKE_CURRENT_SOURCE_DIR}/drm_neo_create.cpp
16+
${CMAKE_CURRENT_SOURCE_DIR}/drm_null_device.h
17+
${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX}/drm_query.cpp
1118
${CMAKE_CURRENT_SOURCE_DIR}/engine_info.h
1219
${CMAKE_CURRENT_SOURCE_DIR}/memory_info.h
1320
${CMAKE_CURRENT_SOURCE_DIR}/os_inc.h
21+
${CMAKE_CURRENT_SOURCE_DIR}/os_interface.cpp
22+
${CMAKE_CURRENT_SOURCE_DIR}/os_interface.h
1423
${CMAKE_CURRENT_SOURCE_DIR}/os_library_linux.cpp
1524
${CMAKE_CURRENT_SOURCE_DIR}/os_library_linux.h
1625
${CMAKE_CURRENT_SOURCE_DIR}/os_memory_linux.cpp
1726
${CMAKE_CURRENT_SOURCE_DIR}/os_memory_linux.h
1827
${CMAKE_CURRENT_SOURCE_DIR}/os_thread_linux.cpp
1928
${CMAKE_CURRENT_SOURCE_DIR}/os_thread_linux.h
29+
${CMAKE_CURRENT_SOURCE_DIR}/os_time_linux.cpp
30+
${CMAKE_CURRENT_SOURCE_DIR}/os_time_linux.h
2031
${CMAKE_CURRENT_SOURCE_DIR}/page_table_manager_functions.cpp
2132
${CMAKE_CURRENT_SOURCE_DIR}/print.cpp
2233
)

runtime/os_interface/linux/drm_engine_mapper.cpp renamed to core/os_interface/linux/drm_engine_mapper.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Copyright (C) 2018-2019 Intel Corporation
2+
* Copyright (C) 2018-2020 Intel Corporation
33
*
44
* SPDX-License-Identifier: MIT
55
*
66
*/
77

8-
#include "runtime/os_interface/linux/drm_engine_mapper.h"
8+
#include "core/os_interface/linux/drm_engine_mapper.h"
99

1010
#include "core/helpers/debug_helpers.h"
1111

runtime/os_interface/linux/drm_engine_mapper.h renamed to core/os_interface/linux/drm_engine_mapper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2017-2019 Intel Corporation
2+
* Copyright (C) 2017-2020 Intel Corporation
33
*
44
* SPDX-License-Identifier: MIT
55
*

runtime/os_interface/linux/drm_neo_create.cpp renamed to core/os_interface/linux/drm_neo_create.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Copyright (C) 2017-2019 Intel Corporation
2+
* Copyright (C) 2017-2020 Intel Corporation
33
*
44
* SPDX-License-Identifier: MIT
55
*
66
*/
77

8-
#include "runtime/os_interface/linux/drm_neo.h"
8+
#include "core/os_interface/linux/drm_neo.h"
99

1010
namespace NEO {
1111

0 commit comments

Comments
 (0)