Commit Graph
830 Commits
Author SHA1 Message Date
Amine Khaldi a69a0b3244 [HAL]
* Remove one time inclusions from the main header and put them back where they belong.
CORE-7716

svn path=/trunk/; revision=61956
2014-02-03 10:58:33 +00:00
Christoph von Wittich e9741e1328 [halx86]
fix vendor name lookup - MegaRAID SAS 8480E VGA controllers does not exist (yet)

svn path=/trunk/; revision=61620
2014-01-13 20:09:12 +00:00
Amine Khaldi b9190f50ba [HAL/*]
* Improve resource files.
CORE-7637

svn path=/trunk/; revision=61137
2013-11-28 22:27:43 +00:00
Hermès Bélusca-Maïto 8109301ade [HAL][PCIX]: Finish to put \r\n for Hal\InbvDisplayStrings. Part 3/3.
svn path=/trunk/; revision=60657
2013-10-13 23:37:11 +00:00
Amine Khaldi 67e54eab08 [HAL]
* Simplify these checks now that we have RosBE 2.1.

svn path=/trunk/; revision=60241
2013-09-20 10:26:05 +00:00
Hermès Bélusca-Maïto 32bb8a377c [HAL]
Update the PCI hardware IDs. Extracted from the pci.ids database from http://pciids.sourceforge.net/ from 2013.07.20
Maintained by Martin Mares <[email protected]> and other volunteers from the PCI ID Project at http://pci-ids.ucw.cz/.

svn path=/trunk/; revision=59551
2013-07-21 23:03:04 +00:00
Amine Khaldi 2841da1b46 [CMAKE]
* Add some missing order only dependencies.

svn path=/trunk/; revision=59040
2013-05-19 13:43:47 +00:00
Amine Khaldi 46483ced1a [HAL]
* Account for the asm source files in all the HAL flavors. Should fix compiling them with VS (which regressed recently).

svn path=/trunk/; revision=58862
2013-04-26 22:31:07 +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
Timo Kreuzer 0351bb4f27 [HAL]
Link to libgcc, hopefully fixes build for Pierre

svn path=/trunk/; revision=58602
2013-03-24 13:27:52 +00:00
Timo Kreuzer e66df55a54 [HAL]
Fix the mess that was our hal CMakeLists.txt. Seperate all components into their own cmake files, 

svn path=/trunk/; revision=58594
2013-03-23 21:15:28 +00:00
Hermès Bélusca-Maïto d0fa874320 Remove the unneeded $Id$ blabla from the source code. (Part 2/N)
svn path=/trunk/; revision=58500
2013-03-14 21:04:13 +00:00
Hermès Bélusca-Maïto 0823512b4a - Remove ALL the unneeded "author date id revision" svn properties.
- Remove the erroneous svn:eol-syle or svn:eol-stlye properties (and replace them by svn:eol-style)

svn path=/trunk/; revision=58489
2013-03-13 23:50:08 +00:00
Timo Kreuzer e70f0c092c [HAL]
Add more missing asm dependencies

svn path=/trunk/; revision=58349
2013-02-22 13:41:29 +00:00
Timo Kreuzer a7931f3d82 [HAL]
Add missing asm dependency

svn path=/trunk/; revision=58333
2013-02-17 14:36:30 +00:00
Thomas Faber 5b8e0f3d80 [HAL]
- Fix missing dependency on asm in GCC object library build
CORE-6941 #resolve

svn path=/trunk/; revision=58288
2013-02-05 12:03:56 +00:00
Hermès Bélusca-Maïto cb2a5efc11 [REACTOS]
Fix the debugging macros introduced in r58132 (for the _FATAL case):
do not use exceptions but instead a breakpoint followed by a process termination procedure (or a bugcheck if we are in kernel mode).
Feel free to improve them !!

[DRIVERS-HAL]
Finish to use the new debugging macros

Part 3/3

svn path=/trunk/; revision=58154
2013-01-10 01:45:22 +00:00
Amine Khaldi 8ca80bb2cb * Visual Studio IDE support bringup. We can now even compile bootcd/livecd...etc straight from the IDE.
* For anyone who wants to work only on a certain module (or a set of modules), you can add "project(module)" to the related CMake file. This will generate a solution that contains all the required dependencies needed to compile only that module, without having to open a huge solution with 900+ projects.
* We'll create a wiki page to explain how to use this in detail.
* Dedicated to all VS users. Have fun ;)

svn path=/trunk/; revision=58141
2013-01-08 20:33:08 +00:00
Hermès Bélusca-Maïto b70845423e while (TRUE); (when something is unimplemented) ---> ASSERT(FALSE); // while (TRUE); (unless we deal with a 'noreturn' function),
and in some cases, return an adequate value.

Part 1/2

svn path=/trunk/; revision=58110
2013-01-04 11:47:19 +00:00
Timo Kreuzer 2cdf5f5ce0 [HAL]
Fix / silence some warnings/errors detected with VS-analyze

svn path=/trunk/; revision=57941
2012-12-18 09:52:07 +00:00
Amine Khaldi ba83a0794e [HAL]: Automatically generate the embedded PCI database. By Hermès Bélusca with improvements from me.
CORE-6654 #resolve #comment Patch committed. Thanks !

svn path=/trunk/; revision=57297
2012-09-14 13:14:47 +00:00
Amine Khaldi 5810d8370f [HAL]
* Don't compile lib_hal_pic for x64. Brought to you by Hermès Bélusca.
See issue #7309 for more details.

svn path=/trunk/; revision=57182
2012-08-27 21:24:22 +00:00
Amine Khaldi 2a0e108e5b [CMAKE]
* Prefer STREQUAL over MATCHES since we're comparing with strings here. Brought to you by Hermès Bélusca.
See issue #7306 for more details.

svn path=/trunk/; revision=57181
2012-08-27 18:58:27 +00:00
Amine Khaldi 56747bcf8f [HAL]
* Leverage the object library option provided by CMake 2.8.8+ which will speed up the build even further.
* Compared strings using STREQUAL.
* These wrapping conditions will go away as soon as we ship the new BE.

svn path=/trunk/; revision=56909
2012-07-17 14:11:49 +00:00
Timo Kreuzer efff43afd5 [HAL]
Fix MSVC / 64 bit warnings

svn path=/trunk/; revision=56260
2012-03-28 12:15:54 +00:00
Stefan Ginsberg 18748efb4b - Revert hack.
svn path=/trunk/; revision=56237
2012-03-26 14:51:03 +00:00
Stefan Ginsberg 26eb754f31 Remove remnant of old boot method.
svn path=/trunk/; revision=56228
2012-03-25 16:57:10 +00:00
Pierre Schweitzer b8a181d6f3 [HALX86]
Revert r56080
Fix the fix of r56090

svn path=/trunk/; revision=56099
2012-03-10 07:38:25 +00:00
Stefan Ginsberg 1016fc25ff - Fix DBG macro AGAIN which got broken during the switch to cmake. Checked build: DBG = 1, free build: DBG = 0. Noobs.
svn path=/trunk/; revision=56090
2012-03-08 09:18:28 +00:00
Jérôme Gardou 4bdb6a42f2 [CMAKE]
* unify spec2def and add_importlib_target
* use module name instead of spec file name for deciding importlib target name

svn path=/trunk/; revision=56081
2012-03-07 21:21:27 +00:00
Pierre Schweitzer 92de8cffa3 [HALX86]
Fix halx86 release build

svn path=/trunk/; revision=56080
2012-03-07 21:19:30 +00:00
Stefan Ginsberg 5001cb2608 - Stop using ObfXXX and IofXXX in C code. This is bad style. Always use the non-f versions in C code.
- Fix the way we undefined IoCallDriver and IoCompleteRequest so existing and future code in irp.c will use the correct function when using the Io* versions.
Part 1 of 2.

svn path=/trunk/; revision=56060
2012-03-05 20:43:47 +00:00
Amine Khaldi 818418643e * Rbuild, our build system, has served us well so far, but its usefulness has since been vastly overshadowed by its awfulness. It's time to fix it.
svn path=/trunk/; revision=55855
2012-02-25 17:23:37 +00:00
Amine Khaldi 459a045652 [CMAKE]
* Simplify the way we handle importlib targets by taking control of the importlib name.

svn path=/trunk/; revision=55764
2012-02-20 22:08:14 +00:00
Alex Ionescu d68458a259 [NTOSKRNL]: Implement ThreadBreakOnTermination for the SET case.
Cleanup some dbgprints.

svn path=/trunk/; revision=55693
2012-02-19 02:24:52 +00:00
Amine Khaldi 87a7ba545c * Get rid of $Id$ usage and the related svn property.
svn path=/trunk/; revision=55685
2012-02-18 22:57:24 +00:00
Cameron Gutman 684eccd71e [HAL]
- Don't send a bogus bus number (-1) to the PCI driver because then it tries to scan that bus and obviously doesn't find anything
- Legacy HAL can now enumerate boot critical PCI devices (like the USB controller) and build the device stack for USB boot
[HIVESYS]
- Missed this spot where usbhub is installed for an external hub causing a crash

svn path=/trunk/; revision=55652
2012-02-16 23:08:05 +00:00
Cameron Gutman 022f4b2ce5 [USB]
- We proudly merge the first charge of the usb-bringup branch. We do want to stress hardware support is still under heavy development and testing in real hardware is experimental
- Merge the Human Interface Device Stack(HID) which is used for mice / keyboards and other devices which use the USB interface, consisting of hidusb, hidparse, hidclass, mouhid, kbdhid
- Merge the composite driver, supports USB composite devices, laid out in usbccgp
- Merge the generic hub driver, which supports the USB root hub and in future USB hubs. Driver is usbhub
- Merge the Open Host Controller Interface driver (ohci)
- Merge the Enhanced Host Controller Interface driver (ehci)
- Merge the many fixes in other areas of ReactOS needed for USB to work (ntoskrnl, pci, inf, umpnpmgr, usetup)
- Special thanks goes the Haiku team, whose excellent code has provided a great base for the development of the new ReactOS USB / HID stack
- The development of the USB stack has shown the great potential when ReactOS developers team up together to achieve a common goal. The involved developers are here, listed alphabetically:

Alex Ionescu
Amine Khaldi
Cameron Gutman
Johannes Anderwald
Michel Martin
Thomas Faber
Thomas Lotz(Haiku)

Let's start the ReactOS revolution

svn path=/trunk/; revision=55555
2012-02-12 04:59:51 +00:00
Timo Kreuzer a713dd0ea3 [HAL]
Fix syntax, patch by Victor Martinez

svn path=/trunk/; revision=55496
2012-02-08 18:29:08 +00:00
Timo Kreuzer 83904f66db [NTOSKRNL]
- Add MM_HAL_VA_END and use it in MiAddHalIoMappings instead of making assumptions about the page tables
- Add MM_SHARED_USER_DATA_VA for x86
- use MM_SHARED_USER_DATA_VA in Mm to avoid ambiguities
- fix or comment out USER_SHARED_DATA in asm headers, as it should be the kernel mode address here
- set Teb->ExceptionList to NULL on amd64, it is used as a link to the Wow64 TEB, if any

svn path=/trunk/; revision=55445
2012-02-06 00:24:31 +00:00
Cameron Gutman c2d0d784c7 [USB-BRINGUP-TRUNK]
- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup
- In the future, DO NOT under any circumstances branch another branch. This leads to merge problems!

svn path=/branches/usb-bringup-trunk/; revision=55018
2012-01-20 20:58:46 +00:00
Thomas Faber af2d1c6f98 [HAL] - Do not truncate PCI device names in debug dump; misc fixes
[PCI] - Get rid of some magic numbers

svn path=/trunk/; revision=55015
2012-01-20 19:53:00 +00:00
Timo Kreuzer 2191cf1a2d [HAL]
- Implement IrqlToSoftVector() macro and use it in HalRequestSoftwareInterrupt, so that on amd64 the correct interrupt is triggered.
- Really start at the lowest vector for the IRQL in HalpAllocateSystemInterrupt
- Small code refactoring

svn path=/trunk/; revision=55014
2012-01-20 16:32:43 +00:00
Amine Khaldi 4696a40648 [HAL]
* Timo Kreuzer: Fix a NULL pointer dereference. CID 13453.

svn path=/trunk/; revision=54487
2011-11-24 11:25:40 +00:00
Jérôme Gardou 2ffaaef5e6 [HALx86]
- Fix the fix (do not truncate ULONGLONG value)

svn path=/trunk/; revision=54472
2011-11-21 12:30:01 +00:00
Jérôme Gardou f02069cdbe [HALx86]
- Hey Arch, it's an USHORT!

svn path=/trunk/; revision=54471
2011-11-21 12:17:57 +00:00
Jérôme Gardou 2a0fd0c988 [HALx86]
- fix various compiler warnings (msvc)
- fix a bug, where only the last IO map entry would be saved

svn path=/trunk/; revision=54470
2011-11-21 12:04:16 +00:00
Jérôme Gardou 3808ea2f30 [HAL]
- truncate PCI vendor id instead of casting it.
MSVC chokes on it with /RTCc

svn path=/trunk/; revision=54461
2011-11-20 17:54:52 +00:00
Cameron Gutman aefaa2f4f9 [HALX86]
- Do not allow software interrupts to preempt code running with interrupts disabled during KfLowerIrql

svn path=/trunk/; revision=54418
2011-11-18 18:53:41 +00:00
Cameron Gutman 7407aba5cf [HAL]
- Remove broken map register "prefetcher" code
- Check that we have enough space to grow our map registers
- Fix a bad hint to RtlFindClearBitsAndSet
- Queuing the grow work item is non-vital; treat it as such
- Fixes BSOD with CM3738 and VIA1723 sound cards [bug 6657]

svn path=/trunk/; revision=54382
2011-11-15 07:58:46 +00:00