Commit Graph
1064 Commits
Author SHA1 Message Date
Amine Khaldi 2bdcf8789d [CMAKE]
* Make the minimum required version 2.8.
* Remove redundant psdk dependencies.
* Tidy up CMake files.

svn path=/trunk/; revision=64795
2014-10-17 23:28:29 +00:00
Amine Khaldi 096445bc16 [TRANSLATIONS]
* Turkish translations update by Erdem Ersoy.
CORE-7861

svn path=/trunk/; revision=64750
2014-10-15 17:46:49 +00:00
Thomas Faber e85c3287e6 [FDEBUG]
- Fix build

svn path=/trunk/; revision=64688
2014-10-12 06:21:22 +00:00
Jérôme Gardou 87daca2bea [GCC/CMAKE]
- Add a way to conditionally use the GCC stack protector.
Just add -DSTACK_PROTECTOR:BOOL=TRUE as argument to configure.cmd/sh

svn path=/trunk/; revision=64527
2014-10-04 20:26:14 +00:00
Thomas Faber 0cca44bdb8 [FREELDR]
- Improve GetPciIrqRoutingTable. Patch by Sergey Chernov (serrox at ya dot ru), small modifications by me.
CORE-8440

svn path=/trunk/; revision=63985
2014-08-30 10:59:25 +00:00
Timo Kreuzer 867be3b13e [FREELDR]
Add ARM files to build, avoid a redefinition in osloader.h, use new autogenerated ksarm.h in arm/boot.s

svn path=/trunk/; revision=63688
2014-07-05 19:02:41 +00:00
Amine Khaldi 2bfabe5522 [TRANSLATIONS]
* Turkish translation update by Erdem Ersoy.
CORE-7861

svn path=/trunk/; revision=63675
2014-06-30 12:00:07 +00:00
Pierre Schweitzer 5d7445aec0 [FREELDR]
Properly declare with FORCEINLINE

svn path=/trunk/; revision=63017
2014-04-27 12:59:37 +00:00
Amine Khaldi cd05473bf9 [TRANSLATIONS]
* Turkish translation update by Erdem Ersoy.
CORE-7861

svn path=/trunk/; revision=62699
2014-04-10 13:33:27 +00:00
Pierre Schweitzer 362bca1c4a [FREELDR]
Don't call strlen to get max len of an uninit string

CID #731721
CID #731722

svn path=/trunk/; revision=62652
2014-04-06 13:22:21 +00:00
Amine Khaldi e46cb53319 [TRANSLATIONS]
* Turkish translation update by Erdem Ersoy.
CORE-7861

svn path=/trunk/; revision=62380
2014-03-02 17:06:37 +00:00
Amine Khaldi 2d650203c1 [FREELDR][SETUPLDR]
* Prepare the CMake script for PCH.
* Add header guards to pcbios.h.
CORE-7716

svn path=/trunk/; revision=62128
2014-02-12 11:37:40 +00:00
Timo Kreuzer 5a930877dd [FREELDR]
Improve performance of registry enumeration by returning the enumerated subkey in RegEnumKey, instead of searching it by name again.

svn path=/trunk/; revision=62079
2014-02-09 18:05:00 +00:00
Amine Khaldi 19f72d7cc5 [FDEBUG]
* Add Albanian translation. By Ardit Dani.
[ACLUI]
* Enable the Albanian translation.
CORE-7868 #resolve #comment Committed in r62064. Thanks !

svn path=/trunk/; revision=62064
2014-02-09 10:52:09 +00:00
Amine Khaldi c95a650a7e [FREELDR]
* Fix MSVC x64 build.

svn path=/trunk/; revision=61891
2014-01-30 19:05:54 +00:00
Timo Kreuzer 1ae9a47dbe [FREELDR] Modify UiMessageBox so that it allows to pass a format string and parameters. Make use of it in WinLdrLoadBootDrivers to show the file that couldn't be loaded.
svn path=/trunk/; revision=61625
2014-01-14 20:12:07 +00:00
Timo Kreuzer 9f1bf9ce45 [FREELDR/CMLIB]
Update Copyright year and fix GCC build

