Initial kfd debugger address watch support

Code for new kfd debugger address watch code.
           -- Adding support for:
              -- add address watch
              -- clear address watch

Change-Id: I9b014e7cee03897157b997b9e5b39b6ed403b8e1
Signed-off-by: Philip.Cox@amd.com <Philip.Cox@amd.com>
This commit is contained in:
Philip.Cox@amd.com
2020-04-01 13:39:26 -04:00
committed by Philip Cox
parent df16950a0c
commit 0a55f31463
5 changed files with 104 additions and 5 deletions
+2 -2
View File
@@ -223,10 +223,10 @@ typedef union
HSAuint64 Value;
struct
{
HSAuint64 WatchAddrMaskLoBit: 6; // Only bits
HSAuint64 WatchAddrMaskLoBit: 4; // Only bits
// WatchAddrMaskLoBit..WatchAddrMaskHiBit
// of the
HSAuint64 WatchAddrMaskHiBit: 4; // watch address mask are used.
HSAuint64 WatchAddrMaskHiBit: 6; // watch address mask are used.
// 0 is the least significant bit.
HSAuint64 TrapDataCount: 4; // Number of 32 bit TrapData
// registers supported.