[PATCH 2/3] Initial port to PowerPC 64 Little Endian systems Verified

André Hentschel nerv at dawncrow.de
Tue Feb 26 12:48:33 CST 2019


Hi,

Some notes on this patch:
 * Please split it, see my ARM or even better my ARM64 patches for it: [1], especially [2] (6 years ago, WHAT???)
 * git complains about white-space issues when applying, those need to be fixed
 * I needed to add support in the wine tools for powerpc64le, because my toolchain was named that way
 * I had a quick try with qemu user space emulation and directly ran into the assertion in signal_ppc64.c:signal_alloc_thread(): assert( sizeof(TEB) <= min_size );
 * A very minor one: For easier searching for commits a constant platform naming helps, I tried to include "ARM64" in all related patch subjects, maybe PPC64 fits here well


[1] https://source.winehq.org/git/wine.git/?a=search&h=HEAD&st=commit&s=ARM64
[2] https://source.winehq.org/git/wine.git/shortlog/fcc204c989928e4304f3b93a7bbcfba8129c036e


Am 26.02.19 um 11:04 schrieb Timothy Pearson:
>  to start winecfg
> 
> Signed-off-by: Timothy Pearson <tpearson at raptorengineering.com>
> ---
>  configure                       |   38 +
>  configure.ac                    |    9 +
>  dlls/dbghelp/Makefile.in        |    1 +
>  dlls/dbghelp/cpu_ppc64.c        |  100 +++
>  dlls/dbghelp/dbghelp.c          |    6 +-
>  dlls/kernel32/cpu.c             |    3 +
>  dlls/kernel32/module.c          |    1 +
>  dlls/kernel32/process.c         |    8 +-
>  dlls/kernel32/tests/file.c      |    2 +
>  dlls/kernel32/tests/loader.c    |    2 +
>  dlls/kernel32/tests/module.c    |    2 +
>  dlls/ntdll/Makefile.in          |    1 +
>  dlls/ntdll/loader.c             |   10 +-
>  dlls/ntdll/nt.c                 |    8 +
>  dlls/ntdll/ntdll.spec           |    2 +-
>  dlls/ntdll/process.c            |    8 +-
>  dlls/ntdll/server.c             |    6 +-
>  dlls/ntdll/signal_powerpc.c     |    4 +-
>  dlls/ntdll/signal_ppc64.c       | 1221 +++++++++++++++++++++++++++++++
>  dlls/ntdll/virtual.c            |    2 +-
>  dlls/setupapi/fakedll.c         |    2 +
>  dlls/ucrtbase/ucrtbase.spec     |    2 +-
>  include/basetsd.h               |   10 +
>  include/msvcrt/crtdefs.h        |    6 +
>  include/rpc.h                   |    4 +-
>  include/windef.h                |    6 +
>  include/wine/server_protocol.h  |    6 +-
>  include/winnt.h                 |  138 +++-
>  libs/port/interlocked.c         |    2 +-
>  libs/wine/port.c                |   19 +
>  programs/winedbg/Makefile.in    |    1 +
>  programs/winedbg/be_ppc.c       |    2 +-
>  programs/winedbg/be_ppc64.c     |  303 ++++++++
>  programs/winedbg/gdbproxy.c     |    2 +
>  programs/winedbg/tgt_active.c   |    2 +
>  programs/winedbg/tgt_minidump.c |    3 +
>  programs/winedbg/winedbg.c      |    4 +
>  programs/winetest/main.c        |    2 +
>  server/mapping.c                |    8 +-
>  server/process.h                |    2 +-
>  server/protocol.def             |    6 +-
>  server/thread.c                 |    6 +
>  server/trace.c                  |   21 +
>  tools/widl/widl.c               |    7 +
>  tools/widl/widl.h               |    2 +-
>  tools/widl/write_msft.c         |    2 +-
>  tools/winebuild/build.h         |    4 +-
>  tools/winebuild/import.c        |  117 +++
>  tools/winebuild/main.c          |    6 +
>  tools/winebuild/parser.c        |    4 +-
>  tools/winebuild/spec32.c        |   37 +-
>  tools/winebuild/utils.c         |   12 +
>  tools/winedump/minidump.c       |    3 +
>  tools/winedump/pe.c             |    1 +
>  tools/winegcc/utils.h           |    2 +-
>  tools/winegcc/winegcc.c         |   41 +-
>  tools/wrc/wrc.c                 |    3 +-
>  57 files changed, 2168 insertions(+), 64 deletions(-)
>  create mode 100644 dlls/dbghelp/cpu_ppc64.c
>  create mode 100644 dlls/ntdll/signal_ppc64.c
>  create mode 100644 programs/winedbg/be_ppc64.c
> 



More information about the wine-devel mailing list