Commit graph

40045 commits

Author SHA1 Message Date
Timo Kreuzer
086ab61bfa [freeldr]
Fix apic base

svn path=/branches/ros-amd64-bringup/; revision=44754
2009-12-24 23:17:18 +00:00
Samuel Serapion
928e636341 [ntoskrnl]
- enable KdpEnableSafeMem for amd64
- unhack ExInitPoolLookasidePointers
- hackplement KiInitializeContextThread
- Remove extended eflag code from kdb, its useless.
- Rewrite KdbpCmdGdtLdtIdt
- Enable KdbpCmdTss
- misc kdb fixes.

svn path=/branches/ros-amd64-bringup/; revision=44749
2009-12-24 04:12:02 +00:00
Samuel Serapion
0cb1aea701 Lazy port of kdbg to AMD64. Kdbg is very x86 specific but thankfully amd64 isn't that diferent. It can query register values, list modules, and dump PCR. Other stuff is broken and needs further debugging such as KdpSafe API, IDT, GDT, LDT offsets and disasm code. Backtraces not available because of missing unwind data. Special thanks to Physicus for making this commit possible.
svn path=/branches/ros-amd64-bringup/; revision=44722
2009-12-23 03:36:40 +00:00
Timo Kreuzer
6134ac2619 try to fix build
svn path=/branches/ros-amd64-bringup/; revision=44686
2009-12-21 19:46:40 +00:00
Timo Kreuzer
ffe14b3dae [MM]
- Improve MiGetPteForProcess
Implement MiGetPteProtection, MiSetPteProtection, MmCreateVirtualMappingUnsafe, MmCreateVirtualMapping

svn path=/branches/ros-amd64-bringup/; revision=44653
2009-12-19 03:43:33 +00:00
Timo Kreuzer
14ce443d0a [KDBG]
Port KdbEnter to amd64 assembly. Untested.

