mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 17:00:19 +02:00
Linux: Add some comments claiming shmctl and msqctl is incorrect on x86
These aren't correctly handled, so they will get garbage data for now
This commit is contained in:
1 parent
d2636f63f2
commit
76877e08bc
2 files changed
+2
No files matched your search
@@ -32,6 +32,7 @@ namespace FEX::HLE {
|
||||
SYSCALL_ERRNO();
|
||||
});
|
||||
|
||||
// XXX: msqid_ds is definitely not correct for 32-bit
|
||||
REGISTER_SYSCALL_IMPL(msgctl, [](FEXCore::Core::CpuStateFrame *Frame, int msqid, int cmd, struct msqid_ds *buf) -> uint64_t {
|
||||
uint64_t Result = ::msgctl(msqid, cmd, buf);
|
||||
SYSCALL_ERRNO();
|
||||
|
||||
@@ -19,6 +19,7 @@ namespace FEX::HLE {
|
||||
SYSCALL_ERRNO();
|
||||
});
|
||||
|
||||
// XXX: shmid_ds is definitely not correct for 32-bit
|
||||
REGISTER_SYSCALL_IMPL(shmctl, [](FEXCore::Core::CpuStateFrame *Frame, int shmid, int cmd, struct shmid_ds *buf) -> uint64_t {
|
||||
uint64_t Result = ::shmctl(shmid, cmd, buf);
|
||||
SYSCALL_ERRNO();
|
||||
|
||||
Reference in new issue
Block a user