Commit Graph

533 Commits

Author SHA1 Message Date
Elias Bachaalany
35dbe09880 replaced more printf() with logger calls 2025-01-14 22:22:01 -08:00
Maurice Heumann
49753d2157 Add Android support (#77) 2025-01-13 19:05:43 +01:00
momo5502
b76dc7cf24 Introduce path_key util
It represents a canonical path that can be used as key
for unordered containers
2025-01-13 19:00:01 +01:00
momo5502
fa5cc9c049 Add android build 2025-01-13 08:04:33 +01:00
momo5502
6c2a6ff872 Prepare android support 2025-01-13 08:04:32 +01:00
Maurice Heumann
e669674be9 Changes to make the 'emulator' project suitable for submodules (#76)
- Added the MOMO_BUILD_AS_LIBRARY CMake option to allow ease of using of
the emulator project as a library/submodule.
- windows_emulator project also brings in the 'common' dependency
- 'common' dependency now renamed to 'emulator-common'
2025-01-13 08:03:28 +01:00
Elias Bachaalany
a16c1dd654 renamed dependency 'common' to emulator-common
also made it mandatory when using the 'windows-emulator' dep
2025-01-12 12:31:53 -08:00
Elias Bachaalany
051e7a77a7 no need to export anything if MOMO_BUILD_AS_LIBRARY 2025-01-12 11:56:11 -08:00
Elias Bachaalany
c58abdc5fe added MOMO_BUILD_AS_LIBRARY
this allows to build the emulator as a static library.
useful for using the project as a library
2025-01-12 11:43:02 -08:00
Maurice Heumann
aaf2e67526 moved some time/sync funcs/consts out from syscall_utils (#71)
...to utils/timer.hpp
2025-01-12 20:10:57 +01:00
Elias Bachaalany
0459a1d71a fix CI issues 2025-01-12 10:59:23 -08:00
momo5502
15b00eb1a8 Fix network address 2025-01-12 10:05:10 +01:00
momo5502
0d637d04fc Reuse address 2025-01-12 09:53:18 +01:00
Maurice Heumann
d45d8150fc Add TCP socket support (#74) 2025-01-12 08:53:16 +01:00
momo5502
dd226bd45a Fix compilation 2025-01-12 08:43:34 +01:00
momo5502
8333c25f2c Finish tcp client socket 2025-01-12 08:23:47 +01:00
Elias Bachaalany
f1f42b855b refactored into its own files ('time.hpp/.cpp') 2025-01-11 21:51:05 -08:00
Elias Bachaalany
57449b6f30 fixed formatting? 2025-01-11 21:35:10 -08:00
Elias Bachaalany
c98260aa04 fixed styles? 2025-01-11 21:35:10 -08:00
Elias Bachaalany
4129725c97 moved some time/sync funcs/consts out from syscall_utils 2025-01-11 21:35:10 -08:00
momo5502
21e2f6f999 Prepare TCP support 2025-01-11 21:29:55 +01:00
momo5502
c8c1e000a3 Separate udp socket implementation from generic socket 2025-01-11 21:28:24 +01:00
Maurice Heumann
32faf2ba1f renamed 'write_status' to 'write_syscall_status' (#70) 2025-01-11 16:43:10 +01:00
Maurice Heumann
1886bb2ac5 log.error() instead of printf() for syscall issues (#72) 2025-01-11 16:42:44 +01:00
Elias Bachaalany
c143acae43 error log instead of printf() for syscall issues 2025-01-11 07:36:29 -08:00
Elias Bachaalany
6ea79021a0 renamed 'write_status' to 'write_syscall_status' 2025-01-11 06:28:10 -08:00
momo5502
b2b2ffd6be Cleanup exception handling and prepare UI support 2025-01-11 09:55:48 +01:00
Maurice Heumann
ff6fd79dd5 More win 10 fixes (#67) 2025-01-11 09:12:36 +01:00
Maurice Heumann
68a88b5582 Small fixes (#68) 2025-01-11 09:12:25 +01:00
momo5502
55e2462206 Small fixes 2025-01-11 09:05:27 +01:00
momo5502
b3b7a75373 Add windows 10 CI tests 2025-01-11 09:01:14 +01:00
momo5502
f2ab2a48df Fix ltsc2019 execution 2025-01-11 09:01:14 +01:00
Maurice Heumann
fc9e1f8f0f fixed allocate_object_on_stack() (#66) 2025-01-11 04:12:49 +01:00
Elias Bachaalany
2a3baa3987 fixed allocate_object_on_stack() 2025-01-10 17:36:40 -08:00
momo5502
600b746d21 Add cover image 2025-01-10 21:13:15 +01:00
momo5502
a31d074eb4 Move clang format into src 2025-01-10 20:44:45 +01:00
Maurice Heumann
ae5a87b9c4 added missing syscall so that Windows 10 emulation works (#65)
For now, this is reports as not implemented but it seems to make the OS
happy.
2025-01-10 20:36:12 +01:00
Elias Bachaalany
0516c1ad87 added missing syscall so that Windows 10 emulation works
For now, this is reports as not implemented but it seems to make the OS happy.
2025-01-10 11:27:04 -08:00
Maurice Heumann
22d21a3278 Some win10 progress (#64) 2025-01-10 16:55:00 +01:00
momo5502
d57678dbea Some win10 progress 2025-01-10 12:51:55 +01:00
Maurice Heumann
1eb90e26be Add Windows 2025 tests (#63) 2025-01-10 07:28:14 +01:00
momo5502
da5a710f44 Disable windows 10 for now 2025-01-10 07:19:25 +01:00
momo5502
d55b101f1b Add build platform 2025-01-10 07:09:02 +01:00
Maurice Heumann
6196c927f7 Minor interface refactorings (#62) 2025-01-09 19:23:10 +01:00
momo5502
cad5e674e4 Refactor emulator interface 2025-01-09 19:18:20 +01:00
Maurice Heumann
8d5f561ccf Bump deps/mini-gdbstub from 2b8a5aa to 632ebd3 (#61)
Bumps [deps/mini-gdbstub](https://github.com/momo5502/mini-gdbstub) from
`2b8a5aa` to `632ebd3`.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="632ebd3892"><code>632ebd3</code></a>
Merge pull request <a
href="https://redirect.github.com/momo5502/mini-gdbstub/issues/1">#1</a>
from momo5502/platform-fixes</li>
<li>See full diff in <a
href="2b8a5aade4...632ebd3892">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>
2025-01-08 13:32:53 +01:00
dependabot[bot]
507a07de17 Bump deps/mini-gdbstub from 2b8a5aa to 632ebd3
Bumps [deps/mini-gdbstub](https://github.com/momo5502/mini-gdbstub) from `2b8a5aa` to `632ebd3`.
- [Commits](2b8a5aade4...632ebd3892)

---
updated-dependencies:
- dependency-name: deps/mini-gdbstub
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-08 12:27:13 +00:00
Maurice Heumann
a254b129d0 Getting rid of explicit NtQuerySystemInformationEx syscall (#59)
This fixes #50
2025-01-08 11:25:30 +01:00
momo5502
7993c9c8e8 Small formatting fixes 2025-01-08 11:14:08 +01:00
momo5502
73eb7d659c Get rid of explicit NtQuerySystemInformationEx syscall 2025-01-08 11:02:04 +01:00