reactos.git
15 years agosome more win32k 64 bit fixes
Timo Kreuzer [Mon, 28 Jul 2008 15:30:31 +0000 (15:30 +0000)]
some more win32k 64 bit fixes

svn path=/branches/ros-amd64-bringup/; revision=34909

15 years agosome 64 bit fixes in win32k
Timo Kreuzer [Mon, 28 Jul 2008 15:19:17 +0000 (15:19 +0000)]
some 64 bit fixes in win32k

svn path=/branches/ros-amd64-bringup/; revision=34908

15 years ago- #if out vista api for now
Timo Kreuzer [Mon, 28 Jul 2008 15:14:30 +0000 (15:14 +0000)]
- #if out vista api for now
- fix advapi and kernel32 spec files. They need more review though.
- fix NtUserGetThreadState
This fixes x86 build.

svn path=/branches/ros-amd64-bringup/; revision=34907

15 years agoWarning and error fixes.
Samuel Serapion [Mon, 28 Jul 2008 14:50:17 +0000 (14:50 +0000)]
Warning and error fixes.

svn path=/branches/ros-amd64-bringup/; revision=34906

15 years agoFix x86 ntoskrnl build.
Samuel Serapion [Mon, 28 Jul 2008 14:48:07 +0000 (14:48 +0000)]
Fix x86 ntoskrnl build.
Fix TreeView_EnsureVisible macro.

svn path=/branches/ros-amd64-bringup/; revision=34905

15 years agofix interlocked stuff in winddk, maybe not 100%, but better now
Timo Kreuzer [Mon, 28 Jul 2008 14:46:08 +0000 (14:46 +0000)]
fix interlocked stuff in winddk, maybe not 100%, but better now

svn path=/branches/ros-amd64-bringup/; revision=34903

15 years agomove the inlined InterlockedAnd/Or from rtl to winbase.h and rename it to Interlocked...
Timo Kreuzer [Mon, 28 Jul 2008 14:05:45 +0000 (14:05 +0000)]
move the inlined InterlockedAnd/Or from rtl to winbase.h and rename it to InterlockedAnd/Or_Inline

svn path=/branches/ros-amd64-bringup/; revision=34900

15 years agoNow after loading all the drivers we come to where we setup the page directory. This...
Timo Kreuzer [Mon, 28 Jul 2008 02:18:46 +0000 (02:18 +0000)]
Now after loading all the drivers we come to where we setup the page directory. This is good, but I'm too tired to look into this now....

svn path=/branches/ros-amd64-bringup/; revision=34888

15 years agomoar drivers
Timo Kreuzer [Mon, 28 Jul 2008 01:51:56 +0000 (01:51 +0000)]
moar drivers

svn path=/branches/ros-amd64-bringup/; revision=34883

15 years agoanother Interlocked fix, still it's not all perfect
Timo Kreuzer [Mon, 28 Jul 2008 01:50:22 +0000 (01:50 +0000)]
another Interlocked fix, still it's not all perfect

svn path=/branches/ros-amd64-bringup/; revision=34882

15 years agoadd another export we need in ntoskrnl
Timo Kreuzer [Mon, 28 Jul 2008 01:26:56 +0000 (01:26 +0000)]
add another export we need in ntoskrnl

svn path=/branches/ros-amd64-bringup/; revision=34880

15 years ago- add another missing export to ntoskrnl_amd64.def
Timo Kreuzer [Mon, 28 Jul 2008 00:47:28 +0000 (00:47 +0000)]
- add another missing export to ntoskrnl_amd64.def
- fix LARGE_INTEGER to pointer cast
- add more drivers to build

svn path=/branches/ros-amd64-bringup/; revision=34877

15 years ago- add missing export RtlExtended integerMultiply to ntoskrnl
Timo Kreuzer [Mon, 28 Jul 2008 00:34:07 +0000 (00:34 +0000)]
- add missing export RtlExtended integerMultiply to ntoskrnl
- build class2, atapi and scsiport drivers

svn path=/branches/ros-amd64-bringup/; revision=34875

