Commit Graph

31721 Commits

Author SHA1 Message Date
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
James Tabor
8c9a96581a Add two more CallNextHook finctions.
svn path=/trunk/; revision=34759
2008-07-24 21:39:00 +00:00
Samuel Serapion
0c493a626f Fix cast from pointer to integer of different size
svn path=/branches/ros-amd64-bringup/; revision=34758
2008-07-24 21:32:08 +00:00
Johannes Anderwald
d228207f6f - enumerate all file types for folder options namespace applet
- use mui string when available
- load the title from shell32 module base
- remove PSH_PROPTITLE flag

svn path=/trunk/; revision=34757
2008-07-24 21:26:36 +00:00
Timo Kreuzer
a44aeaaeec ntoskrnl: for now comment out all files that don't compile, the linker now get's a "-Wl,--file-alignment,0x1000" that it does not like, let's see what we can do about that
svn path=/branches/ros-amd64-bringup/; revision=34756
2008-07-24 21:08:31 +00:00
Hervé Poussineau
eac2f712a7 Use a common .spec file instead of a .def file per architecture
svn path=/trunk/; revision=34755
2008-07-24 20:54:32 +00:00
Samuel Serapion
e5056878c6 Fix passing of command line args so it works on win64 too.
svn path=/branches/ros-amd64-bringup/; revision=34754
2008-07-24 20:15:36 +00:00
Timo Kreuzer
efc2458c66 - add ntoskrnl to the build again, as we will need it now.
- add ke.h, mm.h and intrin_i.h for amd64 currently copied from i386
- remove Interlocked funtions from private ntoskrnl header that don't belong there, this will probably break x86 build, but who cares ;-)
At least the header compiles now...

svn path=/branches/ros-amd64-bringup/; revision=34753
2008-07-24 20:07:30 +00:00
Timo Kreuzer
dc58f19c9a add KeGetCurrentThread prototype to winddk
svn path=/branches/ros-amd64-bringup/; revision=34752
2008-07-24 20:02:31 +00:00
Hervé Poussineau
c67da0d485 Update IDL file with new MS Vista functions
svn path=/trunk/; revision=34751
2008-07-24 19:50:09 +00:00
Timo Kreuzer
acd486b2e7 add ExpChangePushlock macro for _WIN64
svn path=/branches/ros-amd64-bringup/; revision=34750
2008-07-24 19:36:04 +00:00
Timo Kreuzer
9661a46df5 add _InterlockedExchange64 to intin_x86.h
svn path=/branches/ros-amd64-bringup/; revision=34749
2008-07-24 19:22:16 +00:00
Timo Kreuzer
bacef6a882 - remove ip and oskittcp from build
- add fastfat to build
- add PLATFORM property "PC" also to i386 rbuild file to allow sharing of related code between i386 and amd64
- disable a few debug channels in freeldr
- winnt.h: add IMAGE_REL_BASED_MIPS_JMPADDR16, IMAGE_REL_BASED_IA64_IMM64 and IMAGE_REL_BASED_DIR64, the latter used for PE64 relocation
- rtl: implement case IMAGE_REL_BASED_DIR64 in LdrProcessRelocationBlockLongLong
- rtl: add SWAPQ macro for _PPC and fix macros SWAP macros for other architectures (remember: always put a macro argument in brackets)
Status: setupldr now loads a few files and finally wants to load fastfat.sys. But it fails when it comes to imports from ntoskrnl, no wonder we don't have an ntoskrnl yet...

svn path=/branches/ros-amd64-bringup/; revision=34748
2008-07-24 19:09:03 +00:00
Timo Kreuzer
3a0c3db1e0 convert external debug output from message boxes to real debug output on serial
svn path=/branches/ros-amd64-bringup/; revision=34747
2008-07-24 16:44:01 +00:00
Samuel Serapion
222bbb2c4a libwine:
-use InterlockedExchangeAdd instead of interlocked_xchg_add
libxml2:
-WINSOCKETAPI already defined in config.h no need to redefine
mingw_base:
-rework _fmode refernces to allow ros64 programs to work on win64.
-temporarily hack _wenviron to allow programs to work on win64.
-aling stack to 16bytes
oskit:
-remove inline asm per suggestion by arty

svn path=/branches/ros-amd64-bringup/; revision=34745
2008-07-24 14:32:35 +00:00
Timo Kreuzer
9e84c59b5c add ntoskrnl_amd64.def. For some reason amd64 kernel does not export KeQuerySystemTime and atm I don't know what else should be used, so I added it to the def.
svn path=/branches/ros-amd64-bringup/; revision=34744
2008-07-24 14:31:35 +00:00
Timo Kreuzer
fdcebd5143 hal:
fix HalRequestIpi prototype, comment out IO access functions for amd64, add hal_amd64.def and a tiny amd64/hal_generic.c

svn path=/branches/ros-amd64-bringup/; revision=34743
2008-07-24 14:26:53 +00:00
Timo Kreuzer
01f51087d5 add a stubbed version of kdcom for amd64
svn path=/branches/ros-amd64-bringup/; revision=34742
2008-07-24 14:17:43 +00:00
Timo Kreuzer
0088ce62be - make bootvid build for PLATFORM=PC instead of ARCH=i386 to share the files between i386 and amd64
- fix ULONG <-> pointer casts
- add bootvid_amd64.def

svn path=/branches/ros-amd64-bringup/; revision=34741
2008-07-24 14:15:12 +00:00