Alexandre Julliard
ec39821750
Moved 16-bit global heap, DOS memory and selector functions to
...
dlls/kernel.
2003-09-18 20:58:41 +00:00
Alexandre Julliard
0f01858228
Moved the 16-bit environment support to dlls/kernel.
2003-09-18 04:28:22 +00:00
Alexandre Julliard
1479aebda3
Moved instruction emulation to dlls/kernel.
2003-09-17 04:34:31 +00:00
Alexandre Julliard
65e7196fed
Moved most kernel string functions to dlls/kernel.
2003-09-16 20:35:42 +00:00
Alexandre Julliard
0f170015f1
Moved most 32-bit heap functions to dlls/kernel.
2003-09-16 20:34:14 +00:00
Marcus Meissner
e9e6db870a
Fixed compile warning.
2003-09-08 18:47:55 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard
7df1b9e03a
Start using the exported TEB structure from winternl.h where
...
possible.
2003-08-28 19:57:35 +00:00
Alexandre Julliard
bf97962a51
Avoid including stackframe.h if it's not needed.
2003-08-27 02:52:17 +00:00
Alexandre Julliard
6aca040f86
Moved a few more functions to dlls/kernel.
2003-08-26 02:29:48 +00:00
Alexandre Julliard
a5b961c2b0
Moved selector fixup for the relay code to the callto16 exception
...
handler.
Make sure to only use pop instructions to modify segment registers in
the relay code to simplify the selector fixup.
2003-08-25 23:48:30 +00:00
Alexandre Julliard
3be5d62b29
Moved 16-bit calls initialization and exception handling to kernel32.
...
Store the call_to_16 return address on the stack from the C code so
that we don't need two variants of call_to_16_regs.
2003-08-25 00:56:37 +00:00
Alexandre Julliard
864ca06832
winnls.h must not include winbase.h.
2003-08-20 18:22:31 +00:00
Dmitry Timoshkov
8a8d1b93ca
Added support for CP_UNIXCP.
2003-07-09 04:22:57 +00:00
Jukka Heinonen
2a3ce4c425
Start processing asynchronous DOS events in DPMI mode.
2003-07-01 03:37:41 +00:00
Eric Pouech
c962a6997c
- in kernel32, replaced all {Enter|Leave}CriticalSection calls with
...
ntdll counterparts
- {Enter|Leave}CriticalSection is now a pure forward from kernel32 to
ntdll (we now longer can use {Enter|Leave}CriticalSection in kernel32)
- replaced a few kernel32 heap management calls from ntdll, with
RtlHeap* equivalents
2003-06-23 18:12:28 +00:00
Eric Pouech
b53b5bcb50
- fixed a couple of bugs in ntdll environment functions (one in trace,
...
the other one in environment variable expansion)
- the process parameters, when passed thru wineserver, are now fully
handled in ntdll, they are stored in the RTL_USER_PROCESS_PARAMETERS
structure.
- later on in kernel32 loading sequence, those parameters are copied
into STARTUPINFO shadow structures
- later modification to those paramters are now reflected to the
RTL_USER_PROCESS_PARAMETERS structure (and STARTUPINFO is kept
untouched) (for example, StdHandle setting) (Win 2k behaves like this)
- ENVDB has been removed
- command line inheritance (from unix command line) is now purely in ntdll
- all kernel32 environment functions now rely on their ntdll counterparts
- goodies: input/output handle inheritance while asking for a detached
console is better handled; a few more kernel32 environment tests now
pass ; silenced a valgrind warning in process creation
2003-06-18 03:23:22 +00:00
Francois Gouget
61aac4eaa1
Fix some typos.
2003-06-04 20:29:05 +00:00
Alexandre Julliard
6bc5091160
Start to make use of the proper PEB structure for process
...
information.
2003-05-22 03:44:01 +00:00
Dmitry Timoshkov
ce533003d8
Make the Global* memory API functions thread safe.
2003-05-20 19:18:57 +00:00
Alexandre Julliard
b2f32bc604
Moved system.dll implementation to dlls/kernel.
2003-05-20 17:50:59 +00:00
Alexandre Julliard
dcff0007b6
Moved most local heap functions to dlls/kernel.
2003-05-16 20:15:26 +00:00
Alexandre Julliard
3d15c86cf8
Moved atom functions to dlls/kernel.
2003-05-16 00:05:08 +00:00
Alexandre Julliard
0b34697abb
Made INSTR_EmulateInstruction return the exception code.
...
Don't allow intXX instructions from 32-bit code (based on a patch by
Jukka Heinonen).
2003-05-14 19:41:16 +00:00
Dmitry Timoshkov
ba2ac1337d
Protect GlobalLock from bad pointers.
2003-05-11 02:54:53 +00:00
Andreas Mohr
114b667f41
Some spelling and formatting fixes.
2003-04-02 01:23:43 +00:00
Yorick Hardy
a0879217f4
Added the sysctl calls for NetBSD to determine the physical memory
...
available.
2003-03-28 00:29:00 +00:00
Alexandre Julliard
25fe361010
Added 'wine' prefix to libwine_unicode exports.
2003-03-21 21:30:51 +00:00
Alexandre Julliard
ce13153821
Moved LDT selector allocation routines to libwine.
...
Added support for correct locking of all LDT operations.
Added separate functions to manipulate the %fs selector, which allows
using a global GDT selector on recent Linux kernels.
2003-02-26 20:34:45 +00:00
Mike Hearn
7aa04f2744
Implemented GlobalMemoryStatusEx().
2003-02-26 04:35:36 +00:00
Jukka Heinonen
54f377c6c5
Move resize memory block to winedos and make it resize in place and
...
work correctly even when trying to allocate too much memory.
2003-02-19 22:11:04 +00:00
Matthew Davison
60009b9a56
Removed calls to HEAP_strdupAtoW.
2003-01-23 23:07:38 +00:00
Michael Stefaniuc
cd0219e941
The Minolta DiMAGE Image Viewer relies on Global{,Re}Alloc called with
...
the GMEM_MOVEABLE flag set, to allocate the exact specified size and
no byte more when size is a multiple of 8. To achieve this align the
storage needed for the HGLOBAL in the heap to 8byte boundary.
2003-01-16 00:21:04 +00:00
Francois Gouget
9b0b1e078a
Remove (POINTER)NULL casts.
2003-01-14 23:43:41 +00:00
Dimitrie O. Paun
297f3d898d
Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them.
2003-01-07 20:36:20 +00:00
Eric Pouech
0fcada9fa7
Removed unused #include of module.h.
2003-01-02 17:59:47 +00:00
Dimitrie O. Paun
737d4be892
Move excpt.h out of include/msvcrt/ as it does not conflict with any
...
standard Unix header.
2002-12-12 23:34:01 +00:00
Alexandre Julliard
435e2e63f4
winnt.h should not be self-contained, it must depend on windef.h so
...
that STRICT works correctly; moved some definitions back to windef.h
where they belong, and removed a couple of definitions that don't
exist on Windows.
2002-12-10 22:56:43 +00:00
Andrew John Hughes
ed800c69c8
Build ntdll with -DSTRICT.
2002-11-21 03:45:01 +00:00
Jukka Heinonen
56dff0d4df
Remove some Win32s specific code.
2002-11-20 19:40:12 +00:00
Francois Gouget
1f0e33cb13
Cap the reported physical memory to 2GB to prevent applications
...
(e.g. QuickTime 6) from crashing.
2002-11-13 19:48:07 +00:00
Patrik Stridvall
ba9dc78e39
Fixed mismatches between the Wine headers and the Microsoft headers.
2002-11-04 22:43:24 +00:00
Jukka Heinonen
eca6182749
Move interrupt emulation code from INSTR_EmulateInstruction to winedos
...
dll. Make CTX_SEG_OFF_TO_LIN work with 32-bit segmented pointers
common in DPMI32. Fix winedos initialization so that DOSMEM_Init(TRUE)
is only called when DOS executable is started.
2002-10-23 22:24:10 +00:00
Alexandre Julliard
996baf6379
Transmit the Windows PATH to child processes using the WINEPATH
...
variable.
2002-10-09 18:35:01 +00:00
Jukka Heinonen
d25e0399ba
Add support for interrupts in 32-bit code.
...
Remove some unnecessary code from 16-bit interrupt emulation.
2002-10-08 00:35:03 +00:00
Steve Lustbader
2fbd4a0118
Implement GetUserDefaultUILanguage and GetSystemDefaultUILanguage.
2002-10-07 18:27:06 +00:00
Dmitry Timoshkov
c8ab54d158
Fixed atom test to work on Windows.
2002-10-04 17:45:00 +00:00
Dmitry Timoshkov
3139b927b2
Added a prototype code page test. Fixed issue regarding negative
...
source length handling.
2002-10-04 17:42:27 +00:00
Patrik Stridvall
b5bb32c09a
Fixed some issues found by winapi_check.
2002-09-24 18:29:39 +00:00
Dmitry Timoshkov
472d016859
Correct SIZE_T size according to MS SDK.
...
Change some types to SIZE_T according to MS SDK definitions.
2002-09-21 01:21:00 +00:00