15 years agoclass2: fix ULONG to pointer cast
Timo Kreuzer [Mon, 28 Jul 2008 00:32:21 +0000 (00:32 +0000)]
class2: fix ULONG to pointer cast

svn path=/branches/ros-amd64-bringup/; revision=34874

15 years ago- fix bzip2 include to make ip compile
Timo Kreuzer [Sun, 27 Jul 2008 23:32:41 +0000 (23:32 +0000)]
- fix bzip2 include to make ip compile
- comment out some stuff in SEH asm code to make it compile, it's useless code anyway
- add some hack exports to ntoskrnl
- use private ntoskrnl rbuild File

svn path=/branches/ros-amd64-bringup/; revision=34871

15 years agotcpip:
Timo Kreuzer [Sun, 27 Jul 2008 23:26:26 +0000 (23:26 +0000)]
tcpip:
- fix some pointer to ULONG casts

svn path=/branches/ros-amd64-bringup/; revision=34870

15 years agofix definition for NdisCopyLookaheadData on AMD64
Timo Kreuzer [Sun, 27 Jul 2008 22:58:20 +0000 (22:58 +0000)]
fix definition for NdisCopyLookaheadData on AMD64

svn path=/branches/ros-amd64-bringup/; revision=34868

15 years agogive ndis it's own def file for amd64, yes that breaks arm build... :-@
Timo Kreuzer [Sun, 27 Jul 2008 22:43:41 +0000 (22:43 +0000)]
give ndis it's own def file for amd64, yes that breaks arm build... :-@

svn path=/branches/ros-amd64-bringup/; revision=34866

15 years agofix some ULONG to pointer casts
Timo Kreuzer [Sun, 27 Jul 2008 22:20:01 +0000 (22:20 +0000)]
fix some ULONG to pointer casts

svn path=/branches/ros-amd64-bringup/; revision=34864

15 years agoput back rbuild files in a proper state, so x86 can be compiled again (as soon as...
Timo Kreuzer [Sun, 27 Jul 2008 22:07:36 +0000 (22:07 +0000)]
put back rbuild files in a proper state, so x86 can be compiled again (as soon as someone fixed Interlocked stuff)

svn path=/branches/ros-amd64-bringup/; revision=34863

15 years agoyet another advapi32 fix
Timo Kreuzer [Sun, 27 Jul 2008 22:05:13 +0000 (22:05 +0000)]
yet another advapi32 fix

svn path=/branches/ros-amd64-bringup/; revision=34862

15 years agoadvapi32: fix a forwarded export that got stubbed when changing to spec
Timo Kreuzer [Sun, 27 Jul 2008 21:33:32 +0000 (21:33 +0000)]
advapi32: fix a forwarded export that got stubbed when changing to spec

svn path=/branches/ros-amd64-bringup/; revision=34861

15 years agoFix Build.
Samuel Serapion [Sun, 27 Jul 2008 13:42:46 +0000 (13:42 +0000)]
Fix Build.

svn path=/branches/ros-amd64-bringup/; revision=34845

15 years agoLdrPEGetExportByName:
Timo Kreuzer [Sun, 27 Jul 2008 11:41:11 +0000 (11:41 +0000)]
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

15 years ago- fix KESEG0_BASE
Timo Kreuzer [Sun, 27 Jul 2008 11:11:02 +0000 (11:11 +0000)]
- fix KESEG0_BASE

svn path=/branches/ros-amd64-bringup/; revision=34842

15 years agorevert r34835:
Samuel Serapion [Sun, 27 Jul 2008 09:45:59 +0000 (09:45 +0000)]
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

15 years agostub out hal.c, make it compile again
Timo Kreuzer [Sun, 27 Jul 2008 09:16:49 +0000 (09:16 +0000)]
stub out hal.c, make it compile again

svn path=/branches/ros-amd64-bringup/; revision=34839

15 years ago"Interlocked stuff is still a bit broken." ... yeah, cause you broke it ;-)
Timo Kreuzer [Sun, 27 Jul 2008 09:15:54 +0000 (09:15 +0000)]
"Interlocked stuff is still a bit broken." ... yeah, cause you broke it ;-)

