Commit Graph
32273 Commits
Author SHA1 Message Date
Samuel Serapion 2f59177f5f - minor WIN64 fixes
- Remove unneeded dependencies 

svn path=/branches/ros-amd64-bringup/; revision=35826
2008-08-31 03:10:30 +00:00
Samuel Serapion 811714c03b -Actually disable TLS.
-Fix boot.

svn path=/branches/ros-amd64-bringup/; revision=35825
2008-08-31 02:53:32 +00:00
Timo Kreuzer 438b349c29 Move KeGetPcr from NDK to winddk.h
svn path=/branches/ros-amd64-bringup/; revision=35824
2008-08-31 00:07:08 +00:00
Timo Kreuzer 75c2238736 fix PCR
svn path=/branches/ros-amd64-bringup/; revision=35823
2008-08-31 00:04:06 +00:00
Samuel Serapion 6ba21a4f75 Commit WIP. Part 4 of ??
- Create separate def file for amd64
- Update rbuild files, not even these require msvcrt dependency
- define _MSVCRT_, necesary to build dll correctly

svn path=/branches/ros-amd64-bringup/; revision=35811
2008-08-30 17:01:14 +00:00
Samuel Serapion d1e98147ed Commit WIP. Part 3 of ??
- Update crt to conform
- add some amd64 stubs

svn path=/branches/ros-amd64-bringup/; revision=35810
2008-08-30 16:55:35 +00:00
Samuel Serapion 9369532afa Commit WIP. Part 2 of ??
Update mingw32 runtime to mingw-w64 trunk
-Support for msvc 7.0 features
-TLS support disabled because ros is not ready

svn path=/branches/ros-amd64-bringup/; revision=35809
2008-08-30 16:50:58 +00:00
Samuel Serapion 5a8939d776 Commit WIP. Part 1 of ??
Update mingw32 headers to mingw-w64 trunk
-Too many changes to list 
-Important concepts:
-- _INTEGRAL_MAX_BITS
-- _USE_32BIT_TIME_T
-- _USE_64BIT_TIME_T
- adds crt secure API
- Fixes so many types its not even funny.

