Timo Kreuzer
c00498727e
Implement __readcr8, __writecr8, __lidt and __sidt intrinsics.
...
svn path=/branches/ros-amd64-bringup/; revision=35504
2008-08-21 13:30:00 +00:00
Timo Kreuzer
0d5cd90543
Fix KiSystemStartupReal, KiGetMachineBootPointers and KiInitializePcr. Add trap.S for ISRs (unimplemented). Add except.c with KiInterruptInitTable and KeInitExceptions, initializing the IDT. Add irql.c for IRQL functions (unimplemented). Update stubs file. Based on info from http://www.msuiche.net/papers/Windows_Vista_64bits_and_unexported_kernel_symbols.pdf . We now reach KiSetupStackAndInitializeKernel, but there's a few things still missing.
...
svn path=/branches/ros-amd64-bringup/; revision=35496
2008-08-20 23:54:52 +00:00
Timo Kreuzer
29e9dfd5d6
Also initialize data segment descriptor in the gdt.
...
svn path=/branches/ros-amd64-bringup/; revision=35495
2008-08-20 23:48:28 +00:00
Timo Kreuzer
9576c5f7f6
- Add X86_MSR_GSBASE, X86_MSR_KERNEL_GSBASE constants
...
- Add KIDT_INIT structure for the idt init table
- Add prototypes for ISRs
svn path=/branches/ros-amd64-bringup/; revision=35494
2008-08-20 22:55:59 +00:00
Timo Kreuzer
bfb63a8031
Setup a page for the Idt and a page for the gdt + tss. Setup the newly created gdt accordingly. Set gdtr and idtr.
...
svn path=/branches/ros-amd64-bringup/; revision=35493
2008-08-20 22:48:47 +00:00
Timo Kreuzer
a215070e56
revert my last commit to avoid polluting other files with hack code. I am also not going to need that piece of code for amd64.
...
svn path=/branches/ros-amd64-bringup/; revision=35492
2008-08-20 22:38:23 +00:00
Timo Kreuzer
d4fd437f76
- fix usage of InterlockedExchangePointer
...
- fix ULONG -> pointer cast
svn path=/branches/ros-amd64-bringup/; revision=35461
2008-08-19 19:56:28 +00:00
Timo Kreuzer
235811bd2a
Update amd64 prototypes for KeGetCurrentIrql, KfRaiseIrql, KfLowerIrql, KeRaiseIrqlToDpcLevel, KeRaiseIrqlToSynchLevel, KeLowerIrql, KeRaiseIrql
...
svn path=/branches/ros-amd64-bringup/; revision=35460
2008-08-19 19:28:12 +00:00
Timo Kreuzer
408520c38c
forgot this one
...
svn path=/branches/ros-amd64-bringup/; revision=35459
2008-08-19 19:08:45 +00:00
Timo Kreuzer
c56d24853e
Move some architecture specific code from KiRosPrepareForSystemStartup into KiArchInitSystem, defined for each architecture. Enable KiRosBuildReservedMemoryMap for _M_AMD64
...
svn path=/branches/ros-amd64-bringup/; revision=35458
2008-08-19 19:07:13 +00:00
Timo Kreuzer
53fee22a84
change the gdt in freeldr, so we will have the same longmode cs later in the kernel.
...
svn path=/branches/ros-amd64-bringup/; revision=35445
2008-08-19 03:00:59 +00:00
Timo Kreuzer
e113754dbf
add an additional case for _AMD64_ now that we have _X86_ not defined anymore
...
svn path=/branches/ros-amd64-bringup/; revision=35444
2008-08-19 02:41:01 +00:00
Timo Kreuzer
efb208d11b
- revert 34796, an old hack to #undef _X86_ on amd64 builds, not needed any longer
...
svn path=/branches/ros-amd64-bringup/; revision=35443
2008-08-19 02:39:19 +00:00
Timo Kreuzer
2c01ac7383
Get rid of the _X86_ define by using a -U compiler switch. This way it also works with PCHs, that before didn't like the #undef
...
svn path=/branches/ros-amd64-bringup/; revision=35442
2008-08-19 02:33:14 +00:00
Timo Kreuzer
1e73720601
- Remove obsolete LDT_ENTRY
...
- replace KTSS with KTSS64
- update some KGDT_xxx constants
svn path=/branches/ros-amd64-bringup/; revision=35436
2008-08-18 21:50:55 +00:00
Timo Kreuzer
b00f5679d2
- fix pointer to ulong cast
...
svn path=/branches/ros-amd64-bringup/; revision=35362
2008-08-16 00:18:27 +00:00
Timo Kreuzer
928f5c1001
fix KIPCR
...
svn path=/branches/ros-amd64-bringup/; revision=35361
2008-08-16 00:17:52 +00:00
Timo Kreuzer
20f583f4cb
- comment out ext2.sys in textsetup.sif, as it doesn't load
...
- fix stupid error when creating page directory
- fix PtrToPfn() based on updated mm types
- some enhancements
svn path=/branches/ros-amd64-bringup/; revision=35360
2008-08-16 00:16:54 +00:00
Timo Kreuzer
bb78749234
The TEB member is called ClientID not Cid on all Windows versions I could check (XP, 2k3, vista).
...
svn path=/branches/ros-amd64-bringup/; revision=35359
2008-08-15 23:40:42 +00:00
Timo Kreuzer
5ba5164dd3
try to fix build
...
svn path=/branches/ros-amd64-bringup/; revision=35351
2008-08-15 11:24:10 +00:00
Timo Kreuzer
ed1b845158
NDK: update PEB definition based in win2003 and vista 32/64 bit symbols
...
svn path=/branches/ros-amd64-bringup/; revision=35349
2008-08-15 02:05:18 +00:00
Timo Kreuzer
ea1d7436f1
NDK: update KPRCB based on win2003 and vista symbol files
...
svn path=/branches/ros-amd64-bringup/; revision=35348
2008-08-15 01:00:03 +00:00
Timo Kreuzer
a0b08b14c8
NDK: update 64bit mm structures, based on win2003 and vista symbol files
...
svn path=/branches/ros-amd64-bringup/; revision=35347
2008-08-14 22:58:22 +00:00
Timo Kreuzer
794e8ef987
Sync to trunk head (35333)
...
svn path=/branches/ros-amd64-bringup/; revision=35334
2008-08-14 14:21:43 +00:00
Stefan Ginsberg
ed3f476473
- Rework MiSyncThreadProcessViews
...
- Perform the Mm hack-sync in KiIdleLoop before switching context (thanks to Aleksey for writing this!)
svn path=/trunk/; revision=35333
2008-08-14 12:42:57 +00:00
Daniel Reimer
0a4815bc46
Reapply the translations except the Japanese one. Thx to Olaf Siejka for finding the guilty one.
...
svn path=/trunk/; revision=35332
2008-08-14 11:58:11 +00:00
Johannes Anderwald
117369c011
* Implement Chkdsk dialog resources
...
svn path=/trunk/; revision=35331
2008-08-14 10:33:20 +00:00
Andrew Munger
85e9dd424d
Update the Fonts folder path.
...
svn path=/trunk/; revision=35330
2008-08-14 09:29:49 +00:00
Andrew Munger
f8857961fd
Update the font installbase, this "fixes" the livecd. Tested bootcd, livecd, and make install.
...
svn path=/trunk/; revision=35329
2008-08-14 09:28:06 +00:00
Johannes Anderwald
7b82780771
* Fix the build :)
...
svn path=/trunk/; revision=35328
2008-08-14 08:52:34 +00:00
Johannes Anderwald
19897c21e2
* Implement administrative tools shell folder
...
svn path=/trunk/; revision=35327
2008-08-14 08:41:59 +00:00
Timo Kreuzer
d3c3d4d576
add LDT_ENTRY to winnt.h
...
svn path=/branches/ros-amd64-bringup/; revision=35326
2008-08-14 02:43:52 +00:00
Timo Kreuzer
931280fae6
add NtCurrentTeb inline function
...
svn path=/branches/ros-amd64-bringup/; revision=35325
2008-08-14 02:24:14 +00:00
Timo Kreuzer
803292ae6c
Update add KGDTENTRY64 and KIDTENTRY64 to replace KGDTENTRY and KIDTENTRY, remove FNSAVE_FORMAT, FXSAVE_FORMAT and FX_SAVE_AREA
...
svn path=/branches/ros-amd64-bringup/; revision=35324
2008-08-14 00:24:46 +00:00
Timo Kreuzer
bc3b4008a2
Update KIPCR, KPRCB, KTRAP_FRAME, KDESCRIPTOR, all based on vista x64 symbol files. Comment out some code for now that was using an old structure member.
...
Enable some x86 specific external variables for amd64, too. Comment out a reference to prcb->DbugDpcTime, this is the only reference, so it's useless anyway. Comment out code for KiRundownThread for the moment. Comment out KeQuerySystemTime and KeQueryInterruptTime on amd64, they are resolved through macros and not exported.Remove kdb_expr.c from build. Add endless loop in KiSystemStartupReal, that's where we stop.
svn path=/branches/ros-amd64-bringup/; revision=35323
2008-08-13 23:45:27 +00:00
Timo Kreuzer
3e915894d6
add _ELF_ property to rbuild file
...
svn path=/branches/ros-amd64-bringup/; revision=35322
2008-08-13 23:06:54 +00:00
Johannes Anderwald
33938183af
* Fix multiple bugs in SHFormatDrive dialog
...
* It now correcly calls FormatEx but the fmifs.dll is not yet in usable shape :(
svn path=/trunk/; revision=35321
2008-08-13 22:56:02 +00:00
Johannes Anderwald
0ae6a9811c
* Implement SHFormatDrive using fmifs api (format drive dialog in explorer)
...
svn path=/trunk/; revision=35319
2008-08-13 21:29:29 +00:00
Art Yerkes
5f696de7d6
Revert unintended change.
...
svn path=/trunk/; revision=35318
2008-08-13 20:51:35 +00:00
Art Yerkes
76ff523af5
Merge aicom-network-fixes up to 35306.
...
svn path=/trunk/; revision=35317
2008-08-13 20:44:20 +00:00
Daniel Reimer
feccdafeb8
Revert part of my last commit. I will investigate in it when I had some sleep
...
svn path=/trunk/; revision=35316
2008-08-13 20:41:10 +00:00
Stefan Ginsberg
6c373a935c
- Remove INIT_FUNCTION from exported functions
...
svn path=/trunk/; revision=35315
2008-08-13 20:30:22 +00:00
Stefan Ginsberg
cd6ac84cfe
- Apply the same Mm sync hacks in NtYieldExecution as is done in KiSwapThread
...
svn path=/trunk/; revision=35314
2008-08-13 20:12:24 +00:00
Daniel Reimer
1a5e7629d5
... YES... NEVER COMMIT when you are awake WAAAY too long.
...
svn path=/trunk/; revision=35313
2008-08-13 20:12:04 +00:00
Daniel Reimer
7f262f6c06
Bug 3649: Slovak update by Mario Kacmar
...
Bug 3631: Norwegian Update by Lars Martin Hambro
svn path=/trunk/; revision=35312
2008-08-13 18:48:51 +00:00
Daniel Reimer
d7c849722a
Polish Shell32 Update by Olaf Siejka
...
Bug 3655: IDS_PROPERTIES Translation by Victor Martinez Calvo
Bug 3642: Italian resource file update by Paolo Devoti
Bug 3651: msconfig french translation (base/applications/msconfig)
Bug 3652: French translation for Access.cpl (dll/cpl/access)
Bug 3653: translation of regsvr32/Fr.rc (base/system/regsvr32/)
svn path=/trunk/; revision=35311
2008-08-13 18:25:01 +00:00
Stefan Ginsberg
e82f1c91a7
- Fix MiSyncThreadProcessViews in KeInitThread too as requested by Alex
...
svn path=/trunk/; revision=35310
2008-08-13 18:00:23 +00:00
Stefan Ginsberg
bfd08e980b
- Remove KiRawTicks -- this was previously a ros-specific kernel export, but is now unused
...
- Fix a comment typo
svn path=/trunk/; revision=35309
2008-08-13 17:24:22 +00:00
Stefan Ginsberg
6c420630c9
- "Sync" to the next thread's initial stack in KiSwapThread. This fixes an invalid page fault (faulting while interrupts are disabled) during context switching, where we access the next thread's initial stack before performing the address space switch. Many thanks to Alex for his help with this bug!
...
- Fix stack size calculations in KeAttachProcess and KeStackAttachProcess (thanks to Alex for pointing this out)
svn path=/trunk/; revision=35308
2008-08-13 17:00:49 +00:00
Jeffrey Morlan
d36e61f36c
cmd_start:
...
- Allow space between /D and directory.
- Allow /W as a synonym for /WAIT.
- Give an error message on invalid switches.
- Clean up the function a bit.
svn path=/trunk/; revision=35307
2008-08-13 15:17:51 +00:00