svn path=/trunk/; revision=61596
2014-01-12 21:55:20 +00:00
Timo Kreuzer 43e433ed3f [FREELDR]
Completely rewrite the registry code.
The old code was first loading the system hive and parsing it, duplicating each and every key and value into a custom freeldr specific registry format and used the latter to access the data. This was extremely slow when larger hive files (the one from a normal win 2003 installation is 2.5 MB vs 250kb in reactos) were imported. The new code uses the hive data directly. It's less code, faster and uses much less memory.
In the same move, refactor some mkhive code and move it into cmlib to be shared with freeldr.

svn path=/trunk/; revision=61595
2014-01-12 21:37:29 +00:00
Timo Kreuzer eada6279cd [FREELDR]
Improve heap allocations by using tags and using the temp heap for all temporary allocations that will not be used by the kernel. This avoids heap fragmentation for the default heap. Increase the temp heap size to 32 MB and limit the size of the cache to the temp heap size minus 128 KB to avoid exhausting the heap with cache data. See CORE-4413.
This commit is dedicated to Ronja, my beloved cat who passed away on 5th of December. Rest in peace, little Schnuppel.

svn path=/trunk/; revision=61428
2013-12-26 16:58:56 +00:00
Amine Khaldi 1d683c049c [FREELDR]
* Include the proper header instead of incompatibly redefining a type.

svn path=/trunk/; revision=61306
2013-12-19 22:49:16 +00:00
Dmitry Gorbachev 66d21d8cd9 Update FreeLdr linker script file. Remove unused files.
svn path=/trunk/; revision=61262
2013-12-12 16:52:49 +00:00
Amine Khaldi 41ad7cd512 [TRANSLATIONS]
* Turkish translation update by Erdem Ersoy.
CORE-7408

svn path=/trunk/; revision=61165
2013-12-01 10:32:23 +00:00
Amine Khaldi 98a97ec484 [FDEBUG]
* Improve resource files.
CORE-7637

svn path=/trunk/; revision=61127
2013-11-28 22:11:26 +00:00
Eric Kohl 15490461a1 [TRANSLATIONS]
Apply turkish translations. Patch by Erdem Ersoy.
Fixed typo in dll\cpl\inetcpl\lang\tr-TR.rc.

CORE-7408 #comment Turkish translations applied in r60915. Thanks a lot!

svn path=/trunk/; revision=60915
2013-11-10 14:47:03 +00:00
Hermès Bélusca-Maïto 11d262db2f [FREELDR:HEADLESS]: Code formatting only.
svn path=/trunk/; revision=60673
2013-10-14 20:47:04 +00:00
Amine Khaldi 48f8139061 [FREELDR]
* Use the FrLdr prefix with the heap functions to avoid any ambiguities.

