Displaying 16 results from an estimated 16 matches for "adddevice".
Did you mean:
add_device
2019 Apr 25
2
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
...gt;.....
>Gah. I've been too tired today. Why did that take me so long?
>
>The culprit seems to be
>
>R_ProcessEvents((void*) NULL)
>
>in newX11DeviceDriver
>
>This gets called *before* this stuff at the end of Rf_addX11Device
>
> dd = GEcreateDevDesc(dev);
> addDevice((DevDesc*) dd);
> initDisplayList((DevDesc*) dd);
>
>and it is that "dd" that gets called by Rf_playDisplayList. Removing
>the offending line stops the segfaulting, seemingly with no ill
>effects.
>
>I'm not really sure what the use of that line ever was; it might...
2019 Apr 30
2
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
...canvascolor, sfonts, res,
> xpos, ypos, title, useCairo, antialias, family)) {
> free(dev);
> errorcall(call, _("unable to start device %s"), devname);
> }
> dd = GEcreateDevDesc(dev);
> GEaddDevice2(dd, devname);
>
> i.e., we start the device driver, and if it fails, we throw away the "dev" structure and call it a day. If it succeeds, we proceed to create a device descriptor structure and add it to the list of open devices.
>
> This approach means that X11DeviceDriver(...
2019 Apr 24
2
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
I don't recall exactly what I did 18 years ago eiher and I likely don't have the time to dig into the archives and reconstruct.
I can imagine that the issue had to do with the protocol around creating and mapping windows. Presumably the segfault comes from looking for events on a window that hasn't been created yet, or has already been destroyed, leading to a NULL reference somewhere.
2019 Apr 24
0
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
...X11 still segfaults".
------------>>
.....
Gah. I've been too tired today. Why did that take me so long?
The culprit seems to be
R_ProcessEvents((void*) NULL)
in newX11DeviceDriver
This gets called *before* this stuff at the end of Rf_addX11Device
dd = GEcreateDevDesc(dev);
addDevice((DevDesc*) dd);
initDisplayList((DevDesc*) dd);
and it is that "dd" that gets called by Rf_playDisplayList. Removing
the offending line stops the segfaulting, seemingly with no ill
effects.
I'm not really sure what the use of that line ever was; it might be
necessary to make the c...
2019 May 02
1
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
...xpos, ypos, title, useCairo, antialias, family)) {
>>> free(dev);
>>> errorcall(call, _("unable to start device %s"), devname);
>>> }
>>> dd = GEcreateDevDesc(dev);
>>> GEaddDevice2(dd, devname);
>>> i.e., we start the device driver, and if it fails, we throw away the "dev" structure and call it a day. If it succeeds, we proceed to create a device descriptor structure and add it to the list of open devices.
>>> This approach means that X11DeviceDri...
2019 Apr 27
0
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
...bgcolor, canvascolor, sfonts, res,
xpos, ypos, title, useCairo, antialias, family)) {
free(dev);
errorcall(call, _("unable to start device %s"), devname);
}
dd = GEcreateDevDesc(dev);
GEaddDevice2(dd, devname);
i.e., we start the device driver, and if it fails, we throw away the "dev" structure and call it a day. If it succeeds, we proceed to create a device descriptor structure and add it to the list of open devices.
This approach means that X11DeviceDriver() cannot do anything...
2019 May 02
0
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
...s, res,
>> xpos, ypos, title, useCairo, antialias, family)) {
>> free(dev);
>> errorcall(call, _("unable to start device %s"), devname);
>> }
>> dd = GEcreateDevDesc(dev);
>> GEaddDevice2(dd, devname);
>> i.e., we start the device driver, and if it fails, we throw away the "dev" structure and call it a day. If it succeeds, we proceed to create a device descriptor structure and add it to the list of open devices.
>> This approach means that X11DeviceDriver() ca...
2011 Mar 10
0
[PATCH 09/21] Staging: hv: Get rid of vmbus_child_dev_add()
...hannel_mgmt.c b/drivers/staging/hv/channel_mgmt.c
index 0781c0e..3368809 100644
--- a/drivers/staging/hv/channel_mgmt.c
+++ b/drivers/staging/hv/channel_mgmt.c
@@ -408,7 +408,7 @@ static void vmbus_process_offer(struct work_struct *work)
* binding which eventually invokes the device driver's AddDevice()
* method.
*/
- ret = vmbus_child_dev_add(newchannel->device_obj);
+ ret = vmbus_child_device_register(newchannel->device_obj);
if (ret != 0) {
DPRINT_ERR(VMBUS,
"unable to add child device object (relid %d)",
diff --git a/drivers/staging/hv/vmbus_drv.c b/drivers/...
2011 Mar 10
0
[PATCH 09/21] Staging: hv: Get rid of vmbus_child_dev_add()
...hannel_mgmt.c b/drivers/staging/hv/channel_mgmt.c
index 0781c0e..3368809 100644
--- a/drivers/staging/hv/channel_mgmt.c
+++ b/drivers/staging/hv/channel_mgmt.c
@@ -408,7 +408,7 @@ static void vmbus_process_offer(struct work_struct *work)
* binding which eventually invokes the device driver's AddDevice()
* method.
*/
- ret = vmbus_child_dev_add(newchannel->device_obj);
+ ret = vmbus_child_device_register(newchannel->device_obj);
if (ret != 0) {
DPRINT_ERR(VMBUS,
"unable to add child device object (relid %d)",
diff --git a/drivers/staging/hv/vmbus_drv.c b/drivers/...
2019 Nov 15
0
Wine release 4.20
...ment variables.
ntoskrnl.exe: Implement many more properties in IoGetDeviceProperty().
ntoskrnl.exe: Stub IRP_MN_QUERY_CAPABILITIES for root-enumerated devices.
ntoskrnl.exe: Implement IRP_MN_QUERY_DEVICE_RELATIONS for root-enumerated devices.
ntoskrnl.exe: Trace the call to AddDevice().
ntdll: Fix a typo.
winebus.inf: Add new INF file and copy it to the INF directory.
winebus.sys: Implement AddDevice().
wineboot: Create a root-enumerated device object for winebus.
wine.inf: Remove registration for the winebus service.
winebus.sys: Initialize...
2015 Oct 02
0
Wine release 1.7.52
...for the exact process count.
ntdll/tests: Simplify the RtlRandom test.
psapi/tests: Don't check for exact value.
rsaenh/tests: Adjust length value to pass on Win 10.
user32/tests: Allow tracing in menu tests.
Aric Stewart (13):
hidclass.sys: Add Plug-and-play and AddDevice.
hidclass.sys: Implement a report ring buffer.
hidclass.sys: Add USB Descriptor parsing.
hidclass.sys: Implement IRP_MJ_DEVICE_CONTROL for HID devices.
hidclass.sys: Implment IRP_MJ_CREATE and IRP_MJ_CLOSE for HID Devices.
hidclass.sys: Implement IRP_MJ_READ for HID De...
2020 Apr 24
0
Wine release 5.7
...emove some unnecessary includes.
devenum: Get rid of the union in struct moniker.
maintainers: Add devenum to the DirectShow section.
winegstreamer: Remove some unused imports.
winegstreamer: Delay-load mfplat.
wineusb.sys: New stub driver.
wineusb.sys: Implement AddDevice().
wineusb.sys: Implement basic IRP_MJ_PNP requests for the bus FDO.
wineusb.sys: Start an event handler thread.
wineusb.sys: Create USB devices.
wineusb.sys: Implement IRP_MN_QUERY_DEVICE_RELATIONS.
d3dcompiler: Make printed IR a bit more readable.
d3dcompiler:...
2011 Mar 29
9
[PATCH 00/07] Remove and replace all un-needed DPRINT and printk
This patch set removes all un-needed DPRINT and printk calls and replaces
the remaining ones with the correct pr_, dev_ and netdev_ calls
from hv_vmbus, hv_netvsc, hv_timesource and hv_utils.
Several DPRINTS are remaining that will be cleaned up in my next
set of patches. They deal with printing out certain debugging that will be
implemented slightly differently.
The remaining hv_storvsc and
2011 Mar 29
9
[PATCH 00/07] Remove and replace all un-needed DPRINT and printk
This patch set removes all un-needed DPRINT and printk calls and replaces
the remaining ones with the correct pr_, dev_ and netdev_ calls
from hv_vmbus, hv_netvsc, hv_timesource and hv_utils.
Several DPRINTS are remaining that will be cleaned up in my next
set of patches. They deal with printing out certain debugging that will be
implemented slightly differently.
The remaining hv_storvsc and
2010 Nov 01
24
[PATCH 01/10] staging: hv: Convert camel cased struct fields in channel_mgmt.h to lower cases
...ance,
newchannel);
DPRINT_DBG(VMBUS, "child device object allocated - %p",
- newchannel->DeviceObject);
+ newchannel->device_obj);
/*
* Add the new device to the bus. This will kick off device-driver
* binding which eventually invokes the device driver's AddDevice()
* method.
*/
- ret = VmbusChildDeviceAdd(newchannel->DeviceObject);
+ ret = VmbusChildDeviceAdd(newchannel->device_obj);
if (ret != 0) {
DPRINT_ERR(VMBUS,
"unable to add child device object (relid %d)",
- newchannel->OfferMsg.ChildRelId);
+ newchanne...
2010 Nov 01
24
[PATCH 01/10] staging: hv: Convert camel cased struct fields in channel_mgmt.h to lower cases
...ance,
newchannel);
DPRINT_DBG(VMBUS, "child device object allocated - %p",
- newchannel->DeviceObject);
+ newchannel->device_obj);
/*
* Add the new device to the bus. This will kick off device-driver
* binding which eventually invokes the device driver's AddDevice()
* method.
*/
- ret = VmbusChildDeviceAdd(newchannel->DeviceObject);
+ ret = VmbusChildDeviceAdd(newchannel->device_obj);
if (ret != 0) {
DPRINT_ERR(VMBUS,
"unable to add child device object (relid %d)",
- newchannel->OfferMsg.ChildRelId);
+ newchanne...