svn path=/branches/ros-amd64-bringup/; revision=34838

15 years agogcc defines _WIN32 for us ... on a 64bit target. hack windef to get rid of it. This...
Timo Kreuzer [Sun, 27 Jul 2008 09:07:31 +0000 (09:07 +0000)]
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

15 years agoForgot one.
Samuel Serapion [Sun, 27 Jul 2008 09:02:46 +0000 (09:02 +0000)]
Forgot one.

svn path=/branches/ros-amd64-bringup/; revision=34834

15 years agoRemove multiple declarations and minor fixes.
Samuel Serapion [Sun, 27 Jul 2008 08:37:14 +0000 (08:37 +0000)]
Remove multiple declarations and minor fixes.
Interlocked stuff is still a bit broken.

svn path=/branches/ros-amd64-bringup/; revision=34833

15 years agoRemove WINEisms
Samuel Serapion [Sun, 27 Jul 2008 08:34:16 +0000 (08:34 +0000)]
Remove WINEisms

svn path=/branches/ros-amd64-bringup/; revision=34832

15 years agointrin_x86.h:
Samuel Serapion [Sun, 27 Jul 2008 08:30:10 +0000 (08:30 +0000)]
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

15 years agofix parameters of NtAllocateVirtualMemory and NtFreeVirtualMemory, compile anonmem...
Timo Kreuzer [Sun, 27 Jul 2008 08:03:19 +0000 (08:03 +0000)]
fix parameters of NtAllocateVirtualMemory and NtFreeVirtualMemory, compile anonmem.c, update stubs file

svn path=/branches/ros-amd64-bringup/; revision=34827

15 years ago- add Zw.S back to ntoskrnl, as it now contains valid 64 bit assembly
Timo Kreuzer [Sat, 26 Jul 2008 21:22:34 +0000 (21:22 +0000)]
- 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

15 years agostubbed hal more or less copied from arm. It compiles...
Timo Kreuzer [Sat, 26 Jul 2008 21:18:00 +0000 (21:18 +0000)]
stubbed hal more or less copied from arm. It compiles...

svn path=/branches/ros-amd64-bringup/; revision=34812

15 years agoon amd64 KfAcquireSpinLock, KfReleaseSpinLock, KeAcquireInStackQueuedSpinLock and...
Timo Kreuzer [Sat, 26 Jul 2008 21:13:25 +0000 (21:13 +0000)]
on amd64 KfAcquireSpinLock, KfReleaseSpinLock, KeAcquireInStackQueuedSpinLock and KeReleaseInStackQueuedSpinLock belong to ntoskrnl, not to hal.

svn path=/branches/ros-amd64-bringup/; revision=34811

15 years agoMerge 34789, make appropriate changes to ReactOS-amd64.rbuild
Samuel Serapion [Sat, 26 Jul 2008 08:21:51 +0000 (08:21 +0000)]
Merge 34789, make appropriate changes to ReactOS-amd64.rbuild

svn path=/branches/ros-amd64-bringup/; revision=34804

15 years agoFix more warnings.
Samuel Serapion [Sat, 26 Jul 2008 06:08:04 +0000 (06:08 +0000)]
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

15 years agomake ncitool generate at least valid 64 bit assembly
Timo Kreuzer [Sat, 26 Jul 2008 01:17:03 +0000 (01:17 +0000)]
make ncitool generate at least valid 64 bit assembly

svn path=/branches/ros-amd64-bringup/; revision=34802

15 years ago- hack amd64/ke.h
Timo Kreuzer [Sat, 26 Jul 2008 01:07:27 +0000 (01:07 +0000)]
- hack amd64/ke.h
- unhack inernal/ntoskrnl.h
- more files compile

svn path=/branches/ros-amd64-bringup/; revision=34801