svn path=/trunk/; revision=60654
2013-10-13 23:14:40 +00:00
Amine Khaldi 136add67b0 * Remove deprecated resource file loading and memory attributes (http://msdn.microsoft.com/en-us/library/aa380908.aspx).
CORE-7471 #resolve

svn path=/trunk/; revision=60650
2013-10-13 22:31:17 +00:00
Amine Khaldi c6121ed1c9 [FRELDR/SETUPLDR]
* Simplify these checks now that we have RosBE 2.1.

svn path=/trunk/; revision=60240
2013-09-20 10:22:11 +00:00
Amine Khaldi ef6f0236bf [FRELDR/SETUPLDR]
* Rossym was not even used here apparently. Don't link to it.

svn path=/trunk/; revision=60239
2013-09-20 10:07:28 +00:00
Amine Khaldi c8391a5ec5 * Addendum to r60223.
svn path=/trunk/; revision=60224
2013-09-19 22:37:52 +00:00
Amine Khaldi 9c89f3fe80 * Turkish translation update and improvements by Erdem Ersoy.
CORE-7408

svn path=/trunk/; revision=60220
2013-09-19 22:08:50 +00:00
Hermès Bélusca-Maïto 795ebaa8b8 [FREELDR-KDCOM-KDBG]
Fix debugging issues.

svn path=/trunk/; revision=59921
2013-08-31 15:01:50 +00:00
Alex Ionescu a93ca08cdc [CPORTLIB/KDBG/FREELDR]: Fix CpGetByte and its callers -- it takes a 4th parameter for polling.
[NTOSKRNL]: Implement InbvPortPollOnly and InbvPortGetByte.
[NTOSKRNL]: Implement HeadlessCmdClearDisplay and HeadlessCmdGetByte.
[SACDRV]: Implement the TimerDpcRoutine which calls HeadlessCmdGetByte. We now consume characters in the EMS port.
[SACDRV]: Implement ConMgrSerialPortConsumer. We now do full VT-100 input parsing. DEL, BS, TAB, SPACE all work. Pressing ENTER results in an ASSERT in ConMgrProcessLine as expected.

svn path=/trunk/; revision=59772
2013-08-18 17:47:19 +00:00
Alex Ionescu f762bc3a74 [USETUP]: Add an entry in freeldr.ini for EMS testing.
[HIVESYS]: Fix double-addition of "nmidebug". One of those should have been "sacdrv".
[FREELDR]: Fix bugs in WinLdrSetupEms which caused an invalid HEADLESS_LOADER_BLOCK to be created.
[FERELDR]: Move WinLdrSetupEms in LoadWindowsCommon, so that setupldr can use EMS too.

svn path=/trunk/; revision=59716
2013-08-13 03:11:02 +00:00
Hermès Bélusca-Maïto fabb499491 [FREELDR]
Fix extended and control characters handling in text-boxes. We don't show anymore strange characters when pressing on, e.g. up or down arrows anymore.
Also, fix uppercase 'o' character (which has the same scan code but is not an extended key, as the End key).
The culprit revision which introduced this bug is r58658.

CORE-7323 #resolve #comment The uppercase 'o' problem is fixed in revision r59373. Thanks for your report :)

svn path=/trunk/; revision=59373
2013-06-29 20:22:36 +00:00
Sylvain Petreolle e29102f914 [FREELDR]
Take in account the boot disk in the number of detected disks.
It allows booting without a hard disk (e.g cdrom/floppy alone with an USB storage device)

svn path=/trunk/; revision=59079
2013-05-24 12:24:27 +00:00
Sylvain Petreolle 44787d9e81 [FREELDR]
Convert TABs to spaces, no code changes.

svn path=/trunk/; revision=59078
2013-05-24 12:20:13 +00:00
Timo Kreuzer b70c15e6b4 [FREELDR]
Fix stack corruption.

svn path=/trunk/; revision=58984
2013-05-10 17:49:48 +00:00
Hermès Bélusca-Maïto 91ef640fe5 Merge my current work done on the kd++ branch:
- FreeLdr is able now to load personalized Kernel Debugger Transport DLLs by reading at the kernel command line and interpreting the /DEBUGPORT=xxx entry (--> loads KDxxx.DLL dll in \SystemRoot\System32\).
  Therefore we can not only load the "default" kdcom.dll, but also 3rd-party ones such as kdbazis.dll from VirtualKD (from revision 58902).
- The GCC-compiled-only version of kdcom, containing legacy COM code, was removed and put directly along KDBG. It remains only a stub / template for future kdcom-like dlls. The MSVC-version remains untouched.
- Make those functions ^ use directly the CPORTLIB library.

svn path=/trunk/; revision=58974
2013-05-09 13:12:58 +00:00
Hermès Bélusca-Maïto e1ef078741 Create this branch to work on loading of different Kernel-Debugger DLL providers, and see whether it is possible to move KDBG from ntoskrnl to a new DLL called, say, KDROSDBG.DLL.
The idea then would be to have the following behaviour (when specifying the following options in the kernel command line):

/DEBUGPORT=COMi --> load KDCOM.DLL and use COMi port (i == 1,2,3,4) if possible.
/DEBUGPORT=FOO  --> load KDFOO.DLL (useful for KDUSB.DLL, KD1394.DLL, KDBAZIS.DLL for VirtualKD, etc...)
/DEBUGPORT=ROSDBG:[COMi|SCREEN|FILE|GDB|...] --> load KDROSDBG.DLL which contains the ROS kernel debugger, and use COMi or SCREEN or... as output port.

svn path=/branches/kd++/; revision=58883
2013-04-28 13:26:45 +00:00
Timo Kreuzer 6090c3ee06 [FREELDR]
When generating the memory descriptor list, do not map the pages at the same time, since that requires allocating page tables, which will alter the state of pages, that might already have been processed. Instead map everything beforehand. This has not had any impact on x86, since the pfn database initialization code mindlessly adds all mapped pages as valid, even if they were reported as free by the OS loader. But proper Mm code does not necessarily do this.

svn path=/trunk/; revision=58760
2013-04-14 18:41:54 +00:00
Hermès Bélusca-Maïto 157aa32663 [REACTOS]
Correct spelling of "receive" throughout the codebase.
Patch by andygui.

CORE-7062 #resolve #comment Fixed in revision r58744. Thanks :)

svn path=/trunk/; revision=58744
2013-04-13 21:28:10 +00:00
Hermès Bélusca-Maïto 645b7d2b00 [REACTOS]
Fix TOO MANY !! :(((( "initialize" misspellings.

Note1: One remains in subsystems/csr/csrsrv/init.c, but will be corrected in my future csrss branch merging.
Note2: In ntoskrnl/se/semgr.c, one tries to create the "LSA_AUTHENTICATION_INITALIZED" event. This is ROS-SPECIFIC !!!! In the sense that it doesn't exist on Windows. Instead, the "LSA_AUTHENTICATION_INITIALIZED" exists. Correct that fact.

svn path=/trunk/; revision=58679
2013-04-04 20:11:17 +00:00
Hermès Bélusca-Maïto 26895da7e6 [REACTOS]
Fix spelling of 'length' in various places.
Patch by andygui

Concerning kdio.c, we can see that the original author didn't see his misspelling since he used two different variables named:
KdpScreenLineLength and KdpScreenLineLenght ! ; the latter being renamed here KdpScreenLineLengthDefault to make the difference.

CORE-7043 #comment Part for ReactOS committed in r58672, thanks!

svn path=/trunk/; revision=58672
2013-04-04 19:29:36 +00:00
Hermès Bélusca-Maïto e98477b609 [FREELDR]
- Further improve FreeLdr's edit-boxes editing capabilities, by supporting insert-mode (only at the moment), backspace and delete to remove a character, moving left or right, going to the beginning or to the end of the string.
- Add a helper function DrawText2 to allow for displaying partial string (giving a maximum number of characters to display).

Enjoy :)

svn path=/trunk/; revision=58658
2013-04-02 22:49:03 +00:00
Hermès Bélusca-Maïto 1cac15db4b [FREELDR]
Add support for HOME and END keys in menus, and allow going to the end (resp. to the beginning) if we are on the first (resp. on the last) item and we press up (resp. down).
Enjoy :)

svn path=/trunk/; revision=58635
2013-04-01 19:31:32 +00:00
Timo Kreuzer 4e62a422f8 [FREELDR]
- Set bugcheck data when the image is corrupt
- Add 2 more useful debug constants: DEBUG_WARN and DEBUG_ERR
- Use COM2 for debug output when _WINKD_ is defined
- Fix amd64 boot

svn path=/trunk/; revision=58606
2013-03-24 17:09:03 +00:00
Timo Kreuzer 3f4e9dfa3d [FREELDR]
Fix amd64 build

svn path=/trunk/; revision=58595
2013-03-23 21:20:00 +00:00
Amine Khaldi 5dfaa3991c [FREELDR]
* Fix a format specifiers.

svn path=/trunk/; revision=58504
2013-03-15 14:51:02 +00:00
Timo Kreuzer 68996416a7 [FREELDR]
Fix a typo in arm code that I introduced, spotted by Thomas.

svn path=/trunk/; revision=58370
2013-02-25 20:11:40 +00:00