Merge from amd64 branch:
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sun, 20 Dec 2009 13:30:35 +0000 (13:30 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Sun, 20 Dec 2009 13:30:35 +0000 (13:30 +0000)
commit114bcb2c56ef1bdf20c865cf6eb620df069ce5b9
tree88255292241a6abd7a3456dafe4ed47b108d6673
parent21ddc44f8f09b78aff9eadf56a3751c3499f05aa
parent5fb8f749c4a30a8b3812abe886e22cbe486058a5
parent2a3e82aae5e540942e2023a5c8056124396f0298
Merge from amd64 branch:

[NTOSKRNL]
44415 Move architecture specific inline functions in into the respective headers.

[FREELDR]
39639 Fix 2 small typos.
40247 Fix a number of ULONG / ULONG_PTR issues, remove LoadReactOSSetup2 for non-x86 builds.
40324 Fix switching from long mode to real mode, by jumping into a compatibility segment first.
43566 move wlmemory.c into arch specific folder. add wlmemory.c and ntsetup.c for amd64 (stubbed)
43574 Enable winldr style boot for amd64
43598 Split wlmemory into portable and arch specific code. Partly implement amd64 version.
43600 Fix a bug.
43601 Move definition of KIP0PCRADDRESS into arch specific header. Implement WinLdrSetupForNt for amd64. Fix mapping of PCR and KI_USER_SHARED_DATA. Don't enable paging again on amd64. Fix WinLdrSetProcessorContext to take a ULONG_PTR not ULONG for Pcr and Tss
43602 Round up to pages when updating LoaderPagesSpanned to avoid a bug when the last memory region is not mapped.
43604 Add MempIsPageMapped for debugging puposes. Map pages for kernel, too in amd64 version of MempSetupPaging.
43605 Include the intrinsics from the kernel. Set segement selectors
43757 Pass pointer to debugprint function to the kernel in LoaderBlock->u.I386.CommonDataArea. Comment out __lldt
43775 Fixed build with MinGW-w64 4.4.3
44065 Use LoaderMemoryData instead of LoaderSpecialMemory for page tables
44095 Use the kernel mode address for the gdt/idt
44123 Fix a typo
44144 Share some more inline functions between the kernel and freeldr. Use __ltr instead of Ke386SetTr. refactor KiInitializeTss. Update some Mm constants. Halfplement KeFlushEntireTb. Clean the mapping of page 0 in KiSystemStartup, as long as we don't clean mappings in freeldr. Fix a bug in KiPageFault, where ebp was used instead of rbp. Refactor MmArmInitSystem and related.
44205 Improve the code in wlmemory.c, no real functional change.
44426 remove unused variables.
44530 Don't include i386/ke.h from ntoskrnl.
44540 Detect if this is a amd64 CPU before attempting to boot. (Basil Gello)

svn path=/trunk/; revision=44669
18 files changed:
reactos/boot/freeldr/freeldr/arch/amd64/arch.S
reactos/boot/freeldr/freeldr/arch/amd64/fathelp.S
reactos/boot/freeldr/freeldr/bootmgr.c
reactos/boot/freeldr/freeldr/freeldr_arch.rbuild
reactos/boot/freeldr/freeldr/freeldr_base.rbuild
reactos/boot/freeldr/freeldr/include/arch/amd64/amd64.h
reactos/boot/freeldr/freeldr/include/arch/i386/i386.h
reactos/boot/freeldr/freeldr/include/freeldr.h
reactos/boot/freeldr/freeldr/mm/mm.c
reactos/boot/freeldr/freeldr/windows/amd64/ntsetup.c
reactos/boot/freeldr/freeldr/windows/amd64/wlmemory.c
reactos/boot/freeldr/freeldr/windows/i386/wlmemory.c
reactos/boot/freeldr/freeldr/windows/winldr.c
reactos/boot/freeldr/freeldr/windows/wlmemory.c
reactos/ntoskrnl/include/internal/arm/ke.h
reactos/ntoskrnl/include/internal/i386/ke.h
reactos/ntoskrnl/include/internal/ke_x.h
reactos/ntoskrnl/include/internal/powerpc/ke.h