Skip to content

Commit

Permalink
Update accumulator registers save/restore syntax correctly in Xe2 SIP
Browse files Browse the repository at this point in the history
Update functions to get wmtp SIP
  • Loading branch information
nlella authored and igcbot committed Aug 9, 2024
1 parent b8599d9 commit 537f3a1
Showing 1 changed file with 28 additions and 24 deletions.
52 changes: 28 additions & 24 deletions IGC/common/SIPKernels/Xe2SIPCSRDebugBindless.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*========================== begin_copyright_notice ============================

Copyright (C) 2024 Intel Corporation
Copyright (C) 2023-2024 Intel Corporation

SPDX-License-Identifier: MIT

Expand All @@ -11,7 +11,7 @@ namespace SIP
const unsigned char Xe2SIPCSRDebugBindless[] =
{
0x61, 0x00, 0x00, 0x80, 0x20, 0x42, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
0x07, 0x14, 0x00, 0x00, 0x01, 0x00, 0x00, 0x80, 0x00, 0x00, 0x01, 0x00,
0x09, 0x14, 0x00, 0x00, 0x01, 0x00, 0x00, 0x80, 0x00, 0x00, 0x01, 0x00,
0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x80,
0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x00,
0x61, 0x00, 0x00, 0x80, 0x20, 0x02, 0x01, 0xf0, 0x04, 0x00, 0x00, 0x00,
Expand Down Expand Up @@ -243,7 +243,7 @@ const unsigned char Xe2SIPCSRDebugBindless[] =
0x00, 0x32, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x61, 0x00, 0x00, 0x80,
0x20, 0x02, 0xb5, 0x02, 0x00, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x61, 0x00, 0x00, 0x80, 0x20, 0x42, 0x01, 0x30, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x14, 0x00, 0x10, 0x01, 0x01, 0x00,
0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x10, 0x00, 0x10, 0x01, 0x01, 0x00,
0x05, 0x00, 0x58, 0x11, 0x05, 0x00, 0x58, 0x00, 0x61, 0x00, 0x00, 0x80,
0x20, 0x02, 0xf5, 0x02, 0x00, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x61, 0x00, 0x10, 0x80, 0x20, 0x42, 0x05, 0x03, 0x00, 0x00, 0x00, 0x00,
Expand All @@ -260,20 +260,24 @@ const unsigned char Xe2SIPCSRDebugBindless[] =
0x20, 0x02, 0x25, 0x04, 0x20, 0x90, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x61, 0x00, 0x08, 0x80, 0x20, 0x02, 0x85, 0x04, 0x01, 0xb0, 0x34, 0x00,
0x00, 0x00, 0x00, 0x00, 0x61, 0x00, 0x10, 0x80, 0x20, 0x42, 0x05, 0x05,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x61, 0x00, 0x0c, 0x80,
0x20, 0x02, 0x05, 0x05, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x61, 0x00, 0x0c, 0x80, 0x20, 0x02, 0x85, 0x05, 0x00, 0x21, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x80, 0x20, 0x82, 0x05, 0x01,
0x04, 0x01, 0x00, 0x02, 0x00, 0x01, 0x00, 0x00, 0x31, 0x20, 0x03, 0x80,
0x00, 0x00, 0x00, 0x00, 0x8c, 0x01, 0x08, 0xfe, 0x27, 0x02, 0xb8, 0xf4,
0x61, 0xa0, 0x10, 0x80, 0x20, 0x42, 0x05, 0x02, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x61, 0x00, 0x0c, 0x80, 0x20, 0x02, 0x05, 0x02,
0x00, 0x22, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x61, 0x00, 0x0c, 0x80,
0x20, 0x02, 0x85, 0x02, 0x00, 0x23, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x61, 0x00, 0x10, 0x80, 0x20, 0x42, 0x05, 0x03, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x61, 0x00, 0x10, 0x80, 0x20, 0x42, 0x05, 0x04,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x61, 0x19, 0x0c, 0x80,
0xa0, 0x0a, 0x05, 0x04, 0x00, 0x23, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00,
0xa0, 0x0a, 0x05, 0x05, 0x01, 0x20, 0x46, 0x00, 0x00, 0x00, 0x00, 0x00,
0x61, 0x00, 0x0c, 0x80, 0xa0, 0x0a, 0x01, 0x20, 0x01, 0x21, 0x46, 0x00,
0x00, 0x00, 0x00, 0x00, 0x61, 0x00, 0x0c, 0x80, 0xa0, 0x0a, 0x05, 0x06,
0x01, 0x20, 0x46, 0x00, 0x00, 0x00, 0x00, 0x00, 0x61, 0x11, 0x0c, 0x80,
0xa0, 0x0a, 0x85, 0x05, 0x05, 0x06, 0x46, 0x00, 0x00, 0x00, 0x00, 0x00,
0x40, 0x00, 0x00, 0x80, 0x20, 0x82, 0x05, 0x01, 0x04, 0x01, 0x00, 0x02,
0x00, 0x01, 0x00, 0x00, 0x31, 0x20, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00,
0x8c, 0x01, 0x08, 0xfe, 0x27, 0x02, 0xb8, 0xf4, 0x61, 0xa0, 0x10, 0x80,
0x20, 0x42, 0x05, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x61, 0x00, 0x0c, 0x80, 0x20, 0x0a, 0x05, 0x02, 0x01, 0x22, 0x46, 0x00,
0x00, 0x00, 0x00, 0x00, 0x61, 0x19, 0x0c, 0x80, 0xa0, 0x0a, 0x01, 0x22,
0x01, 0x23, 0x46, 0x00, 0x00, 0x00, 0x00, 0x00, 0x61, 0x00, 0x0c, 0x80,
0xa0, 0x0a, 0x05, 0x03, 0x01, 0x22, 0x46, 0x00, 0x00, 0x00, 0x00, 0x00,
0x61, 0x09, 0x0c, 0x80, 0xa0, 0x0a, 0x85, 0x02, 0x05, 0x03, 0x46, 0x00,
0x00, 0x00, 0x00, 0x00, 0x61, 0x11, 0x10, 0x80, 0x20, 0x42, 0x05, 0x03,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x61, 0x00, 0x10, 0x80,
0x20, 0x42, 0x05, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x61, 0x00, 0x10, 0x80, 0x20, 0x42, 0x05, 0x05, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x61, 0x00, 0x08, 0x80, 0x20, 0x02, 0x05, 0x05,
0x01, 0x50, 0x34, 0x00, 0x00, 0x00, 0x00, 0x00, 0x61, 0x00, 0x00, 0x80,
Expand All @@ -288,7 +292,7 @@ const unsigned char Xe2SIPCSRDebugBindless[] =
0x20, 0x02, 0xe5, 0x05, 0x60, 0x51, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x61, 0x00, 0x00, 0x80, 0x20, 0x02, 0xf5, 0x05, 0x70, 0x51, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x80, 0x20, 0x82, 0x05, 0x01,
0x04, 0x01, 0x00, 0x02, 0x00, 0x01, 0x00, 0x00, 0x31, 0x21, 0x01, 0x80,
0x04, 0x01, 0x00, 0x02, 0x00, 0x01, 0x00, 0x00, 0x31, 0x21, 0x03, 0x80,
0x00, 0x00, 0x00, 0x00, 0x8c, 0x01, 0x08, 0xfe, 0x27, 0x02, 0xb8, 0xf4,
0x61, 0xa1, 0x10, 0x80, 0x20, 0x42, 0x05, 0x02, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x61, 0x00, 0x00, 0x80, 0x20, 0x02, 0x05, 0x02,
Expand Down Expand Up @@ -465,8 +469,8 @@ const unsigned char Xe2SIPCSRDebugBindless[] =
0x40, 0x00, 0x00, 0x80, 0x20, 0x82, 0x05, 0x01, 0x04, 0x01, 0x00, 0x06,
0xe0, 0xfd, 0xff, 0xff, 0x31, 0x21, 0x03, 0x80, 0x00, 0x00, 0x24, 0x02,
0x8c, 0x01, 0x00, 0xfe, 0x03, 0x00, 0xb8, 0xf4, 0x61, 0x81, 0x0c, 0x80,
0xa0, 0x02, 0x01, 0x22, 0x04, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x61, 0x11, 0x0c, 0x80, 0x20, 0x02, 0x01, 0x23, 0x84, 0x02, 0x00, 0x00,
0xa0, 0x0a, 0x01, 0x22, 0x05, 0x02, 0x46, 0x00, 0x00, 0x00, 0x00, 0x00,
0x61, 0x00, 0x0c, 0x80, 0xa0, 0x0a, 0x01, 0x23, 0x85, 0x02, 0x46, 0x00,
0x00, 0x00, 0x00, 0x00, 0x61, 0x00, 0x08, 0x80, 0x20, 0x02, 0x01, 0x50,
0x05, 0x05, 0x34, 0x00, 0x00, 0x00, 0x00, 0x00, 0x61, 0x00, 0x00, 0x80,
0x20, 0x02, 0x01, 0x51, 0x84, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
Expand All @@ -480,7 +484,7 @@ const unsigned char Xe2SIPCSRDebugBindless[] =
0x20, 0x02, 0x61, 0x51, 0xe4, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x61, 0x00, 0x00, 0x80, 0x20, 0x02, 0x71, 0x51, 0xf4, 0x05, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x80, 0x20, 0x82, 0x05, 0x01,
0x04, 0x01, 0x00, 0x06, 0x00, 0xff, 0xff, 0xff, 0x31, 0x21, 0x03, 0x80,
0x04, 0x01, 0x00, 0x06, 0x00, 0xff, 0xff, 0xff, 0x31, 0x21, 0x01, 0x80,
0x00, 0x00, 0x24, 0x02, 0x8c, 0x01, 0x00, 0xfe, 0x03, 0x00, 0xb8, 0xf4,
0x61, 0x81, 0x10, 0x80, 0x10, 0x01, 0x01, 0x10, 0x05, 0x02, 0x58, 0x00,
0x00, 0x00, 0x00, 0x00, 0x61, 0x00, 0x00, 0x80, 0x20, 0x02, 0x01, 0x30,
Expand All @@ -502,11 +506,11 @@ const unsigned char Xe2SIPCSRDebugBindless[] =
0x00, 0x00, 0x00, 0x00, 0x61, 0x00, 0x00, 0x80, 0x20, 0x02, 0x11, 0x90,
0x14, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x61, 0x00, 0x00, 0x80,
0x20, 0x02, 0x21, 0x90, 0x24, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x61, 0x00, 0x0c, 0x80, 0x20, 0x02, 0x01, 0x20, 0x04, 0x05, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x61, 0x00, 0x0c, 0x80, 0x20, 0x02, 0x01, 0x21,
0x84, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x80,
0x61, 0x00, 0x0c, 0x80, 0xa0, 0x0a, 0x01, 0x20, 0x05, 0x05, 0x46, 0x00,
0x00, 0x00, 0x00, 0x00, 0x61, 0x00, 0x0c, 0x80, 0xa0, 0x0a, 0x01, 0x21,
0x85, 0x05, 0x46, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x80,
0x20, 0x82, 0x05, 0x01, 0x04, 0x01, 0x00, 0x02, 0x00, 0xc1, 0xff, 0xff,
0x31, 0x20, 0x03, 0x80, 0x00, 0x00, 0x24, 0x04, 0x8c, 0x01, 0x00, 0xfe,
0x31, 0x20, 0x01, 0x80, 0x00, 0x00, 0x24, 0x04, 0x8c, 0x01, 0x00, 0xfe,
0x03, 0x00, 0xb8, 0xf4, 0x40, 0xa0, 0x00, 0x80, 0x20, 0x82, 0x05, 0x01,
0x04, 0x01, 0x00, 0x02, 0x00, 0x01, 0x00, 0x00, 0x31, 0x21, 0x03, 0x80,
0x00, 0x00, 0x24, 0x08, 0x8c, 0x01, 0x00, 0xfe, 0x03, 0x00, 0xb8, 0xf4,
Expand Down

0 comments on commit 537f3a1

Please sign in to comment.