NO CODE CHANGE

[KERNEL32]: Reorganize the source tree into a "client" section (The Win32 API proper and its wrapping of the NT base system -- unsynchable with Wine until they have a proper NtDll and choose to use our code) and a "winnls" section (string/language/etc stuff easily synchable with Wine).
[KERNEL32]: Note: this is not perfect yet, but a step in the right direction.

svn path=/trunk/; revision=52738
This commit is contained in:
Alex Ionescu 2011-07-20 16:14:21 +00:00
parent 1b4336a2c1
commit c37513d3e0
224 changed files with 156 additions and 166 deletions

View file

@ -11,86 +11,86 @@ set_rc_compiler()
spec2def(kernel32.dll kernel32.spec)
list(APPEND SOURCE
debug/debugger.c
except/except.c
file/backup.c
file/bintype.c
file/cnotify.c
file/copy.c
file/console.c
file/create.c
file/curdir.c
file/delete.c
file/deviceio.c
file/dir.c
file/dosdev.c
file/file.c
file/filemap.c
file/find.c
file/hardlink.c
file/iocompl.c
file/lfile.c
file/lock.c
file/mailslot.c
file/move.c
file/npipe.c
file/pipe.c
file/rw.c
file/tape.c
file/volume.c
mem/heap.c
mem/virtual.c
misc/actctx.c
misc/atom.c
misc/comm.c
misc/computername.c
misc/dllmain.c
misc/env.c
misc/handle.c
misc/ldr.c
misc/lzexpand.c
misc/muldiv.c
misc/perfcnt.c
misc/power.c
misc/profile.c
misc/recovery.c
misc/res.c
misc/resntfy.c
misc/stubs.c
misc/sysinfo.c
misc/time.c
misc/timerqueue.c
misc/toolhelp.c
misc/utils.c
misc/version.c
process/job.c
process/proc.c
process/session.c
string/casemap.c
string/chartype.c
string/collation.c
string/fold.c
string/format_msg.c
string/lang.c
string/lcformat.c
string/lstring.c
string/nls.c
string/sortkey.c
synch/synch.c
vista/vista.c
thread/fiber.c
thread/thread.c
client/debugger.c
client/except.c
client/file/ackup.c
client/file/bintype.c
client/file/cnotify.c
client/file/copy.c
client/file/console.c
client/file/create.c
client/file/curdir.c
client/file/delete.c
client/file/deviceio.c
client/file/dir.c
client/file/dosdev.c
client/file/file.c
client/file/filemap.c
client/file/find.c
client/file/hardlink.c
client/file/iocompl.c
client/file/lfile.c
client/file/lock.c
client/file/mailslot.c
client/file/move.c
client/file/npipe.c
client/file/pipe.c
client/file/rw.c
client/file/tape.c
client/file/volume.c
client/heapmem.c
client/virtmem.c
client/misc/actctx.c
client/misc/atom.c
client/misc/comm.c
client/misc/computername.c
client/misc/dllmain.c
client/misc/env.c
client/misc/handle.c
client/misc/ldr.c
client/misc/lzexpand.c
client/misc/muldiv.c
client/misc/perfcnt.c
client/misc/power.c
client/misc/profile.c
client/misc/recovery.c
client/misc/res.c
client/misc/resntfy.c
client/misc/stubs.c
client/misc/sysinfo.c
client/misc/time.c
client/misc/timerqueue.c
client/misc/toolhelp.c
client/misc/utils.c
client/misc/version.c
client/job.c
client/proc.c
client/session.c
winnls/string/casemap.c
winnls/string/chartype.c
winnls/string/collation.c
winnls/string/fold.c
winnls/string/format_msg.c
winnls/string/lang.c
winnls/string/lcformat.c
winnls/string/lstring.c
winnls/string/nls.c
winnls/string/sortkey.c
client/synch.c
client/vista.c
client/fiber.c
client/thread.c
kernel32.rc
${CMAKE_CURRENT_BINARY_DIR}/kernel32.def)
if(ARCH MATCHES i386)
list(APPEND SOURCE
thread/i386/fiber.S
thread/i386/thread.S)
client/i386/fiber.S
client/i386/thread.S)
elseif(ARCH MATCHES amd64)
list(APPEND SOURCE
thread/amd64/fiber.S
thread/amd64/thread.S)
client/amd64/fiber.S
client/amd64/thread.S)
endif(ARCH MATCHES i386)
add_library(kernel32 SHARED ${SOURCE})

View file

