Timo Kreuzer
1ccf8a45fa
advapi32: fix a forwarded export that got stubbed when changing to spec
...
svn path=/branches/ros-amd64-bringup/; revision=34861
2008-07-27 21:33:32 +00:00
Samuel Serapion
ddf3f934ad
Fix Build.
...
svn path=/branches/ros-amd64-bringup/; revision=34845
2008-07-27 13:42:46 +00:00
Timo Kreuzer
2ee5f08ce9
LdrPEGetExportByName:
...
The function and name table in the PE consists of RVA's that are stored in ULONGs. Change pointers accordingly PULONG* -> ULONG*
svn path=/branches/ros-amd64-bringup/; revision=34843
2008-07-27 11:41:11 +00:00
Timo Kreuzer
0b3b92a413
- fix KESEG0_BASE
...
svn path=/branches/ros-amd64-bringup/; revision=34842
2008-07-27 11:11:02 +00:00
Samuel Serapion
247137a05e
revert r34835:
...
"_WIN32 Defined for applications for Win32 and Win64. Always defined."
http://msdn.microsoft.com/en-us/library/b0084kay.aspx
winnt.h:
Define KNONVOLATILE_CONTEXT_POINTERS, EXCEPTION_DISPOSITION, RtlVirtualUnwind
svn path=/branches/ros-amd64-bringup/; revision=34840
2008-07-27 09:45:59 +00:00
Timo Kreuzer
bf9ee2d42f
stub out hal.c, make it compile again
...
svn path=/branches/ros-amd64-bringup/; revision=34839
2008-07-27 09:16:49 +00:00
Timo Kreuzer
2d984eac66
"Interlocked stuff is still a bit broken." ... yeah, cause you broke it ;-)
...
svn path=/branches/ros-amd64-bringup/; revision=34838
2008-07-27 09:15:54 +00:00
Timo Kreuzer
dd368d7ceb
gcc defines _WIN32 for us ... on a 64bit target. hack windef to get rid of it. This fixes zlib.
...
svn path=/branches/ros-amd64-bringup/; revision=34835
2008-07-27 09:07:31 +00:00
Samuel Serapion
b0cad156e2
Forgot one.
...
svn path=/branches/ros-amd64-bringup/; revision=34834
2008-07-27 09:02:46 +00:00
Samuel Serapion
a452cc9d74
Remove multiple declarations and minor fixes.
...
Interlocked stuff is still a bit broken.
svn path=/branches/ros-amd64-bringup/; revision=34833
2008-07-27 08:37:14 +00:00
Samuel Serapion
0f3f9c8bbb
Remove WINEisms
...
svn path=/branches/ros-amd64-bringup/; revision=34832
2008-07-27 08:34:16 +00:00
Samuel Serapion
0f2d324700
intrin_x86.h:
...
- Fix rotl declaration, add mysteriously missing rotr.
winnt.h:
- Fix CONTEXT_AMD64 and friends, add various constants.
- Define RUNTIME_FUNCTION, RtlCaptureContext, RtlRestoreContext, RtlAddFunctionTable, RtlInstallFunctionTableCallback, RtlDeleteFunctionTable.
- Fix definitions for EXCEPTION_RECORD and friends to support amd64.
- Define IMAGE_THUNK_DATA64 and related constants.
- Define IMAGE_TLS_DIRECTORY64 and related constants.
svn path=/branches/ros-amd64-bringup/; revision=34831
2008-07-27 08:30:10 +00:00
Timo Kreuzer
9ac6a3e6c8
fix parameters of NtAllocateVirtualMemory and NtFreeVirtualMemory, compile anonmem.c, update stubs file
...
svn path=/branches/ros-amd64-bringup/; revision=34827
2008-07-27 08:03:19 +00:00
Timo Kreuzer
95064f4029
- add Zw.S back to ntoskrnl, as it now contains valid 64 bit assembly
...
- I cheat and add all unresolved references in a stub file for now
ntoskrnl links now, so I can continue on freeldr again.
svn path=/branches/ros-amd64-bringup/; revision=34813
2008-07-26 21:22:34 +00:00
Timo Kreuzer
de146d7b6c
stubbed hal more or less copied from arm. It compiles...
...
svn path=/branches/ros-amd64-bringup/; revision=34812
2008-07-26 21:18:00 +00:00
Timo Kreuzer
b0b7a7611b
on amd64 KfAcquireSpinLock, KfReleaseSpinLock, KeAcquireInStackQueuedSpinLock and KeReleaseInStackQueuedSpinLock belong to ntoskrnl, not to hal.
...
svn path=/branches/ros-amd64-bringup/; revision=34811
2008-07-26 21:13:25 +00:00
Samuel Serapion
524c885d74
Merge 34789, make appropriate changes to ReactOS-amd64.rbuild
...
svn path=/branches/ros-amd64-bringup/; revision=34804
2008-07-26 08:21:51 +00:00
Samuel Serapion
0d442f4cec
Fix more warnings.
...
Convert pciidex to use spec file.
NOTE: drivers need to be carefully reviewed for 64bit safety. There is a lot of stuff that can kill us that won't show up in any compiler, knowing ros we probably have at least some issues. Everything but network/ compiles error free.
svn path=/branches/ros-amd64-bringup/; revision=34803
2008-07-26 06:08:04 +00:00
Timo Kreuzer
0dfe50f093
make ncitool generate at least valid 64 bit assembly
...
svn path=/branches/ros-amd64-bringup/; revision=34802
2008-07-26 01:17:03 +00:00
Timo Kreuzer
3c9ae1448a
- hack amd64/ke.h
...
- unhack inernal/ntoskrnl.h
- more files compile
svn path=/branches/ros-amd64-bringup/; revision=34801
2008-07-26 01:07:27 +00:00
Timo Kreuzer
0e64661365
- add KI_USER_SHARED_DATA and KeGetCurrentIrql() prototype to winddh
...
svn path=/branches/ros-amd64-bringup/; revision=34800
2008-07-26 01:05:57 +00:00
Timo Kreuzer
ea74713aa6
add Interlocked intrinisc definitions for AMD64 platform
...
svn path=/branches/ros-amd64-bringup/; revision=34798
2008-07-26 00:13:23 +00:00
Timo Kreuzer
6618e25fad
- add a hack to basetsd.h to undefine _X86_ on amd64 builds (gcc defines it)
...
- include _M_AMD64 for defintitions in ioaccess.h
- remove KeGetCurrentThread from winddk.h (doesn't work that way)
- hack amd64/ketypes.h to make it compile
svn path=/branches/ros-amd64-bringup/; revision=34796
2008-07-26 00:02:34 +00:00
Samuel Serapion
f8af305331
Fix dozens of 64bit warnings.
...
Create amd64 def file.
svn path=/branches/ros-amd64-bringup/; revision=34795
2008-07-25 23:41:31 +00:00
Samuel Serapion
5502f51b0f
Fix Warnings
...
svn path=/branches/ros-amd64-bringup/; revision=34787
2008-07-25 16:49:23 +00:00
Samuel Serapion
d75ee99e10
Fix broken DLGPROC definition.
...
Fix previous, unneeded, fixes.
svn path=/branches/ros-amd64-bringup/; revision=34786
2008-07-25 16:00:47 +00:00
Samuel Serapion
9f836ebf3a
Fix all 64 bit warnings.
...
Switch over to spec file, taken from WINE.
svn path=/branches/ros-amd64-bringup/; revision=34785
2008-07-25 14:13:04 +00:00
Timo Kreuzer
4a991aa014
fix usage of InterlockedCompareExchangePointer
...
svn path=/branches/ros-amd64-bringup/; revision=34782
2008-07-25 13:42:03 +00:00
Timo Kreuzer
374c44c700
fix usage of InterlockedCompareExchangePointer
...
svn path=/branches/ros-amd64-bringup/; revision=34781
2008-07-25 13:37:45 +00:00
Timo Kreuzer
2241dceb71
some DWORD -> DWORD_PTR
...
svn path=/branches/ros-amd64-bringup/; revision=34780
2008-07-25 13:26:08 +00:00
Timo Kreuzer
32af8fc4de
Sync with trunk head (34777)
...
svn path=/branches/ros-amd64-bringup/; revision=34779
2008-07-25 13:10:00 +00:00
Timo Kreuzer
27fd778110
revert last commit and instead...
...
svn path=/branches/ros-amd64-bringup/; revision=34778
2008-07-25 12:54:02 +00:00
James Tabor
4e945c2292
- Fix loading hooks.
...
svn path=/trunk/; revision=34777
2008-07-25 12:43:55 +00:00
James Tabor
f123580aa0
- Add support for SMTO_NOTIMEOUTIFNOTHUNG.
...
- Fix WH_CALLWNDPROC/RET for multi thread.
- Fix foreground idle.
svn path=/trunk/; revision=34776
2008-07-25 12:31:59 +00:00
Timo Kreuzer
76f94aee74
merge 34755 from trunk
...
svn path=/branches/ros-amd64-bringup/; revision=34775
2008-07-25 12:28:50 +00:00
James Tabor
9f5f04ab20
Check for null pointers, keep wine msg test from crashing.
...
svn path=/trunk/; revision=34774
2008-07-25 12:26:22 +00:00
Samuel Serapion
364d3152c9
Fix a 64bit portability issue.
...
Hack widl a bit in order to compile more code.
svn path=/branches/ros-amd64-bringup/; revision=34773
2008-07-25 12:22:27 +00:00
Samuel Serapion
fe5640712e
Make calling spec file stubs a non-fatal event.
...
svn path=/branches/ros-amd64-bringup/; revision=34772
2008-07-25 12:05:01 +00:00
Samuel Serapion
b77079a4d8
Fix multiple 64bit warnings
...
svn path=/branches/ros-amd64-bringup/; revision=34771
2008-07-25 11:33:42 +00:00
Samuel Serapion
d99afa913f
Fix some compiler warnings.
...
Implement InitializeCriticalSectionEx
Stub TermsrvAppInstallMode and SetTermsrvAppInstallMode.
Lazy port of BasepInitializeContext.
Lazy ports of thread and fiber startup code, probably will not work.
svn path=/branches/ros-amd64-bringup/; revision=34770
2008-07-25 11:09:07 +00:00
Samuel Serapion
f6d9983a3f
-Fix definitions of IsBadHugeReadPtr, IsBadHugeWritePtr, IsBadReadPtr, IsBadStringPtrA, IsBadStringPtrW, IsBadWritePtr and SetProcessWorkingSetSize
...
-Define CONTEXT and XMM_SAVE_AREA32, taken from WINE
svn path=/branches/ros-amd64-bringup/; revision=34769
2008-07-25 10:57:44 +00:00
Samuel Serapion
17bcdbc7bb
Lazy port of PSEH to amd64 probably has no chance of working, but satisfies ld a bit more on certain modules
...
svn path=/branches/ros-amd64-bringup/; revision=34768
2008-07-25 10:52:11 +00:00
James Tabor
0104c42bb4
Fix typo.
...
svn path=/trunk/; revision=34767
2008-07-25 01:07:41 +00:00
James Tabor
c688d08ea3
- Add call window proc hooks.
...
svn path=/trunk/; revision=34766
2008-07-25 01:02:17 +00:00
Timo Kreuzer
9983f446ce
- add ke/amd64/boot.S containing KiSystemStartup
...
- add ke/amd64/kiinit.c, stubbed out
- allow warnings for now, so we can compile a lot more files
svn path=/branches/ros-amd64-bringup/; revision=34765
2008-07-24 23:04:22 +00:00
James Tabor
fc15d06386
- Finish callback for WH_KEYBOARD.
...
svn path=/trunk/; revision=34764
2008-07-24 22:14:50 +00:00
Jeffrey Morlan
eb40678d1d
Fix crash in NtUserSetClipboardData with CF_TEXT format. (Bug 3536)
...
svn path=/trunk/; revision=34763
2008-07-24 22:08:50 +00:00
James Tabor
eaa1dbeb84
- Plug in WH_KEYBOARD callback.
...
svn path=/trunk/; revision=34762
2008-07-24 22:00:41 +00:00
Timo Kreuzer
17257b1c52
- add ntoskrnl-amd64.lnk based on i386 one, but target pei-x86-64
...
- remove some unsupported ntoskrnl linkerflags from rbuild file
Now we can see all those unresolved references... sigh
svn path=/branches/ros-amd64-bringup/; revision=34761
2008-07-24 21:45:27 +00:00
Samuel Serapion
6493026550
Make notepad compile warning free.
...
svn path=/branches/ros-amd64-bringup/; revision=34760
2008-07-24 21:39:03 +00:00