2017-12-21 00:45:38 +01:00
|
|
|
/*
|
2020-01-21 15:24:52 +01:00
|
|
|
* Copyright (C) 2017-2020 Intel Corporation
|
2017-12-21 00:45:38 +01:00
|
|
|
*
|
2018-09-18 09:11:08 +02:00
|
|
|
* SPDX-License-Identifier: MIT
|
2017-12-21 00:45:38 +01:00
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
2020-01-21 15:24:52 +01:00
|
|
|
#include "core/os_interface/linux/os_interface.h"
|
2017-12-21 00:45:38 +01:00
|
|
|
|
2019-03-26 11:59:46 +01:00
|
|
|
namespace NEO {
|
2017-12-21 00:45:38 +01:00
|
|
|
|
|
|
|
|
bool OSInterface::osEnabled64kbPages = false;
|
|
|
|
|
|
|
|
|
|
OSInterface::OSInterface() {
|
|
|
|
|
osInterfaceImpl = new OSInterfaceImpl();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
OSInterface::~OSInterface() {
|
|
|
|
|
delete osInterfaceImpl;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool OSInterface::are64kbPagesEnabled() {
|
|
|
|
|
return osEnabled64kbPages;
|
|
|
|
|
}
|
|
|
|
|
|
2018-04-20 14:44:14 +02:00
|
|
|
uint32_t OSInterface::getDeviceHandle() const {
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-15 15:05:47 +02:00
|
|
|
void OSInterface::setGmmInputArgs(void *args) {}
|
|
|
|
|
|
2019-08-21 10:53:07 +02:00
|
|
|
} // namespace NEO
|