15 years ago- add KI_USER_SHARED_DATA and KeGetCurrentIrql() prototype to winddh
Timo Kreuzer [Sat, 26 Jul 2008 01:05:57 +0000 (01:05 +0000)]
- add KI_USER_SHARED_DATA and KeGetCurrentIrql() prototype to winddh

svn path=/branches/ros-amd64-bringup/; revision=34800

15 years agoadd Interlocked intrinisc definitions for AMD64 platform
Timo Kreuzer [Sat, 26 Jul 2008 00:13:23 +0000 (00:13 +0000)]
add Interlocked intrinisc definitions for AMD64 platform

svn path=/branches/ros-amd64-bringup/; revision=34798

15 years ago- add a hack to basetsd.h to undefine _X86_ on amd64 builds (gcc defines it)
Timo Kreuzer [Sat, 26 Jul 2008 00:02:34 +0000 (00:02 +0000)]
- 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

15 years agoFix dozens of 64bit warnings.
Samuel Serapion [Fri, 25 Jul 2008 23:41:31 +0000 (23:41 +0000)]
Fix dozens of 64bit warnings.
Create amd64 def file.

svn path=/branches/ros-amd64-bringup/; revision=34795

15 years agoFix Warnings
Samuel Serapion [Fri, 25 Jul 2008 16:49:23 +0000 (16:49 +0000)]
Fix Warnings

svn path=/branches/ros-amd64-bringup/; revision=34787

15 years agoFix broken DLGPROC definition.
Samuel Serapion [Fri, 25 Jul 2008 16:00:47 +0000 (16:00 +0000)]
Fix broken DLGPROC definition.
Fix previous, unneeded, fixes.

svn path=/branches/ros-amd64-bringup/; revision=34786

15 years agoFix all 64 bit warnings.
Samuel Serapion [Fri, 25 Jul 2008 14:13:04 +0000 (14:13 +0000)]
Fix all 64 bit warnings.
Switch over to spec file, taken from WINE.

svn path=/branches/ros-amd64-bringup/; revision=34785

15 years agofix usage of InterlockedCompareExchangePointer
Timo Kreuzer [Fri, 25 Jul 2008 13:42:03 +0000 (13:42 +0000)]
fix usage of InterlockedCompareExchangePointer

svn path=/branches/ros-amd64-bringup/; revision=34782

15 years agofix usage of InterlockedCompareExchangePointer
Timo Kreuzer [Fri, 25 Jul 2008 13:37:45 +0000 (13:37 +0000)]
fix usage of InterlockedCompareExchangePointer

svn path=/branches/ros-amd64-bringup/; revision=34781

15 years agosome DWORD -> DWORD_PTR
Timo Kreuzer [Fri, 25 Jul 2008 13:26:08 +0000 (13:26 +0000)]
some DWORD -> DWORD_PTR

svn path=/branches/ros-amd64-bringup/; revision=34780

15 years agoSync with trunk head (34777)
Timo Kreuzer [Fri, 25 Jul 2008 13:10:00 +0000 (13:10 +0000)]
Sync with trunk head (34777)

svn path=/branches/ros-amd64-bringup/; revision=34779

15 years agorevert last commit and instead...
Timo Kreuzer [Fri, 25 Jul 2008 12:54:02 +0000 (12:54 +0000)]
revert last commit and instead...

svn path=/branches/ros-amd64-bringup/; revision=34778

15 years ago- Fix loading hooks.
James Tabor [Fri, 25 Jul 2008 12:43:55 +0000 (12:43 +0000)]
- Fix loading hooks.

svn path=/trunk/; revision=34777

15 years ago- Add support for SMTO_NOTIMEOUTIFNOTHUNG.
James Tabor [Fri, 25 Jul 2008 12:31:59 +0000 (12:31 +0000)]
- Add support for SMTO_NOTIMEOUTIFNOTHUNG.
- Fix WH_CALLWNDPROC/RET for multi thread.
- Fix foreground idle.

svn path=/trunk/; revision=34776

15 years agomerge 34755 from trunk
Timo Kreuzer [Fri, 25 Jul 2008 12:28:50 +0000 (12:28 +0000)]
merge 34755 from trunk

