summaryrefslogtreecommitdiffhomepage
path: root/arch
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-03-07 23:01:54 +0000
committermidipix <writeonce@midipix.org>2019-03-12 02:27:22 -0400
commit1a03f61ed4c777d59d714a3663cb604c1df52b2d (patch)
treeecad8e7d6e497367a580f212afa730a3706e47c1 /arch
parent146a56a1aa96c8acbe6965fdef0a34e079c58ef3 (diff)
downloadmmglue-1a03f61ed4c777d59d714a3663cb604c1df52b2d.tar.bz2
mmglue-1a03f61ed4c777d59d714a3663cb604c1df52b2d.tar.xz
abi: struct __psx_context now includes a pointer to the layer's seh vtable.
Diffstat (limited to 'arch')
-rw-r--r--arch/nt32/psxglue.h3
-rw-r--r--arch/nt64/psxglue.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/nt32/psxglue.h b/arch/nt32/psxglue.h
index ad0e07b..4e4b9fd 100644
--- a/arch/nt32/psxglue.h
+++ b/arch/nt32/psxglue.h
@@ -7,6 +7,8 @@
#define __PSXOPT_LDSO 0x4
#define __PSXOPT_VRFS 0x8
+struct __seh_vtbl;
+
struct __ldso_vtbl {
int (*dladdr) (const void * addr, void * info);
int (*dlinfo) (void * dso, int req, void * res);
@@ -40,6 +42,7 @@ struct __psx_context {
void * ldsoaddr;
const unsigned short * ctty;
void ** sys_vtbl;
+ const struct __seh_vtbl * seh_vtbl;
const struct __ldso_vtbl * ldso_vtbl;
const struct __psx_vtbl * psx_vtbl;
unsigned int teb_sys_idx;
diff --git a/arch/nt64/psxglue.h b/arch/nt64/psxglue.h
index ad0e07b..4e4b9fd 100644
--- a/arch/nt64/psxglue.h
+++ b/arch/nt64/psxglue.h
@@ -7,6 +7,8 @@
#define __PSXOPT_LDSO 0x4
#define __PSXOPT_VRFS 0x8
+struct __seh_vtbl;
+
struct __ldso_vtbl {
int (*dladdr) (const void * addr, void * info);
int (*dlinfo) (void * dso, int req, void * res);
@@ -40,6 +42,7 @@ struct __psx_context {
void * ldsoaddr;
const unsigned short * ctty;
void ** sys_vtbl;
+ const struct __seh_vtbl * seh_vtbl;
const struct __ldso_vtbl * ldso_vtbl;
const struct __psx_vtbl * psx_vtbl;
unsigned int teb_sys_idx;