Commit graph

32285 commits

Author SHA1 Message Date
Timo Kreuzer
4463d32144 implement hal reusing most code from x86
svn path=/branches/ros-amd64-bringup/; revision=35905
2008-09-03 01:10:10 +00:00
Timo Kreuzer
f96e66ec88 update the hal/hal
svn path=/branches/ros-amd64-bringup/; revision=35904
2008-09-03 00:52:40 +00:00
Timo Kreuzer
230d014774 "fix" Ke386SaveFlags and Ke386RestoreFlags
svn path=/branches/ros-amd64-bringup/; revision=35903
2008-09-03 00:49:04 +00:00
Timo Kreuzer
89f1272447 compatability fixes, so some hal code can be shared
svn path=/branches/ros-amd64-bringup/; revision=35902
2008-09-03 00:44:50 +00:00
Timo Kreuzer
24326fcfd3 implement StringCxxCat functions. Not all flags in StringCxxCatEx are supported yet.
svn path=/branches/ros-amd64-bringup/; revision=35900
2008-09-03 00:22:12 +00:00
Samuel Serapion
31c9b2552f fix amd64 build
svn path=/branches/ros-amd64-bringup/; revision=35895
2008-09-02 22:35:20 +00:00
Samuel Serapion
cc2230125f Fix up winnt.h a bit
svn path=/branches/ros-amd64-bringup/; revision=35888
2008-09-02 15:20:23 +00:00
Samuel Serapion
99fdc570b8 Moved tchar.h out of psdk/
Update tchar.h to mingw-w64 version.
Protect WCHAR_MAX from redefine warning

svn path=/branches/ros-amd64-bringup/; revision=35887
2008-09-02 15:09:01 +00:00
Samuel Serapion
389c0e65da Copied remotely
svn path=/branches/ros-amd64-bringup/; revision=35885
2008-09-02 15:03:53 +00:00
Samuel Serapion
d3e4ae4056 Make crt call win32 time APIs, like WINE
svn path=/branches/ros-amd64-bringup/; revision=35829
2008-08-31 03:22:13 +00:00
Samuel Serapion
f6f0710efc Minor WIN64 fixes.
svn path=/branches/ros-amd64-bringup/; revision=35828
2008-08-31 03:18:20 +00:00
Samuel Serapion
e4385a44a2 minor fix.
svn path=/branches/ros-amd64-bringup/; revision=35827
2008-08-31 03:16:59 +00:00
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