svn path=/branches/ros-amd64-bringup/; revision=34775

15 years agoCheck for null pointers, keep wine msg test from crashing.
James Tabor [Fri, 25 Jul 2008 12:26:22 +0000 (12:26 +0000)]
Check for null pointers, keep wine msg test from crashing.

svn path=/trunk/; revision=34774

15 years agoFix a 64bit portability issue.
Samuel Serapion [Fri, 25 Jul 2008 12:22:27 +0000 (12:22 +0000)]
Fix a 64bit portability issue.
Hack widl a bit in order to compile more code.

svn path=/branches/ros-amd64-bringup/; revision=34773

15 years agoMake calling spec file stubs a non-fatal event.
Samuel Serapion [Fri, 25 Jul 2008 12:05:01 +0000 (12:05 +0000)]
Make calling spec file stubs a non-fatal event.

svn path=/branches/ros-amd64-bringup/; revision=34772

15 years agoFix multiple 64bit warnings
Samuel Serapion [Fri, 25 Jul 2008 11:33:42 +0000 (11:33 +0000)]
Fix multiple 64bit warnings

svn path=/branches/ros-amd64-bringup/; revision=34771

15 years agoFix some compiler warnings.
Samuel Serapion [Fri, 25 Jul 2008 11:09:07 +0000 (11:09 +0000)]
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

15 years ago-Fix definitions of IsBadHugeReadPtr, IsBadHugeWritePtr, IsBadReadPtr, IsBadStringPtr...
Samuel Serapion [Fri, 25 Jul 2008 10:57:44 +0000 (10:57 +0000)]
-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

15 years agoLazy port of PSEH to amd64 probably has no chance of working, but satisfies ld a...
Samuel Serapion [Fri, 25 Jul 2008 10:52:11 +0000 (10:52 +0000)]
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

15 years agoFix typo.
James Tabor [Fri, 25 Jul 2008 01:07:41 +0000 (01:07 +0000)]
Fix typo.

svn path=/trunk/; revision=34767

15 years ago- Add call window proc hooks.
James Tabor [Fri, 25 Jul 2008 01:02:17 +0000 (01:02 +0000)]
- Add call window proc hooks.

svn path=/trunk/; revision=34766

15 years ago- add ke/amd64/boot.S containing KiSystemStartup
Timo Kreuzer [Thu, 24 Jul 2008 23:04:22 +0000 (23:04 +0000)]
- 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

15 years ago- Finish callback for WH_KEYBOARD.
James Tabor [Thu, 24 Jul 2008 22:14:50 +0000 (22:14 +0000)]
- Finish callback for WH_KEYBOARD.

svn path=/trunk/; revision=34764

15 years agoFix crash in NtUserSetClipboardData with CF_TEXT format. (Bug 3536)
Jeffrey Morlan [Thu, 24 Jul 2008 22:08:50 +0000 (22:08 +0000)]
Fix crash in NtUserSetClipboardData with CF_TEXT format. (Bug 3536)

svn path=/trunk/; revision=34763

15 years ago- Plug in WH_KEYBOARD callback.
James Tabor [Thu, 24 Jul 2008 22:00:41 +0000 (22:00 +0000)]
- Plug in WH_KEYBOARD callback.

svn path=/trunk/; revision=34762

15 years ago- add ntoskrnl-amd64.lnk based on i386 one, but target pei-x86-64
Timo Kreuzer [Thu, 24 Jul 2008 21:45:27 +0000 (21:45 +0000)]
- 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

15 years agoMake notepad compile warning free.
Samuel Serapion [Thu, 24 Jul 2008 21:39:03 +0000 (21:39 +0000)]
Make notepad compile warning free.

svn path=/branches/ros-amd64-bringup/; revision=34760

15 years agoAdd two more CallNextHook finctions.
James Tabor [Thu, 24 Jul 2008 21:39:00 +0000 (21:39 +0000)]
Add two more CallNextHook finctions.

svn path=/trunk/; revision=34759

