Timo Kreuzer
|
a3df672920
|
[DDK] Move rtl byteswap functions to wdm.h and add intrinsic definitions
svn path=/branches/ros-amd64-bringup/; revision=39347
|
2009-02-03 19:55:11 +00:00 |
|
Timo Kreuzer
|
6130b41fe2
|
[NDK] Use intrinsics for rtl byteswap functions for GNUC, too. Only include them if NTOS_MODE_USER. Fuctions are only present for NTDDI_VERSION >= NTDDI_WIN2K
svn path=/branches/ros-amd64-bringup/; revision=39346
|
2009-02-03 19:51:09 +00:00 |
|
Timo Kreuzer
|
f983125e50
|
ksuser: convert to spec, don't allow warnings
svn path=/branches/ros-amd64-bringup/; revision=39345
|
2009-02-03 19:42:31 +00:00 |
|
Timo Kreuzer
|
19e9f7ea24
|
Fix broken and overcomplicated pointer arithmetic
svn path=/branches/ros-amd64-bringup/; revision=39342
|
2009-02-03 19:26:00 +00:00 |
|
Timo Kreuzer
|
e7cb518fd7
|
deconstify target in interlocked intrinsics
svn path=/branches/ros-amd64-bringup/; revision=39338
|
2009-02-03 16:48:50 +00:00 |
|
Timo Kreuzer
|
f61c37c2cb
|
fix prototype of RtlAllocateHeap
svn path=/branches/ros-amd64-bringup/; revision=39335
|
2009-02-03 15:43:51 +00:00 |
|
Timo Kreuzer
|
61467fd142
|
hid: convert to spec (taken from wine)
svn path=/branches/ros-amd64-bringup/; revision=39333
|
2009-02-03 15:23:27 +00:00 |
|
Timo Kreuzer
|
58ab969261
|
implement __iob_func()
svn path=/branches/ros-amd64-bringup/; revision=39331
|
2009-02-03 15:14:30 +00:00 |
|
Timo Kreuzer
|
38c6f78763
|
dnsapi.dll: convert to spec (taken from wine)
svn path=/branches/ros-amd64-bringup/; revision=39328
|
2009-02-03 14:57:37 +00:00 |
|
Timo Kreuzer
|
5f3118f01c
|
include time.h for struct tm
svn path=/branches/ros-amd64-bringup/; revision=39325
|
2009-02-03 14:43:10 +00:00 |
|
Timo Kreuzer
|
665679dffe
|
time.h: rename include guard to _INC_TIME, remove localtime_s and localtime_r definition, define asctime_s only if __STDC_WANT_SECURE_LIB is defined.
svn path=/branches/ros-amd64-bringup/; revision=39324
|
2009-02-03 14:34:30 +00:00 |
|
Timo Kreuzer
|
d12be4b77d
|
add localtime_s prototype here, as it's not part of official headers
svn path=/branches/ros-amd64-bringup/; revision=39317
|
2009-02-03 13:00:31 +00:00 |
|
Timo Kreuzer
|
70e9bdcc15
|
revert last commit, this is wine code, we need allowwarnings="true"
svn path=/branches/ros-amd64-bringup/; revision=39313
|
2009-02-03 12:35:49 +00:00 |
|
Timo Kreuzer
|
793fdfb70a
|
Use %p instead of %0xlx as format for pointer sized variable.
svn path=/branches/ros-amd64-bringup/; revision=39312
|
2009-02-03 12:31:24 +00:00 |
|
Timo Kreuzer
|
89b023d340
|
implement _mktime32, _mkgmtime32, _mktime64, _mkgmtime64 and use a worker function for all versions.
svn path=/branches/ros-amd64-bringup/; revision=39311
|
2009-02-03 12:27:01 +00:00 |
|
Timo Kreuzer
|
f9df018c07
|
remove #if 0 hack
svn path=/branches/ros-amd64-bringup/; revision=39306
|
2009-02-03 11:12:22 +00:00 |
|
Timo Kreuzer
|
877dfe0d32
|
#if out x86 specific inline code for other archictectures
svn path=/branches/ros-amd64-bringup/; revision=39299
|
2009-02-03 03:51:40 +00:00 |
|
Timo Kreuzer
|
b59c53ef27
|
#if out x86 specific inline code for other archictectures
svn path=/branches/ros-amd64-bringup/; revision=39298
|
2009-02-03 03:51:15 +00:00 |
|
Timo Kreuzer
|
f0497fd9c5
|
kd64: Add KdpSysGetVersion to internal header
svn path=/branches/ros-amd64-bringup/; revision=39297
|
2009-02-03 01:08:26 +00:00 |
|
Timo Kreuzer
|
2a2d68b378
|
Fix LDR_DATA_TABLE_ENTRY member names
svn path=/branches/ros-amd64-bringup/; revision=39296
|
2009-02-03 01:07:37 +00:00 |
|
Timo Kreuzer
|
3d3f2049c4
|
Fix KiInitGdtEntry
svn path=/branches/ros-amd64-bringup/; revision=39278
|
2009-02-01 22:08:01 +00:00 |
|
Timo Kreuzer
|
61f5b1e0b2
|
Add a comment, remove a comment
svn path=/branches/ros-amd64-bringup/; revision=39199
|
2009-01-29 16:00:22 +00:00 |
|
Timo Kreuzer
|
95d550f693
|
fix Ki386InitializeTss
svn path=/branches/ros-amd64-bringup/; revision=39198
|
2009-01-29 15:56:54 +00:00 |
|
Timo Kreuzer
|
0534c6e4a6
|
KD64: implement case 0 for KdpReadControlSpace, which returns a pointer to the Pcr.
svn path=/branches/ros-amd64-bringup/; revision=39191
|
2009-01-28 23:34:04 +00:00 |
|
Samuel Serapion
|
02f91befe1
|
Fix typo.
svn path=/branches/ros-amd64-bringup/; revision=39173
|
2009-01-28 12:08:33 +00:00 |
|
Timo Kreuzer
|
ae77b8e1f9
|
kd64: Implement KdpRead/WriteMachineSpecificRegister
svn path=/branches/ros-amd64-bringup/; revision=39162
|
2009-01-28 04:15:09 +00:00 |
|
Timo Kreuzer
|
7b5da63100
|
KD64: remove some FrLdrDbgPrints, fix a warning.
svn path=/branches/ros-amd64-bringup/; revision=39161
|
2009-01-28 04:14:05 +00:00 |
|
Samuel Serapion
|
3d6da207d7
|
The wbinvd instruction is the same on amd64
svn path=/branches/ros-amd64-bringup/; revision=39160
|
2009-01-28 03:07:51 +00:00 |
|
Timo Kreuzer
|
a04bd167e3
|
Ke: Remove unused KiInitializeMachineType and Ki486CompatibilityLock. Remove a bunch of FrLdrDbgPrints. Resort KiSystemStartupReal, initialize the LoaderBlocks Process and Prcb field for Cpu0, get the Pcr from the LoaderBlock.
svn path=/branches/ros-amd64-bringup/; revision=39155
|
2009-01-27 22:14:06 +00:00 |
|
Timo Kreuzer
|
5374ad15b8
|
hal: fix some ULONG/ULONG_PTR issues
svn path=/branches/ros-amd64-bringup/; revision=39151
|
2009-01-27 21:35:00 +00:00 |
|
Timo Kreuzer
|
4889abaf25
|
kd64: Move KdpSysGetVersion into arch-specific file
svn path=/branches/ros-amd64-bringup/; revision=39136
|
2009-01-27 16:26:30 +00:00 |
|
Timo Kreuzer
|
10b297f752
|
kdcom: xor 1 to CurrentPacketId when we receive an ACK, not when we send one. Remove the SYNC_PACKET_ID hack. Now breaking in after DbgPrints works.
svn path=/branches/ros-amd64-bringup/; revision=39133
|
2009-01-27 12:58:24 +00:00 |
|
Timo Kreuzer
|
ae0c07b4f8
|
Acknowledge a packet with the received packet's PacketId, not with the current sending PacketId.
svn path=/branches/ros-amd64-bringup/; revision=39131
|
2009-01-27 12:15:22 +00:00 |
|
Timo Kreuzer
|
08050b1520
|
Increment rip in KiBreakPointTrap and reenable decrement in KiDispatchException. (Do we really need it, first inc then dec? At least x86 does it that way) Setup fs selector in KiSystemStartupReal, pass a pointer to FrLdrDbgPrint to kdcom, fix some typos. Finally breaking into the debugger and continuing really works.
svn path=/branches/ros-amd64-bringup/; revision=39126
|
2009-01-27 01:57:35 +00:00 |
|
Timo Kreuzer
|
dc125646a5
|
kdcom: add SYNC_PACKET_ID for PACKET_TYPE_KD_DEBUG_IO to make debugprints work.
svn path=/branches/ros-amd64-bringup/; revision=39124
|
2009-01-27 00:55:03 +00:00 |
|
Timo Kreuzer
|
b906e54b40
|
rsym64: instead of stripping sections from the middle of the PE, convert them to bss sections to make windows happy and keep the files small. Thanks to kjk for finding the problem.
svn path=/branches/ros-amd64-bringup/; revision=39121
|
2009-01-26 22:48:54 +00:00 |
|
Timo Kreuzer
|
109668d7a2
|
remove a test hack that sneaked in and broke exception directory
svn path=/branches/ros-amd64-bringup/; revision=39114
|
2009-01-26 17:01:49 +00:00 |
|
Timo Kreuzer
|
3e88b3778e
|
ntoskrnl/Ke: setup stack segment selector in KeSetupsStackAndInitializeKernel, comment out decrement of Rip on int3 dispatch (needs further investigation), use CONTEXT_ALL flags when creating the CONTEXT from the trap frame in KeDispatchException
svn path=/branches/ros-amd64-bringup/; revision=39074
|
2009-01-25 01:17:04 +00:00 |
|
Timo Kreuzer
|
a8d4d9d5c5
|
freeldr: setup more entries of the gdt
svn path=/branches/ros-amd64-bringup/; revision=39073
|
2009-01-25 01:06:34 +00:00 |
|
Timo Kreuzer
|
b783e3b2bf
|
rsym64: add a temp hack, keeping the .eh_frame section, as windows cries when we remove it for some reason, needs more investigation what goes wrong.
svn path=/branches/ros-amd64-bringup/; revision=39072
|
2009-01-24 22:50:02 +00:00 |
|
Timo Kreuzer
|
3210df5936
|
Merge 38960 from trunk
svn path=/branches/ros-amd64-bringup/; revision=39071
|
2009-01-24 22:34:39 +00:00 |
|
Samuel Serapion
|
4fd7607a1b
|
Fix compilation on gcc 4.4.0
svn path=/branches/ros-amd64-bringup/; revision=39060
|
2009-01-24 11:05:13 +00:00 |
|
Samuel Serapion
|
ed09d1bb98
|
Fix compilation for gcc 4.4.0 and 64bits
svn path=/branches/ros-amd64-bringup/; revision=39059
|
2009-01-24 11:04:21 +00:00 |
|
Timo Kreuzer
|
9d8a81b57d
|
KD64: Use CURRENT_KD_SECONDARY_VERSION instead of default in KdVersionBlock. Use UseExceptionRecordTo64. add some dirty hacks, until either WinDbg gets proper addresses sent or we have SEH implemented.
svn path=/branches/ros-amd64-bringup/; revision=39056
|
2009-01-24 01:05:38 +00:00 |
|
Timo Kreuzer
|
5fde806e8b
|
add ExceptionRecordTo64 macro that copies the exception excord on win64, and calls ExceptionRecord32To64 on win32
svn path=/branches/ros-amd64-bringup/; revision=39055
|
2009-01-24 00:59:37 +00:00 |
|
Timo Kreuzer
|
b92e8a49aa
|
Add property USERMODE, set it to 1 to compile usermode parts (base, dlls and mingw lib)
svn path=/branches/ros-amd64-bringup/; revision=39053
|
2009-01-23 23:37:51 +00:00 |
|
Timo Kreuzer
|
af71294b61
|
NDK: fix and update LDR_DATA_TABLE_ENTRY
svn path=/branches/ros-amd64-bringup/; revision=39052
|
2009-01-23 22:13:08 +00:00 |
|
Timo Kreuzer
|
da3e5b3190
|
add mingw lib back to build
svn path=/branches/ros-amd64-bringup/; revision=39043
|
2009-01-23 12:51:43 +00:00 |
|
Timo Kreuzer
|
11412f0a26
|
ks64: Don't truncate the Thread pointer. Silence a warning.
svn path=/branches/ros-amd64-bringup/; revision=39019
|
2009-01-22 15:55:21 +00:00 |
|
Timo Kreuzer
|
fbdecd3e79
|
kd64: KdpReadControlSpace works a bit different on x64, u.ReadMemory.TargetBaseAddress is not used as an offset, it's rather an index. On 1 a pointer to the prcb is returned, on 2 ProcessorState.SpecialRegisters is copied. Fix usage of IN and OUT.
svn path=/branches/ros-amd64-bringup/; revision=39005
|
2009-01-21 22:21:19 +00:00 |
|