2020-09-14 19:28:47 +08:00
|
|
|
/*
|
2022-02-10 00:07:36 +08:00
|
|
|
* Copyright (C) 2020-2022 Intel Corporation
|
2020-09-14 19:28:47 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2022-06-15 05:24:58 +08:00
|
|
|
#include "shared/source/debugger/debugger_l0.h"
|
2020-10-17 06:52:18 +08:00
|
|
|
#include "shared/source/device/device.h"
|
|
|
|
#include "shared/source/helpers/hw_helper.h"
|
|
|
|
#include "shared/source/kernel/debug_data.h"
|
2022-05-12 06:36:36 +08:00
|
|
|
#include "shared/source/os_interface/windows/wddm/wddm.h"
|
2020-10-17 06:52:18 +08:00
|
|
|
|
2022-06-15 05:24:58 +08:00
|
|
|
namespace NEO {
|
2020-11-23 22:31:20 +08:00
|
|
|
bool DebuggerL0::initDebuggingInOs(NEO::OSInterface *osInterface) {
|
2022-05-12 06:36:36 +08:00
|
|
|
|
|
|
|
if (osInterface == nullptr) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
if (osInterface->isDebugAttachAvailable() == false) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
return true;
|
2020-09-14 19:28:47 +08:00
|
|
|
}
|
2020-10-17 06:52:18 +08:00
|
|
|
|
2022-05-28 07:37:00 +08:00
|
|
|
void DebuggerL0::initSbaTrackingMode() {
|
|
|
|
singleAddressSpaceSbaTracking = true;
|
|
|
|
}
|
|
|
|
|
2020-10-17 06:52:18 +08:00
|
|
|
void DebuggerL0::registerElf(NEO::DebugData *debugData, NEO::GraphicsAllocation *isaAllocation) {
|
|
|
|
}
|
|
|
|
|
2022-02-10 00:07:36 +08:00
|
|
|
bool DebuggerL0::attachZebinModuleToSegmentAllocations(const StackVec<NEO::GraphicsAllocation *, 32> &kernelAlloc, uint32_t &moduleHandle) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool DebuggerL0::removeZebinModule(uint32_t moduleHandle) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2022-02-10 19:13:59 +08:00
|
|
|
void DebuggerL0::notifyCommandQueueCreated() {
|
|
|
|
}
|
|
|
|
|
|
|
|
void DebuggerL0::notifyCommandQueueDestroyed() {
|
|
|
|
}
|
|
|
|
|
2022-06-15 05:24:58 +08:00
|
|
|
} // namespace NEO
|