svn path=/branches/ros-amd64-bringup/; revision=35807
2008-08-30 16:47:26 +00:00
Samuel Serapion b6ad488a42 remove unneeded msvcrt dependency (all win32 projects already depend on it)
svn path=/branches/ros-amd64-bringup/; revision=35805
2008-08-30 16:09:34 +00:00
Samuel Serapion a689a4ea26 re-add missing api (fixes user32 winetest build)
svn path=/branches/ros-amd64-bringup/; revision=35804
2008-08-30 16:01:15 +00:00
Samuel Serapion 843608caa2 re-add missing api, remove unneded file
svn path=/branches/ros-amd64-bringup/; revision=35789
2008-08-30 06:49:03 +00:00
Timo Kreuzer efdc0f4571 - implement spinlocks, based on x86 up hal code
- comment out KeInitializeSpinLock on amd64 builds (it's inlined there)
- define some fastcall functions to normal on amd64
- Update amd64 stubs
- remove wrong exports from ntokrnl

svn path=/branches/ros-amd64-bringup/; revision=35782
2008-08-30 01:44:37 +00:00
Timo Kreuzer 85e83d6573 define some fastcall functions to the normal functions on amd64
svn path=/branches/ros-amd64-bringup/; revision=35781
2008-08-30 01:42:03 +00:00
Timo Kreuzer d1a1a9ec83 - Move KeAcquireSpinlockRaiseToSynch from ndk to ntifs.h
- Add KeTryToAcquireQueuedSpinLock to ntifs.h
- Fix Spinlock function prototypes in winddk.h

svn path=/branches/ros-amd64-bringup/; revision=35780
2008-08-30 01:01:53 +00:00
Timo Kreuzer 679cd0bc09 add needed ros specific exports back to user32.spec
svn path=/branches/ros-amd64-bringup/; revision=35778
2008-08-30 00:41:21 +00:00
Timo Kreuzer 28c2567a32 fix ws2_32 spec file
svn path=/branches/ros-amd64-bringup/; revision=35777
2008-08-30 00:25:58 +00:00
Timo Kreuzer 4bf5c9ad76 Fix user32 spec file
svn path=/branches/ros-amd64-bringup/; revision=35776
2008-08-30 00:14:36 +00:00
Timo Kreuzer b3b3755f3b revert changes to def file from 35655, they break x86 build
svn path=/branches/ros-amd64-bringup/; revision=35775
2008-08-30 00:00:44 +00:00
Timo Kreuzer e28ba744b1 fix crtdll build
svn path=/branches/ros-amd64-bringup/; revision=35774
2008-08-29 23:43:06 +00:00
Timo Kreuzer acedcef326 #if out RtlExtendedIntegerMultiply and RtlExtendedLargeIntegerDivide for amd64 in winnt4.h
svn path=/branches/ros-amd64-bringup/; revision=35773
2008-08-29 23:29:19 +00:00
Timo Kreuzer 5faeebf8e0 fix for x86 build
svn path=/branches/ros-amd64-bringup/; revision=35772
2008-08-29 23:22:20 +00:00
Timo Kreuzer a7144a6e9b remove stuff from amd64 hal that doesn't belong there
svn path=/branches/ros-amd64-bringup/; revision=35771
2008-08-29 22:47:11 +00:00
Samuel Serapion 593088a73e Convert fmifs and lsasrv to spec files.
svn path=/branches/ros-amd64-bringup/; revision=35762
2008-08-29 16:39:06 +00:00
Samuel Serapion adfa1e69ba commit missing file
svn path=/branches/ros-amd64-bringup/; revision=35747
2008-08-29 08:09:44 +00:00
Samuel Serapion f0c91ae971 Convert crtdll to WINE's spec file. Forwards most exports to msvcrt and reduces crtdll.dll from 328Kb to 188Kb
svn path=/branches/ros-amd64-bringup/; revision=35746
2008-08-29 07:49:31 +00:00
Timo Kreuzer bb1ab6e781 KeAcquire/ReleaseQueuedSpinlock belong to ntoskrnl on amd64
svn path=/branches/ros-amd64-bringup/; revision=35742
2008-08-29 01:45:40 +00:00
Timo Kreuzer df5f36896f Fix Ki386InitializeTss. Load idt in KeInitExceptions. Implement KiDebugServiceTrap. Add #ifed out threadini.c. Update Stubs. Now DbgPrints are working.
svn path=/branches/ros-amd64-bringup/; revision=35740
2008-08-29 00:38:15 +00:00
Timo Kreuzer 5d8afe00fc KGDT_TSS is 0x40 (vista 64bit).
svn path=/branches/ros-amd64-bringup/; revision=35739
2008-08-29 00:35:46 +00:00
Timo Kreuzer 5d495da9f4 Fix DebugService
svn path=/branches/ros-amd64-bringup/; revision=35738
2008-08-29 00:35:02 +00:00
Timo Kreuzer ae1e57e747 Implement MmUpdatePageDir
svn path=/branches/ros-amd64-bringup/; revision=35737
2008-08-29 00:24:55 +00:00
Timo Kreuzer 01a5044354 Implement KegetCurrentThread inline function
svn path=/branches/ros-amd64-bringup/; revision=35736
2008-08-29 00:17:53 +00:00
Timo Kreuzer cd09661d87 define _SSIZE_T_DEFINED when defining ssize_t
svn path=/branches/ros-amd64-bringup/; revision=35710
2008-08-27 19:54:57 +00:00
Timo Kreuzer 951d7d64e8 - implement stub EnableA20
- define MachInit to PcMachInit
- use i386 versions of machine dependend code for amd64 -> 13 files / 160 kb less

svn path=/branches/ros-amd64-bringup/; revision=35704
2008-08-27 15:41:38 +00:00
Timo Kreuzer 978a868544 - Convert PortAddress from ULONG to PUCHAR
- Fix some int <-> pointer casts
- remove useless #if __i386__
- use %p for pointer sized prints

svn path=/branches/ros-amd64-bringup/; revision=35703
2008-08-27 15:37:36 +00:00
Timo Kreuzer fb545753be enhance macros
svn path=/branches/ros-amd64-bringup/; revision=35696
2008-08-27 14:16:04 +00:00
Timo Kreuzer ae14158094 Add Cch functions to strsafe lib.
svn path=/branches/ros-amd64-bringup/; revision=35694
2008-08-27 03:03:39 +00:00
Timo Kreuzer 44f8969876 More fixes in strsafe.h
svn path=/branches/ros-amd64-bringup/; revision=35693
2008-08-27 03:01:25 +00:00
Timo Kreuzer 68c27c7f46 Fix some strsafe.h definitions.
svn path=/branches/ros-amd64-bringup/; revision=35692
2008-08-27 02:08:24 +00:00
Timo Kreuzer 9c0ddbba15 Optimize and shorten StringCxxLength
svn path=/branches/ros-amd64-bringup/; revision=35691
2008-08-27 01:47:34 +00:00
Timo Kreuzer a687a42919 - Rework defines in strsafe a bit.
- Implement StringCxxLength()

svn path=/branches/ros-amd64-bringup/; revision=35690
2008-08-27 00:40:10 +00:00
Timo Kreuzer 736cebd3a6 With a few more defines, strsafe.h can now implement all functions Cb/Cch, Ansi/Unicode from a single piece of code. Implement all Cb functions in the lib (depending on the unimplemented inline versions)
svn path=/branches/ros-amd64-bringup/; revision=35689
2008-08-26 23:06:18 +00:00
Timo Kreuzer 110717948a Make kdcom x86 code 64bit compatible and use it for amd64, too. Add a DriverEntry to make ld happy.
svn path=/branches/ros-amd64-bringup/; revision=35685
2008-08-26 21:29:31 +00:00
Timo Kreuzer 2730ab38f8 If you change an rbuild file to use an arch-specific .def file, please also provide those .def files.
svn path=/branches/ros-amd64-bringup/; revision=35684
2008-08-26 20:58:04 +00:00
Timo Kreuzer 52846afa0e fix d3d9.def file and enable d3d8 and d3d9 to fix x86 build
svn path=/branches/ros-amd64-bringup/; revision=35683
2008-08-26 20:56:07 +00:00
Timo Kreuzer 405ba26351 Start a new strsafe lib. Nothing implemented so far, more something like a framework. The actual function implementation will be in the header, because the ms header allows to inline the functions. It uses recursive include to avoid code duplication. The lib uses these functions to generate the code.
svn path=/branches/ros-amd64-bringup/; revision=35682
2008-08-26 20:51:14 +00:00
Timo Kreuzer 500dc4c37a Add D3DFMT_D32_LOCKABLE and D3DFMT_S8_LOCKABLE
svn path=/branches/ros-amd64-bringup/; revision=35668
2008-08-26 12:01:58 +00:00
Timo Kreuzer 4d6c63b343 #undef Interlocked before implementing the functions on all architectures.
svn path=/branches/ros-amd64-bringup/; revision=35666
2008-08-26 11:22:30 +00:00
Samuel Serapion 40b2f18a1c Fix tcpsvcs build.
svn path=/branches/ros-amd64-bringup/; revision=35657
2008-08-26 04:12:02 +00:00
Samuel Serapion 69bb41bdc4 Remove unneeded msvcrt dependancies(all win32 modules depend on msvcrt already)
dbghelp: Don't use old style parameter lists.
kernel32: Remove stdcall decorations from amd64 asm.
user32: Convert to spec file.
console: Convert to spec file.
Misc WIN64 fixes.

svn path=/branches/ros-amd64-bringup/; revision=35655
2008-08-26 02:19:29 +00:00
Samuel Serapion 9abe4eb706 More header fixes.
svn path=/branches/ros-amd64-bringup/; revision=35652
2008-08-26 00:26:42 +00:00