svn path=/branches/ros-amd64-bringup/; revision=44652
2009-12-19 00:04:37 +00:00
Samuel Serapion
fb0bd4efd9 [UniAta]
- Coding late at night can cloud your judgment. 
- Better fix for pointer truncation(just don't do it.)
- Todo send patch upstream

svn path=/branches/ros-amd64-bringup/; revision=44639
2009-12-17 14:35:25 +00:00
Samuel Serapion
885969b80a remove debugging code
svn path=/branches/ros-amd64-bringup/; revision=44635
2009-12-17 06:40:37 +00:00
Samuel Serapion
6e87c96393 [uniata]
- Make x86 specific optimizations x86 specific, use macros otherwise.
- Try to fix numerous pointer to ULONG casts.
- Now Builds for amd64.

svn path=/branches/ros-amd64-bringup/; revision=44634
2009-12-17 05:55:53 +00:00
Samuel Serapion
9fb1e72a87 Eliminate differences with trunk.
svn path=/branches/ros-amd64-bringup/; revision=44633
2009-12-17 02:52:24 +00:00
Timo Kreuzer
1c964da618 Fix C_ASSERT yet another time.
svn path=/branches/ros-amd64-bringup/; revision=44631
2009-12-16 23:37:18 +00:00
Timo Kreuzer
d2a094f50f revert 44509.
not needed anymore.

svn path=/branches/ros-amd64-bringup/; revision=44624
2009-12-16 20:52:53 +00:00
Timo Kreuzer
f73d776d30 New definition of C_ASSERT and _STATIC_ASSERT using a function prototype. This way we avoid duplicate definition errors like with a typedef and unused function warning like with the extern.
svn path=/branches/ros-amd64-bringup/; revision=44623
2009-12-16 20:45:02 +00:00
Samuel Serapion
e87ff42eea Revert unnecessary hack/fix.
svn path=/branches/ros-amd64-bringup/; revision=44620
2009-12-16 17:01:24 +00:00
Timo Kreuzer
e8ff2953e4 Copy from trunk
svn path=/branches/ros-amd64-bringup/; revision=44617
2009-12-16 01:06:10 +00:00
Timo Kreuzer
168700b492 remove old hacks
svn path=/branches/ros-amd64-bringup/; revision=44612
2009-12-15 22:08:38 +00:00
Timo Kreuzer
d894a2459f shuffle headers, add #undef, helps with wine macros.
svn path=/branches/ros-amd64-bringup/; revision=44611
2009-12-15 21:53:29 +00:00
Timo Kreuzer
7861b97392 Copy crypt32 from trunk, fixing more merge fail.
svn path=/branches/ros-amd64-bringup/; revision=44605
2009-12-15 17:17:03 +00:00
Timo Kreuzer
1aa21a6a95 Fix a whole lot of merge artifacts or whatever that was that changed indentation here and there.
svn path=/branches/ros-amd64-bringup/; revision=44604
2009-12-15 16:33:41 +00:00
Timo Kreuzer
305d8331b2 [SHELL32]
Fix a prototype. Convert RtlLargeInteger to native int64. Fixes 64bit built.

svn path=/branches/ros-amd64-bringup/; revision=44601
2009-12-15 13:01:55 +00:00
Timo Kreuzer
fa0c6f588d [MSACM32]
Copy from trunk

svn path=/branches/ros-amd64-bringup/; revision=44598
2009-12-15 04:25:05 +00:00
Timo Kreuzer
4cba4fc3cb use tabs in rbuild file (copied from trunk)
svn path=/branches/ros-amd64-bringup/; revision=44593
2009-12-14 22:59:38 +00:00
Timo Kreuzer
60574f15b9 copy from trunk
svn path=/branches/ros-amd64-bringup/; revision=44588
2009-12-14 22:44:39 +00:00
Timo Kreuzer
e1f86bf08f Copy file from trunk. Only formatting fixes.
svn path=/branches/ros-amd64-bringup/; revision=44586
2009-12-14 20:31:24 +00:00
Timo Kreuzer
4a5b4c2097 reduce differences to trunk
svn path=/branches/ros-amd64-bringup/; revision=44585
2009-12-14 20:15:56 +00:00
Timo Kreuzer
ff716ba92c remove unneccessary change from wine code
svn path=/branches/ros-amd64-bringup/; revision=44584
2009-12-14 20:03:59 +00:00
Samuel Serapion
be486cc570 fix build 2.
svn path=/branches/ros-amd64-bringup/; revision=44581
2009-12-14 19:12:05 +00:00
Samuel Serapion
c4a74680e2 fix build.
svn path=/branches/ros-amd64-bringup/; revision=44580
2009-12-14 19:01:42 +00:00
Samuel Serapion
7b5e8cc133 Try to fix IDL compilation race condition with patch from bug #4994
svn path=/branches/ros-amd64-bringup/; revision=44579
2009-12-14 18:55:32 +00:00
Samuel Serapion
1cc5650297 Try to fix build with rosbe 1.5 x86
svn path=/branches/ros-amd64-bringup/; revision=44578
2009-12-14 18:42:30 +00:00
Samuel Serapion
42610c6d93 -Remove hacks for older gcc versions.
-Black list gcc below 4.4.2
-Black list ld below 20091119.
-99.99% Based on bug 4810
-Speeds up my build by 3 minutes

svn path=/branches/ros-amd64-bringup/; revision=44550
2009-12-12 15:41:43 +00:00
Samuel Serapion
17360de0ad -Detect if this is a amd64 CPU before attempting to boot.
Patch by Basil Gello (gellmar at yahoo dot com).

svn path=/branches/ros-amd64-bringup/; revision=44540
2009-12-11 19:01:45 +00:00
Samuel Serapion
304829a946 Fix i386 build
svn path=/branches/ros-amd64-bringup/; revision=44537
2009-12-11 12:29:05 +00:00
Samuel Serapion
6397d5d0a2 Fix i386 build
svn path=/branches/ros-amd64-bringup/; revision=44536
2009-12-11 12:15:23 +00:00
Timo Kreuzer
f2e27ac975 Don't include i386/ke.h from ntoskrnl, it's not needed
svn path=/branches/ros-amd64-bringup/; revision=44530
2009-12-10 21:04:15 +00:00
Timo Kreuzer
19829753fd More fix of TEB::KernelCallbackTable usage
svn path=/branches/ros-amd64-bringup/; revision=44526
2009-12-10 13:40:05 +00:00
Timo Kreuzer
5c58ca4af8 [NDK]
Fix a TEB array size.

svn path=/branches/ros-amd64-bringup/; revision=44525
2009-12-10 13:33:57 +00:00
Timo Kreuzer
07d56c3f54 [NDK]
- Add missing TEB member for Vista

svn path=/branches/ros-amd64-bringup/; revision=44524
2009-12-10 13:04:36 +00:00
Timo Kreuzer
fbb3b9e1a8 Fix usage of PEB::KernelCallbacktable. It's a PVOID.
svn path=/branches/ros-amd64-bringup/; revision=44523
2009-12-10 12:39:54 +00:00
Timo Kreuzer
cda052bdd5 [NTDKK]
- Don't use PEB::FastPeb(Un)LockRoutine, these members are deprecated since Windows 2003, use RtlEnter/LeaveCriticalSection instead.

svn path=/branches/ros-amd64-bringup/; revision=44521
2009-12-10 11:54:17 +00:00
Timo Kreuzer
d7c4b1608d [NDK]
Fix some dependencies

svn path=/branches/ros-amd64-bringup/; revision=44512
2009-12-10 03:07:30 +00:00
Timo Kreuzer
ee49fa9c0f [NDK]
- Add Wx86ThreadState
- Add WinXP version of ACTIVATION_CONTEXT_STACK
- rtltypes doesn't depend on pstypes, but the opposite way around now

svn path=/branches/ros-amd64-bringup/; revision=44511
2009-12-10 02:30:09 +00:00
Timo Kreuzer
3f4e4492cd [IPHLPAPI]
Don't redefine _WIN32_WINNT to 0x500. When using the NDK we need at least 0x503 when compiling for 64 bit (XP64 is 502)

svn path=/branches/ros-amd64-bringup/; revision=44510
2009-12-10 02:17:54 +00:00
Timo Kreuzer
74ce61800e Don't C_ASSERT inside a function body. The new definition causes a warning with this.
svn path=/branches/ros-amd64-bringup/; revision=44509
2009-12-10 01:48:07 +00:00
Timo Kreuzer
ec3e6b9382 updates EFLAGS definitions
svn path=/branches/ros-amd64-bringup/; revision=44508
2009-12-10 01:44:42 +00:00
Timo Kreuzer
bcd5ab1175 fix a typo
svn path=/branches/ros-amd64-bringup/; revision=44506
2009-12-10 01:09:51 +00:00
Timo Kreuzer
5fae13a4ff Add MmFreeSection prototype
svn path=/branches/ros-amd64-bringup/; revision=44505
2009-12-10 01:06:30 +00:00
Timo Kreuzer
c7b2342d5c Fix number 2
svn path=/branches/ros-amd64-bringup/; revision=44504
2009-12-10 00:51:35 +00:00
Timo Kreuzer
9a8e8247d8 Fix number 1
svn path=/branches/ros-amd64-bringup/; revision=44503
2009-12-10 00:51:14 +00:00
Timo Kreuzer
2e2e7009ab Add PDE_TOP for x86
svn path=/branches/ros-amd64-bringup/; revision=44502
2009-12-10 00:39:03 +00:00