15 years agoFix cast from pointer to integer of different size
Samuel Serapion [Thu, 24 Jul 2008 21:32:08 +0000 (21:32 +0000)]
Fix cast from pointer to integer of different size

svn path=/branches/ros-amd64-bringup/; revision=34758

15 years ago- enumerate all file types for folder options namespace applet
Johannes Anderwald [Thu, 24 Jul 2008 21:26:36 +0000 (21:26 +0000)]
- 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

15 years agontoskrnl: for now comment out all files that don't compile, the linker now get's...
Timo Kreuzer [Thu, 24 Jul 2008 21:08:31 +0000 (21:08 +0000)]
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

15 years agoUse a common .spec file instead of a .def file per architecture
Hervé Poussineau [Thu, 24 Jul 2008 20:54:32 +0000 (20:54 +0000)]
Use a common .spec file instead of a .def file per architecture

svn path=/trunk/; revision=34755

15 years agoFix passing of command line args so it works on win64 too.
Samuel Serapion [Thu, 24 Jul 2008 20:15:36 +0000 (20:15 +0000)]
Fix passing of command line args so it works on win64 too.

svn path=/branches/ros-amd64-bringup/; revision=34754

15 years ago- add ntoskrnl to the build again, as we will need it now.
Timo Kreuzer [Thu, 24 Jul 2008 20:07:30 +0000 (20:07 +0000)]
- 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

15 years agoadd KeGetCurrentThread prototype to winddk
Timo Kreuzer [Thu, 24 Jul 2008 20:02:31 +0000 (20:02 +0000)]
add KeGetCurrentThread prototype to winddk

svn path=/branches/ros-amd64-bringup/; revision=34752

15 years agoUpdate IDL file with new MS Vista functions
Hervé Poussineau [Thu, 24 Jul 2008 19:50:09 +0000 (19:50 +0000)]
Update IDL file with new MS Vista functions

svn path=/trunk/; revision=34751

15 years agoadd ExpChangePushlock macro for _WIN64
Timo Kreuzer [Thu, 24 Jul 2008 19:36:04 +0000 (19:36 +0000)]
add ExpChangePushlock macro for _WIN64

svn path=/branches/ros-amd64-bringup/; revision=34750

15 years agoadd _InterlockedExchange64 to intin_x86.h
Timo Kreuzer [Thu, 24 Jul 2008 19:22:16 +0000 (19:22 +0000)]
add _InterlockedExchange64 to intin_x86.h

svn path=/branches/ros-amd64-bringup/; revision=34749

15 years ago- remove ip and oskittcp from build
Timo Kreuzer [Thu, 24 Jul 2008 19:09:03 +0000 (19:09 +0000)]
- 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

15 years agoconvert external debug output from message boxes to real debug output on serial
Timo Kreuzer [Thu, 24 Jul 2008 16:44:01 +0000 (16:44 +0000)]
convert external debug output from message boxes to real debug output on serial

svn path=/branches/ros-amd64-bringup/; revision=34747

15 years agolibwine:
Samuel Serapion [Thu, 24 Jul 2008 14:32:35 +0000 (14:32 +0000)]
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

15 years agoadd ntoskrnl_amd64.def. For some reason amd64 kernel does not export KeQuerySystemTim...
Timo Kreuzer [Thu, 24 Jul 2008 14:31:35 +0000 (14:31 +0000)]
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

15 years agohal:
Timo Kreuzer [Thu, 24 Jul 2008 14:26:53 +0000 (14:26 +0000)]
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

15 years agoadd a stubbed version of kdcom for amd64
Timo Kreuzer [Thu, 24 Jul 2008 14:17:43 +0000 (14:17 +0000)]
add a stubbed version of kdcom for amd64

svn path=/branches/ros-amd64-bringup/; revision=34742

15 years ago- make bootvid build for PLATFORM=PC instead of ARCH=i386 to share the files between...
Timo Kreuzer [Thu, 24 Jul 2008 14:15:12 +0000 (14:15 +0000)]
- 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