@ -17,93 +17,7 @@
<compilerflag compiler="cxx">-fno-exceptions</compilerflag>
<compilerflag compiler="cxx">-fno-rtti</compilerflag>
</group>
<directory name="debug">
<file>debugger.c</file>
</directory>
<directory name="except">
<file>except.c</file>
</directory>
<directory name="file">
<file>backup.c</file>
<file>bintype.c</file>
<file>cnotify.c</file>
<file>copy.c</file>
<file>console.c</file>
<file>create.c</file>
<file>curdir.c</file>
<file>delete.c</file>
<file>deviceio.c</file>
<file>dir.c</file>
<file>dosdev.c</file>
<file>file.c</file>
<file>filemap.c</file>
<file>find.c</file>
<file>hardlink.c</file>
<file>iocompl.c</file>
<file>lfile.c</file>
<file>lock.c</file>
<file>mailslot.c</file>
<file>move.c</file>
<file>npipe.c</file>
<file>pipe.c</file>
<file>rw.c</file>
<file>tape.c</file>
<file>volume.c</file>
</directory>
<directory name="mem">
<file>heap.c</file>
<file>virtual.c</file>
</directory>
<directory name="misc">
<file>actctx.c</file>
<file>atom.c</file>
<file>comm.c</file>
<file>computername.c</file>
<file>dllmain.c</file>
<file>env.c</file>
<file>handle.c</file>
<file>ldr.c</file>
<file>lzexpand.c</file>
<file>muldiv.c</file>
<file>perfcnt.c</file>
<file>power.c</file>
<file>resntfy.c</file>
<file>res.c</file>
<file>stubs.c</file>
<file>sysinfo.c</file>
<file>time.c</file>
<file>timerqueue.c</file>
<file>toolhelp.c</file>
<file>version.c</file>
<file>profile.c</file>
<file>utils.c</file>
</directory>
<directory name="process">
<file>job.c</file>
<file>proc.c</file>
<file>session.c</file>
</directory>
<directory name="string">
<file>chartype.c</file>
<file>collation.c</file>
<file>casemap.c</file>
<file>fold.c</file>
<file>format_msg.c</file>
<file>lang.c</file>
<file>lstring.c</file>
<file>lcformat.c</file>
<file>nls.c</file>
<file>sortkey.c</file>
</directory>
<directory name="vista">
<file>vista.c</file>
</directory>
<directory name="synch">
<file>synch.c</file>
</directory>
<directory name="thread">
<file>fiber.c</file>
<file>thread.c</file>
<directory name="client">
<if property="ARCH" value="i386">
<directory name="i386">
<file>fiber.S</file>
@ -116,6 +30,82 @@
<file>thread.S</file>
</directory>
</if>
<file>debugger.c</file>
<file>except.c</file>
<file>vista.c</file>
<file>synch.c</file>
<file>fiber.c</file>
<file>thread.c</file>
<file>heapmem.c</file>
<file>virtmem.c</file>
<file>job.c</file>
<file>proc.c</file>
<file>session.c</file>
<directory name="file">
<file>backup.c</file>
<file>bintype.c</file>
<file>cnotify.c</file>
<file>copy.c</file>
<file>console.c</file>
<file>create.c</file>
<file>curdir.c</file>
<file>delete.c</file>
<file>deviceio.c</file>
<file>dir.c</file>
<file>dosdev.c</file>
<file>file.c</file>
<file>filemap.c</file>
<file>find.c</file>
<file>hardlink.c</file>
<file>iocompl.c</file>
<file>lfile.c</file>
<file>lock.c</file>
<file>mailslot.c</file>
<file>move.c</file>
<file>npipe.c</file>
<file>pipe.c</file>
<file>rw.c</file>
<file>tape.c</file>
<file>volume.c</file>
</directory>
<directory name="misc">
<file>actctx.c</file>
<file>atom.c</file>
<file>comm.c</file>
<file>computername.c</file>
<file>dllmain.c</file>
<file>env.c</file>
<file>handle.c</file>
<file>ldr.c</file>
<file>lzexpand.c</file>
<file>muldiv.c</file>
<file>perfcnt.c</file>
<file>power.c</file>
<file>resntfy.c</file>
<file>res.c</file>
<file>stubs.c</file>
<file>sysinfo.c</file>
<file>time.c</file>
<file>timerqueue.c</file>
<file>toolhelp.c</file>
<file>version.c</file>
<file>profile.c</file>
<file>utils.c</file>
</directory>
</directory>
<directory name="winnls">
<directory name="string">
<file>chartype.c</file>
<file>collation.c</file>
<file>casemap.c</file>
<file>fold.c</file>
<file>format_msg.c</file>
<file>lang.c</file>
<file>lstring.c</file>
<file>lcformat.c</file>
<file>nls.c</file>
<file>sortkey.c</file>
</directory>
</directory>
<file>kernel32.rc</file>
</module>

View file

@ -7,13 +7,13 @@
#include "windows.h"
#include "errcodes.rc"
#include "locale_rc.rc"
#include "winnls/locale_rc.rc"
#include "lang/en-US.rc"
#include "lang/de-DE.rc"
#include "lang/es-ES.rc"
#include "winnls/lang/en-US.rc"
#include "winnls/lang/de-DE.rc"
#include "winnls/lang/es-ES.rc"
// UTF-8
#pragma code_page(65001)
#include "lang/ru-RU.rc"
#include "lang/uk-UA.rc"
#include "winnls/lang/ru-RU.rc"
#include "winnls/lang/uk-UA.rc"

Some files were not shown because too many files have changed in this diff Show more