Skip to content

Commit

Permalink
wine: Rebase to 8.11
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreRH committed Jul 9, 2023
1 parent 95d56b0 commit b961987
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[submodule "wine"]
path = wine
url = https://github.com/AndreRH/wine.git
branch = wow
[submodule "qemu"]
path = qemu
url = https://github.com/AndreRH/qemu.git
Expand Down
23 changes: 14 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,24 +76,29 @@ $ make -j$(nproc)
```

### 4) Running
You can add the following environment variables:

* HODLL to select the emulator dll:
* wow64cpu.dll for "native" i386 mode on x86_64
* wowarmhw.dll for ARM emulation (Qemu)
* xtajit.dll for i386 emulation (Qemu)
* fexcore.dll for i386 emulation (FEX)
* HOLIB to set full path of the library, e.g. HOLIB=/path/to/libqemu-i386.so
* QEMU_LOG to set QEMU log channels, find some options [here.](https://github.com/AndreRH/qemu/blob/v5.2.0/util/log.c#L297)

#### 4.1) QEMU
Until the critical section issue is solved it is highly recomended to limit execution to 1 core with
"taskset -c 1" for Qemu emulation:

```bash
$ taskset -c 1 ./wine yourapplication.exe
$ HODLL=xtajit.dll taskset -c 1 ./wine your_x86_application.exe
$ HODLL=wowarmhw.dll taskset -c 1 ./wine your_arm_application.exe
```

You can add the following environment variables:

* HODLL to run applications with other dlls than xtajit or wowarmhw. e.g. HODLL=wow64cpu.dll to run it without emulation on x86-64:<br>
xtajit.dll for i386 emulation, wowarmhw.dll for ARM emulation and wow64cpu.dll for "native" i386 mode on x86_64
* HOLIB to set full path of the library, e.g. HOLIB=/path/to/libqemu-i386.so
* QEMU_LOG to set QEMU log channels, find some options [here.](https://github.com/AndreRH/qemu/blob/v5.2.0/util/log.c#L297)

### 5) Todo

* Get more applications running
* Investigate CriticalSection issues (just timing?)
* QMEU: Investigate CriticalSection issues (just timing?)
* Integrate other emulators than QEMU

### 6) Financial Contributors
Expand Down
2 changes: 1 addition & 1 deletion wine
Submodule wine updated 134 files

0 comments on commit b961987

Please sign in to comment.