eliminate os_core, move into base; eliminate regs, move into arch abstraction layer, define x64 regs in x64 layer; move win32 backend for os core (now base) functionality to top-level win32 layer

This commit is contained in:
Ryan Fleury committed 2026-05-08 15:21:21 -07:00
1 parent 24c858171f
commit aea4a4ff9d
148 files changed
+7942 -5268

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
// Copyright (c) Epic Games Tools
// Licensed under the MIT license (https://opensource.org/license/mit/)
#include "dwarf/x64/generated/dwarf_x64.meta.c"
+9
View File
@@ -0,0 +1,9 @@
// Copyright (c) Epic Games Tools
// Licensed under the MIT license (https://opensource.org/license/mit/)
#ifndef DWARF_X64_H
#define DWARF_X64_H
#include "dwarf/x64/generated/dwarf_x64.meta.h"
#endif // DWARF_X64_H
+7
View File
@@ -0,0 +1,7 @@
// Copyright (c) Epic Games Tools
// Licensed under the MIT license (https://opensource.org/license/mit/)
@data(U8) dw_reg_code_from_x64_table:
{
@expand(X64_RegTable a) `$(a.has_dwarf == 'x' -> "DW_RegCodeX64_" .. a.name)$(a.has_dwarf != 'x' -> 0)`
}
+201
View File
@@ -0,0 +1,201 @@
// Copyright (c) Epic Games Tools
// Licensed under the MIT license (https://opensource.org/license/mit/)
//- GENERATED CODE
C_LINKAGE_BEGIN
U8 dw_reg_code_from_x64_table[189] =
{
0,
DW_RegCodeX64_rax,
DW_RegCodeX64_rcx,
DW_RegCodeX64_rdx,
DW_RegCodeX64_rbx,
DW_RegCodeX64_rsp,
DW_RegCodeX64_rbp,
DW_RegCodeX64_rsi,
DW_RegCodeX64_rdi,
DW_RegCodeX64_r8,
DW_RegCodeX64_r9,
DW_RegCodeX64_r10,
DW_RegCodeX64_r11,
DW_RegCodeX64_r12,
DW_RegCodeX64_r13,
DW_RegCodeX64_r14,
DW_RegCodeX64_r15,
DW_RegCodeX64_fsbase,
DW_RegCodeX64_gsbase,
DW_RegCodeX64_rip,
DW_RegCodeX64_rflags,
0,
0,
0,
0,
0,
0,
0,
0,
DW_RegCodeX64_st0,
DW_RegCodeX64_st1,
DW_RegCodeX64_st2,
DW_RegCodeX64_st3,
DW_RegCodeX64_st4,
DW_RegCodeX64_st5,
DW_RegCodeX64_st6,
DW_RegCodeX64_st7,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
DW_RegCodeX64_ss,
DW_RegCodeX64_cs,
DW_RegCodeX64_ds,
DW_RegCodeX64_es,
DW_RegCodeX64_fs,
DW_RegCodeX64_gs,
DW_RegCodeX64_zmm0,
DW_RegCodeX64_zmm1,
DW_RegCodeX64_zmm2,
DW_RegCodeX64_zmm3,
DW_RegCodeX64_zmm4,
DW_RegCodeX64_zmm5,
DW_RegCodeX64_zmm6,
DW_RegCodeX64_zmm7,
DW_RegCodeX64_zmm8,
DW_RegCodeX64_zmm9,
DW_RegCodeX64_zmm10,
DW_RegCodeX64_zmm11,
DW_RegCodeX64_zmm12,
DW_RegCodeX64_zmm13,
DW_RegCodeX64_zmm14,
DW_RegCodeX64_zmm15,
DW_RegCodeX64_zmm16,
DW_RegCodeX64_zmm17,
DW_RegCodeX64_zmm18,
DW_RegCodeX64_zmm19,
DW_RegCodeX64_zmm20,
DW_RegCodeX64_zmm21,
DW_RegCodeX64_zmm22,
DW_RegCodeX64_zmm23,
DW_RegCodeX64_zmm24,
DW_RegCodeX64_zmm25,
DW_RegCodeX64_zmm26,
DW_RegCodeX64_zmm27,
DW_RegCodeX64_zmm28,
DW_RegCodeX64_zmm29,
DW_RegCodeX64_zmm30,
DW_RegCodeX64_zmm31,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
DW_RegCodeX64_mm0,
DW_RegCodeX64_mm1,
DW_RegCodeX64_mm2,
DW_RegCodeX64_mm3,
DW_RegCodeX64_mm4,
DW_RegCodeX64_mm5,
DW_RegCodeX64_mm6,
DW_RegCodeX64_mm7,
};
C_LINKAGE_END
+14
View File
@@ -0,0 +1,14 @@
// Copyright (c) Epic Games Tools
// Licensed under the MIT license (https://opensource.org/license/mit/)
//- GENERATED CODE
#ifndef DWARF_X64_META_H
#define DWARF_X64_META_H
C_LINKAGE_BEGIN
extern U8 dw_reg_code_from_x64_table[189];
C_LINKAGE_END
#endif // DWARF_X64_META_H