15 years agostrip off stdcall decoration from amd64 entry points
Timo Kreuzer [Thu, 24 Jul 2008 13:32:59 +0000 (13:32 +0000)]
strip off stdcall decoration from amd64 entry points

svn path=/branches/ros-amd64-bringup/; revision=34740

15 years agoddk: update AMD64 intrinsic Interlocked functions
Timo Kreuzer [Thu, 24 Jul 2008 13:03:31 +0000 (13:03 +0000)]
ddk: update AMD64 intrinsic Interlocked functions

svn path=/branches/ros-amd64-bringup/; revision=34739

15 years ago- add some files, I forgot to commit
Timo Kreuzer [Thu, 24 Jul 2008 12:27:40 +0000 (12:27 +0000)]
- add some files, I forgot to commit
- add media directory to build
now we load some files and then stop due to missing fastfat.sys

svn path=/branches/ros-amd64-bringup/; revision=34738

15 years ago- MiGetLastKernelAddress was totally broken on x86 and always returned the highest...
Aleksey Bragin [Thu, 24 Jul 2008 12:18:26 +0000 (12:18 +0000)]
- MiGetLastKernelAddress was totally broken on x86 and always returned the highest available physical page, thus the PFN database always end up at the address 0x80000000 and higher (just before the kernel). And when PFN database's size was bigger than usual (e.g. 1Gb of RAM and more), the PFN database zeroed out the kernel. This logic was introduced by 32640 commit.
- Fix the logic so it really gives the last kernel address, as function name suggests. If you want to change the logic of the function, then rename it accordingly.
See issue #3507 for more details.

svn path=/trunk/; revision=34737

15 years ago- Added more hook points. Setup WH_MOUSE with callbacks, seems to be preloaded. Start...
James Tabor [Thu, 24 Jul 2008 11:38:08 +0000 (11:38 +0000)]
- Added more hook points. Setup WH_MOUSE with callbacks, seems to be preloaded. Started BroadcastSystemMessage.
- Tested with Opera 9.51, FF, Seamonkey, Abiword, Miranda and the rest of our applications.

svn path=/trunk/; revision=34736

15 years ago- mark special pages
Timo Kreuzer [Thu, 24 Jul 2008 11:32:40 +0000 (11:32 +0000)]
- mark special pages
- move some definitions to arch/amd64.h

svn path=/branches/ros-amd64-bringup/; revision=34735

15 years agoDmitry Gorbachev
Aleksey Bragin [Thu, 24 Jul 2008 11:05:22 +0000 (11:05 +0000)]
Dmitry Gorbachev
- Fix warnings in host tools.
See issue #3539 for more details.

svn path=/trunk/; revision=34734

15 years ago- create 512 2 MB pages first, so we have a max of 1 GB available memory. This gets...
Timo Kreuzer [Thu, 24 Jul 2008 10:26:15 +0000 (10:26 +0000)]
- create 512 2 MB pages first, so we have a max of 1 GB available memory. This gets us much further through hardware detection. the setup screen loads and then it stops with "failed to load the ANSI codepage file"

svn path=/branches/ros-amd64-bringup/; revision=34733

15 years agoFix Implicit declaration warnings.
Samuel Serapion [Thu, 24 Jul 2008 08:10:16 +0000 (08:10 +0000)]
Fix Implicit declaration warnings.
code->commit->????->profit!

svn path=/branches/ros-amd64-bringup/; revision=34730

15 years ago- dependencies is a double terminated string array
Ged Murphy [Thu, 24 Jul 2008 07:57:20 +0000 (07:57 +0000)]
- dependencies is a double terminated string array
- patch by bugboy <martinmnet at hotmail dot com>

svn path=/trunk/; revision=34729

15 years agoforgot this one: a stubbed out loader.c copied from i386
Timo Kreuzer [Thu, 24 Jul 2008 02:30:36 +0000 (02:30 +0000)]
forgot this one: a stubbed out loader.c copied from i386

svn path=/branches/ros-amd64-bringup/; revision=34728