Aleksey Bragin [Fri, 14 Dec 2007 13:02:39 +0000 (13:02 +0000)]
- Add debugging macros support to CmLib (to use, set the CmlibTraceLevel debugging mask in cminit.c).
- Add tracing to hivecell.c.
svn path=/trunk/; revision=31213
Johannes Anderwald [Fri, 14 Dec 2007 12:25:15 +0000 (12:25 +0000)]
- add resources for folder options cpl
svn path=/trunk/; revision=31212
Hervé Poussineau [Fri, 14 Dec 2007 11:32:18 +0000 (11:32 +0000)]
Add back support for function pointers override in HalDispatchTable structure
Fixes detection of Xbox disk partitioning
svn path=/trunk/; revision=31211
Johannes Anderwald [Fri, 14 Dec 2007 11:12:57 +0000 (11:12 +0000)]
- part of 2/2 of bulgarian translation update
See issue #2886 for more details.
svn path=/trunk/; revision=31210
Hervé Poussineau [Fri, 14 Dec 2007 11:12:55 +0000 (11:12 +0000)]
Add missing forward declaration.
Thanks Fireball to debug this issue!
svn path=/trunk/; revision=31209
Johannes Anderwald [Fri, 14 Dec 2007 11:11:44 +0000 (11:11 +0000)]
- part of 1/2 of bulgarian translation update
See issue #2886 for more details.
svn path=/trunk/; revision=31208
Hervé Poussineau [Fri, 14 Dec 2007 08:53:56 +0000 (08:53 +0000)]
Remove HALP_HOOKS structure
Revert r31198 and part of r31194, and replace them by compile-time define in pci.c
Don't use one rbuild file per hal, but merge them into one
Share halinit.c between UP and MP versions
svn path=/trunk/; revision=31207
Gregor Brunmar [Fri, 14 Dec 2007 07:13:21 +0000 (07:13 +0000)]
* Added helper function to read Direct3D registry properties
* Started implementing Direct3DCreate9
svn path=/trunk/; revision=31206
Johannes Anderwald [Thu, 13 Dec 2007 23:11:24 +0000 (23:11 +0000)]
- fix a bug showing the same dialog twice in rev 31173
See issue #2888 for more details.
svn path=/trunk/; revision=31205
James Tabor [Thu, 13 Dec 2007 20:27:28 +0000 (20:27 +0000)]
Up the handle count to 0x10000, reset adjustment to support change. Add device capabilities to handle table.
svn path=/trunk/; revision=31204
James Tabor [Thu, 13 Dec 2007 18:34:46 +0000 (18:34 +0000)]
Thanks Timo! I have updated the information too.
svn path=/trunk/; revision=31203
Hervé Poussineau [Thu, 13 Dec 2007 17:23:03 +0000 (17:23 +0000)]
[FORMATTING] Fix formatting, no code change
svn path=/trunk/; revision=31202
Daniel Reimer [Thu, 13 Dec 2007 17:03:01 +0000 (17:03 +0000)]
OK, this has no right to be in here... "as developed primarily through reverse-engineering of the original MS bios and its boot process."
A diff will be provided in the future.
svn path=/trunk/; revision=31201
Johannes Anderwald [Thu, 13 Dec 2007 16:15:43 +0000 (16:15 +0000)]
- implement displaying and showing language dialog
- rename all translated entries in de-DE.h because gcc doesnt understand the scope of static
- add basic language dialog - feel free to improve design, layout etc
svn path=/trunk/; revision=31200
Daniel Reimer [Thu, 13 Dec 2007 16:13:30 +0000 (16:13 +0000)]
Move cromwell in the right folder.
svn path=/trunk/; revision=31199
Hervé Poussineau [Thu, 13 Dec 2007 16:06:12 +0000 (16:06 +0000)]
Forgot a change in r31194
svn path=/trunk/; revision=31198
Magnus Olsen [Thu, 13 Dec 2007 15:55:26 +0000 (15:55 +0000)]
updated d3d9_private.h with some more info
svn path=/trunk/; revision=31197
Hervé Poussineau [Thu, 13 Dec 2007 15:44:17 +0000 (15:44 +0000)]
Call HAL-specific initialization handlers
svn path=/trunk/; revision=31196
Hervé Poussineau [Thu, 13 Dec 2007 15:35:27 +0000 (15:35 +0000)]
display.c contains only empty functions, it has no reason to not be shared accross all HALs
svn path=/trunk/; revision=31195
Hervé Poussineau [Thu, 13 Dec 2007 15:34:02 +0000 (15:34 +0000)]
Use PBUS_HANDLER->Get/SetBusData function pointers to call PCI bus handler
Update Xbox PCI bus management after HAL changes
Fix typo
svn path=/trunk/; revision=31194
Daniel Reimer [Thu, 13 Dec 2007 15:01:21 +0000 (15:01 +0000)]
German Translation for usetup.
svn path=/trunk/; revision=31193
Daniel Reimer [Thu, 13 Dec 2007 13:47:31 +0000 (13:47 +0000)]
Commited the modified Cromwell/Xromwell Loader Version 2.33-DEV which is able to boot ReactOS from a Microsoft XBox (not 360). Thank goes out to GvG for send it to me.
svn path=/trunk/; revision=31192
Magnus Olsen [Thu, 13 Dec 2007 12:31:05 +0000 (12:31 +0000)]
Add D3D COM to ddraw (dx1)
svn path=/trunk/; revision=31191
James Tabor [Thu, 13 Dec 2007 08:51:02 +0000 (08:51 +0000)]
Add device caps and width data structures.
svn path=/trunk/; revision=31190
Magnus Olsen [Thu, 13 Dec 2007 02:02:15 +0000 (02:02 +0000)]
patch from Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth)
fix one fixme in createsurface.c support more that only dx7 surface in createsurface.c
svn path=/trunk/; revision=31189
Magnus Olsen [Thu, 13 Dec 2007 01:55:06 +0000 (01:55 +0000)]
add support for IID_IDirectDrawColorControl, IsEqualGUID(&IID_IDirectDrawGammaControl, IID_IDirectDrawSurfaceKernel
we are getting thues stubs api now from ddraw vtable now when some calls to surface_QueryInterface api
svn path=/trunk/; revision=31188
Magnus Olsen [Thu, 13 Dec 2007 01:49:13 +0000 (01:49 +0000)]
update dxguid to match dxsdk 2004 dec
add two guids that does not belong to dxguid for they are need it for ddraw
svn path=/trunk/; revision=31187
Aleksey Bragin [Wed, 12 Dec 2007 21:15:17 +0000 (21:15 +0000)]
- Silence memory descriptors output, since it works good now.
- Silence pci.sys's debugging message.
svn path=/trunk/; revision=31186
Aleksey Bragin [Wed, 12 Dec 2007 20:29:09 +0000 (20:29 +0000)]
- Remove zeroing of PartialResourceList's fields (we allocate without that list).
- Sync SetupLDR's BIOS MMap-code with FreeLDR's, fixes the "Total: 0A (0 MB") problem in bootcds.
svn path=/trunk/; revision=31185
Aleksey Bragin [Wed, 12 Dec 2007 17:04:50 +0000 (17:04 +0000)]
- Don't ignore empty resource descriptors (they still may have BusNumber info).
- Change pci identifier from "PCI BIOS" to "PCI", so that PCI buses reported by the loader are discovered now.
svn path=/trunk/; revision=31184
Magnus Olsen [Wed, 12 Dec 2007 15:01:25 +0000 (15:01 +0000)]
patch from Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth)
design cleanup bit.
fix so each directdraw surface got own directdraw surface vtable.
For some api are new in some version and some functions have more param or different struct in newer directdraw surface
svn path=/trunk/; revision=31183
Hervé Poussineau [Wed, 12 Dec 2007 12:08:11 +0000 (12:08 +0000)]
Remove useless test
svn path=/trunk/; revision=31182
Hervé Poussineau [Wed, 12 Dec 2007 11:42:20 +0000 (11:42 +0000)]
Remove hack
svn path=/trunk/; revision=31181
Hervé Poussineau [Wed, 12 Dec 2007 11:41:38 +0000 (11:41 +0000)]
Get SeRestorePrivilege before calling RegLoadKey
svn path=/trunk/; revision=31180
Christoph von Wittich [Wed, 12 Dec 2007 09:17:59 +0000 (09:17 +0000)]
only clear it when the buffer is valid
svn path=/trunk/; revision=31179
The Wine Synchronizer [Wed, 12 Dec 2007 08:52:08 +0000 (08:52 +0000)]
Autosyncing with Wine HEAD
svn path=/trunk/; revision=31178
Art Yerkes [Wed, 12 Dec 2007 07:43:07 +0000 (07:43 +0000)]
Add simple hardware.h for ppc.
svn path=/trunk/; revision=31177
Thomas Bluemel [Wed, 12 Dec 2007 07:04:12 +0000 (07:04 +0000)]
Add support for trustees with objects (building object ACEs is not yet implemented)
svn path=/trunk/; revision=31176
James Tabor [Wed, 12 Dec 2007 06:12:02 +0000 (06:12 +0000)]
Temporarily implement GWL_HWNDPARENT in user mode.
svn path=/trunk/; revision=31175
James Tabor [Wed, 12 Dec 2007 02:29:21 +0000 (02:29 +0000)]
A partial implementation of NtGdiCreate/DeleteClientObj.
svn path=/trunk/; revision=31174
Johannes Anderwald [Wed, 12 Dec 2007 00:05:00 +0000 (00:05 +0000)]
- move some hardcoded strings to header en-US.h
- move PAGE_NUMBER to usetup.h
- start multiple language input support for usetup
svn path=/trunk/; revision=31173
Aleksey Bragin [Tue, 11 Dec 2007 21:52:12 +0000 (21:52 +0000)]
- Fix default buffer size for user-mode RtlQueryRegistryValues queries, this removes warnings on debug log about buffer being too small (it was!).
- Remove ARC tree dump since this code has now been proven to work.
- Sync PointerFree with WINE, removing the unhandled data type=warning.
svn path=/trunk/; revision=31172
Aleksey Bragin [Tue, 11 Dec 2007 21:34:04 +0000 (21:34 +0000)]
- Two more leftovers.
svn path=/trunk/; revision=31171
Aleksey Bragin [Tue, 11 Dec 2007 21:25:10 +0000 (21:25 +0000)]
- Reshuflle baseaddresses so no relocations occur during booting.
- Give beepmidi.dll a baseaddress.
- Silence non-critical trace-style messages in umpnpmgr and in the kernel.
svn path=/trunk/; revision=31170
Gregor Brunmar [Tue, 11 Dec 2007 21:02:03 +0000 (21:02 +0000)]
Added an older still valid version of the D3D9 SDK
svn path=/trunk/; revision=31169
Gregor Brunmar [Tue, 11 Dec 2007 20:53:17 +0000 (20:53 +0000)]
* Fixed d3d9.dll stubs
* Added first draft of IDirect3D9 implementation based on greatlrd's work
svn path=/trunk/; revision=31168
Gregor Brunmar [Tue, 11 Dec 2007 20:37:55 +0000 (20:37 +0000)]
Added debug version of IDirect3D9 interface
svn path=/trunk/; revision=31167
Dmitry Chapyshev [Tue, 11 Dec 2007 20:07:27 +0000 (20:07 +0000)]
- Update English and Russian translation
svn path=/trunk/; revision=31166
Hervé Poussineau [Tue, 11 Dec 2007 20:07:04 +0000 (20:07 +0000)]
Don't create a key name with a final \0
svn path=/trunk/; revision=31165
Dmitry Chapyshev [Tue, 11 Dec 2007 19:31:44 +0000 (19:31 +0000)]
- Update English and Russian translation
svn path=/trunk/; revision=31164
Thomas Bluemel [Tue, 11 Dec 2007 19:26:28 +0000 (19:26 +0000)]
Remove comment, SetEntriesInAcl is now (partly) implemented
svn path=/trunk/; revision=31163
Dmitry Chapyshev [Tue, 11 Dec 2007 19:17:03 +0000 (19:17 +0000)]
- Update Russian translation
svn path=/trunk/; revision=31162
Thomas Bluemel [Tue, 11 Dec 2007 18:56:55 +0000 (18:56 +0000)]
Fix a memory leak in AccpLookupSidByName
svn path=/trunk/; revision=31161
Thomas Bluemel [Tue, 11 Dec 2007 18:54:23 +0000 (18:54 +0000)]
Implement looking up a named trustee's sid
svn path=/trunk/; revision=31160
Aleksey Bragin [Tue, 11 Dec 2007 18:48:52 +0000 (18:48 +0000)]
- A message about LdrGetExportByName() is not critical, so downgrade it from DPRINT1 to DPRINT.
svn path=/trunk/; revision=31159
Aleksey Bragin [Tue, 11 Dec 2007 18:31:13 +0000 (18:31 +0000)]
- Silence non-critical debug output.
svn path=/trunk/; revision=31158
Thomas Bluemel [Tue, 11 Dec 2007 17:52:30 +0000 (17:52 +0000)]
Fix a buffer overflow accessing the pKeepAce array in AccRewriteSetEntriesInAcl
svn path=/trunk/; revision=31157
Thomas Bluemel [Tue, 11 Dec 2007 17:49:49 +0000 (17:49 +0000)]
Correctly preserve and restore last error code in AccRewriteSetEntriesInAcl
svn path=/trunk/; revision=31156
Thomas Bluemel [Tue, 11 Dec 2007 17:22:34 +0000 (17:22 +0000)]
Replace GetOwner helper function with the already existing AccpGetAceSid function and enhance it to also support SYSTEM_MANDATORY_LABEL_ACE_TYPE
svn path=/trunk/; revision=31155
Hervé Poussineau [Tue, 11 Dec 2007 17:07:56 +0000 (17:07 +0000)]
Partly implement AccRewriteSetEntriesInAcl()
See issue #2707 for more details.
svn path=/trunk/; revision=31153
Peter Ward [Tue, 11 Dec 2007 17:04:48 +0000 (17:04 +0000)]
- Remove unused variable.
svn path=/trunk/; revision=31152
Aleksey Bragin [Tue, 11 Dec 2007 16:26:48 +0000 (16:26 +0000)]
- Forgot the changelog update.
svn path=/trunk/; revision=31151
Aleksey Bragin [Tue, 11 Dec 2007 16:21:13 +0000 (16:21 +0000)]
- Fix a bug in CmpCreateLinkNode when the link node alredy exists.
- Add some checks in CmpDoOpen to protect against illegal opens.
- Handle symlinks instead of ignoring them (fixes CurrentControlSet problem).
- Set disposition if this is an open due to a create.
svn path=/trunk/; revision=31150
Aleksey Bragin [Tue, 11 Dec 2007 15:59:58 +0000 (15:59 +0000)]
- Update copyright information.
- Bump version to 3.0.
svn path=/trunk/; revision=31148
Aleksey Bragin [Tue, 11 Dec 2007 15:50:30 +0000 (15:50 +0000)]
- Remove all registry-writing code from FreeLDR.
- Create an empty volatile HARDWARE hive in the Kernel, and build it based on the ARC tree.
svn path=/trunk/; revision=31146
Aleksey Bragin [Tue, 11 Dec 2007 15:32:24 +0000 (15:32 +0000)]
- Don't build the HARDWARE hive in FreeLDR anymore.
svn path=/trunk/; revision=31145
Aleksey Bragin [Tue, 11 Dec 2007 15:12:05 +0000 (15:12 +0000)]
- Add missing types to DDK.
- Fix FldrSetconfigurationData: ARC Configuration Data is a CM_PARTIAL_RESOURCE_LIST, not a CM_FULL_RESOURCE_DESCRIPTOR!
- The Interface Types for PCI BIOS and PCI IRQ Routing Table are Internal, not PCIBus.
- Disk drives are Internal, not Unknown.
- Replace CmpDumpHardwareTree by CmpSetupConfigurationTree which now calls CmpInitializeRegistryNode (a function previously used to build the CPU ARC nodes previously in the kernel). We now write the ARC tree in the HARDWARE\Description\System key.
svn path=/trunk/; revision=31144
Hervé Poussineau [Tue, 11 Dec 2007 14:03:12 +0000 (14:03 +0000)]
Don't fail if 'HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\MultifunctionAdapter' key does not exist
svn path=/trunk/; revision=31143
Hervé Poussineau [Tue, 11 Dec 2007 12:58:05 +0000 (12:58 +0000)]
Get some more details about interrupt in resource list.
This lets ne2000 share its interrupt with another device
svn path=/trunk/; revision=31141
Christoph von Wittich [Tue, 11 Dec 2007 11:28:22 +0000 (11:28 +0000)]
updated german translation
svn path=/trunk/; revision=31140
Hervé Poussineau [Tue, 11 Dec 2007 10:26:45 +0000 (10:26 +0000)]
Handle AddReg and DelReg in Service section
svn path=/trunk/; revision=31139
Daniel Reimer [Tue, 11 Dec 2007 08:34:28 +0000 (08:34 +0000)]
Bug 2881 : Bulgarian translation of ReactOS. (sstpr<AT>narod<DOT>ru)
Bug 2882 : Ukrainian translation update. (temarez<AT>yandex<DOT>ru)
svn path=/trunk/; revision=31138
Daniel Reimer [Tue, 11 Dec 2007 08:34:27 +0000 (08:34 +0000)]
Bug 2881 : Bulgarian translation of ReactOS. (sstpr<AT>narod<DOT>ru)
Bug 2882 : Ukrainian translation update. (temarez<AT>yandex<DOT>ru)
svn path=/trunk/; revision=31137
James Tabor [Tue, 11 Dec 2007 05:33:31 +0000 (05:33 +0000)]
Add stub patch for RegDeleteKeyExA/W by Stefan100 stefan__100__ at hotmail.com from IRC.
svn path=/trunk/; revision=31136
Aleksey Bragin [Mon, 10 Dec 2007 23:01:50 +0000 (23:01 +0000)]
Andrey Korotaev <unc0rr@gmail.com>:
- Fix possible infinite looping in kdbg (happening e.g. when moving mouse in a reactos in qemu which entered the debugger).
svn path=/trunk/; revision=31135
Aleksey Bragin [Mon, 10 Dec 2007 21:11:16 +0000 (21:11 +0000)]
- Create an empty configuration tree for Xbox machine, so that ReactOS-Xbox is able to boot further.
svn path=/trunk/; revision=31134
Aleksey Bragin [Mon, 10 Dec 2007 21:01:45 +0000 (21:01 +0000)]
- Improve the FreeLDR->NTLDR conversion layer by now converting the ARC Hardware Tree.
- Apply relocation-style fixups to convert from FreeLDR to Kernel Addresses, since a contiguous buffer was used in FreeLDR, which means we only need to add a delta to each FreeLDR pointer to get the Kernel pointer.
- Don't assert if we receive an ARC tree, since we now do! Instead, pretty-print it to the debug log.
- Remove some registry debug spew.
svn path=/trunk/; revision=31133
Magnus Olsen [Mon, 10 Dec 2007 20:29:51 +0000 (20:29 +0000)]
Fix some typo in Main_DirectDraw_QueryInterface
svn path=/trunk/; revision=31132
Aleksey Bragin [Mon, 10 Dec 2007 20:28:31 +0000 (20:28 +0000)]
- Pass ARC Hardware Tree in SetupLDR too.
- Zero-initialize memory from the Hardware Heap, just to be sure.
- Don't set the Version/Key/Affinity when creating the system node, let the caller do this.
- Fix the way components were added in the tree, it was busted.
- Enable setting of component information for the APM and ACPI component nodes. This was #if'ed out because it crashed the kernel while PnP was getting bus information for ATAPI/SCSIPORT, since the nodes had no component data. Add some component data to remove the crash, and then enable component information.
- The Real Mode IRQ Routing Table is a Peripheral Class, not a System Class.
- Enable the code to create component nodes for each PCI Bus, it was #if'ed out ages ago.
- Don't create any component data for the PCI BIOS, it doesn't have any.
- Create component data for the first PCI Bus component node based on the PCI_REGISTRY_INFO strucutre.
- Fix the way the BIOS Hard disk Peripheral nodes are created.
- Always create the DiskController node with floppy disk information, but don't do actual floppy detection if no floppies are there.
- Fix flags for Floppy Peripheral nodes.
- Fix vector for Floppy Peripheral node.
- Set component information for each BIOS hard disk peripheral node.
- Fix component information for Serial Peripherals, they were being created on the Serial Controller node instead.
- Set empty component information for the system node.
- TODO: Setup ACPI and APM Bios descriptor information.
- TODO: Setup ROM BIOS Block descriptor information.
svn path=/trunk/; revision=31131
Marc Piulachs [Mon, 10 Dec 2007 19:08:13 +0000 (19:08 +0000)]
* refactor the code to make it more OOP and extensible
* remove old outdated SD project files
* make it use some .NET 2.0 features as generic collections and settings
svn path=/trunk/; revision=31130
Christoph von Wittich [Mon, 10 Dec 2007 18:49:56 +0000 (18:49 +0000)]
Alexandre Julliard : Fix a compiler warning. <julliard at winehq.org>
svn path=/trunk/; revision=31129
Dmitry Chapyshev [Mon, 10 Dec 2007 18:20:02 +0000 (18:20 +0000)]
- Add icons for buttons on "Hardware Profiles" dialog
svn path=/trunk/; revision=31128
Dmitry Chapyshev [Mon, 10 Dec 2007 17:46:08 +0000 (17:46 +0000)]
- Add some headers from wine
svn path=/trunk/; revision=31127
Marc Piulachs [Mon, 10 Dec 2007 15:48:02 +0000 (15:48 +0000)]
Add MSVC8 solution and project files
svn path=/trunk/; revision=31126
Marc Piulachs [Mon, 10 Dec 2007 14:34:52 +0000 (14:34 +0000)]
* not quite ok , fix inconsistencies in spanish translation
* update catalan translation
svn path=/trunk/; revision=31124
Colin Finck [Mon, 10 Dec 2007 14:24:42 +0000 (14:24 +0000)]
Spanish translation for "find" by Grant A. Brady (bragr AT bradphi DOT com) with some fixes by encoded.
See issue #2880 for more details.
svn path=/trunk/; revision=31123
Christoph von Wittich [Mon, 10 Dec 2007 12:21:51 +0000 (12:21 +0000)]
fix a typo
svn path=/trunk/; revision=31122
Christoph von Wittich [Mon, 10 Dec 2007 09:57:30 +0000 (09:57 +0000)]
fix redzone overwrite when launching solitaire
ntoskrnl\mm\/rpoolmgr.h(707): High-side redzone overwrite detected for paged pool address 0x8d882000
Tag th(
68742020), Size 4148, UserSize 4096, LoZone
87878787, HiZone
00000000
svn path=/trunk/; revision=31121
Magnus Olsen [Mon, 10 Dec 2007 07:34:54 +0000 (07:34 +0000)]
patch from Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth)
Fixed Main_DirectDraw_GetDisplayMode for dx1, dx2
Fixed some compile warnings
svn path=/trunk/; revision=31120
Dmitry Chapyshev [Mon, 10 Dec 2007 07:19:34 +0000 (07:19 +0000)]
- Update Russian translation
svn path=/trunk/; revision=31119
Christoph von Wittich [Mon, 10 Dec 2007 07:06:29 +0000 (07:06 +0000)]
Alexander Nicolaysen Sørnes : Localize 'new folder' string. <alex at thehandofagony.com>
svn path=/trunk/; revision=31118
Thomas Bluemel [Mon, 10 Dec 2007 05:07:47 +0000 (05:07 +0000)]
_findnext is already implemented. Fixes a crash during Abiword startup
svn path=/trunk/; revision=31117
Aleksey Bragin [Sun, 9 Dec 2007 22:57:40 +0000 (22:57 +0000)]
- Because we'll need to pass the ARC hardware information to the kernel, we need to use the usual FreeLDR trick of using a static buffer where to store the data instead of allocating memory. But, unlike our other data, this kind of information is variably-sized, and it's not possible to make arrays of arrays and start assuming upper bounds. Therefore, give us a large 16KB stash buffer, and implement a very simple array-based heap allocator so that all the ARC hardware memory will be contiguous and static as the kernel will expect it.
- Copy all configuration data, identifiers and other data passed to the arc hardware routines into a new location. This is because the caller will free this information, and we want to keep it in memory. We also want it to be contiguous and part of our stash buffer, so allocate the copies from the stash buffer described above.
- Store the root of the hardware tree in the ArchExtra ReactOS Loader Parameter Block, the kernel's freeldr->ntldr conversion routines will later deal with this data.
svn path=/trunk/; revision=31116
Aleksey Bragin [Sun, 9 Dec 2007 22:09:37 +0000 (22:09 +0000)]
- Further refactor the code by completing getting rid of the registry key parameters and work only with ARC configuration component nodes; the registry key is now hidden in an opaque structure from the rest of the code.
- Fix some bugs in the ARC component node creation.
svn path=/trunk/; revision=31115
Aleksey Bragin [Sun, 9 Dec 2007 21:49:17 +0000 (21:49 +0000)]
- Start filling out ARC component data nodes for all the new refactored hardware node APIs (these are just dummies for now).
svn path=/trunk/; revision=31114
Aleksey Bragin [Sun, 9 Dec 2007 20:17:56 +0000 (20:17 +0000)]
- Refactor creation of component data under the HARDWARE\DESCRIPTION node to use separate routines in a new ARC file, so that registry routines are factored out of the process. This allows 1) Better portability with PPC branch (which will need to do the same kind of hardware work) 2) Ability to eventually get rid of the registry calls and build a true ARC hardware device tree instead (which the kernel will have to parse during boot). The idea is to remove registry writing support from freeldr (because the code is old and freeldr shouldn't be touching the registry anyway). Patch by Alex.
svn path=/trunk/; revision=31113
Aleksey Bragin [Sun, 9 Dec 2007 19:36:04 +0000 (19:36 +0000)]
- Our NtCreateKey currently allows building trees (which is incorrect) if the parent key is a symbolic link (which does exist), but if the target doesn't exist (Since the check 'does parent exist' is done Before the symlink is converted to its target. One side-effect is that although we create the CurrentControlSet symlink to ControlSet001, we never create ControlSet001. We end up creating it later during the boot by creating a sub-key, by exposing the bug in NtCreateKey. Since the new NtCreateKey uses the new parse routine code and doesn't exhibit this bug, we have to create ControlSet001 manually to avoid a failure. Other bugs of this nature may exist. Bug found and fixed by Alex.
- Implement the last bit of the new parse routine (creating children) and write a new version of NtCreateKey which uses the parse routine. Disable it for now until other latent bugs are fixed.
svn path=/trunk/; revision=31112
James Tabor [Sun, 9 Dec 2007 18:45:13 +0000 (18:45 +0000)]
Prevent crash in gdibatch.
svn path=/trunk/; revision=31111
Hervé Poussineau [Sun, 9 Dec 2007 18:07:33 +0000 (18:07 +0000)]
CurrentControlSet should already be created at this point.
svn path=/trunk/; revision=31110
Christoph von Wittich [Sun, 9 Dec 2007 18:05:02 +0000 (18:05 +0000)]
fix a bug in ScConnectControlPipe
svn path=/trunk/; revision=31109