search for: device_init

Displaying 20 results from an estimated 20 matches for "device_init".

Did you mean: device_info
2006 Jun 20
1
Bug with evdev corepointers
...xorg.conf, and to use it, it was set as the corepointer. With this setting, Xgl reproducably segfaults in xglxPointerProc() when returning from this function (the last thing gdb does is "pop ebp", which I think pretty strange) on device initialization (the function is called with onoff==DEVICE_INIT). The return value of InitPointerDeviceStruct() is 1. This bug only occurs if I have 'Option "CorePointer"' in my InputDevice section. If I remove this line, Xgl works fine, but I can't use my mouse to move the pointer. There is someone else on ubuntuforums.org (http://ubuntuf...
2008 May 21
0
[ANNOUNCE] xf86-input-keyboard 1.3.1
Adam Jackson (1): keyboard 1.3.1 Paulo Cesar Pereira de Andrade (1): Don't send events in DEVICE_INIT, only after DEVICE_ON. git tag: xf86-input-keyboard-1.3.1 http://xorg.freedesktop.org/archive/individual/driver/xf86-input-keyboard-1.3.1.tar.bz2 MD5: ebe5dcf8eed819103909f18321fc3b9d xf86-input-keyboard-1.3.1.tar.bz2 SHA1: 4e5cd4d32b456cb87b14dca4d78845911a3e1148 xf86-input-keyboard-1.3.1.tar....
2017 Dec 21
0
[PATCH v5 0/4] use put_device to cleanup resource
Hi, The main change is split device_register into 2 sperate calls: device_initalize() and device_add, and then the caller can use put_device safety when fail to register_virtio_device. v4->v5: * virtio: correct some comments * virtio_remoteproc: use put_device directly, not use temp reg_dev v3->v4: * split device_register into device_initialize and devicea_add that...
2010 Apr 16
0
Calling getoneblk() from com32
Is there an easy way to call getoneblk() (along with access to the required disk struct) from com32? I know I can use the gpllib read_sectors() but since the device_init already has the c/h/s/etc it sure would be nice to grab it from there and use getoneblk(). Any hints are greatly appreciated. Cheers, don
2010 Oct 31
0
Fallout New Vegas doesn't work
...Vidia, disabling mixer fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x153d10,0x153c70): stub fixme:win:EnumDisplayDevicesW ((null),0,0x32eb9c,0x00000000), stub! Eyefinity configuration query failed for display index 0. fixme:win:EnumDisplayDevicesW ((null),0,0x32ebec,0x00000000), stub! fixme:d3d9:device_init Ignoring display mode. fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats fixme:d3d9:D3DPERF_SetOptions (0x1) : stub fixme:d3d:debug_d3dformat Unrecognized 0x434f5441 (as fourcc: ATOC) WINED3DFORMAT! fixme:d3d:wined3d_get_format Can't find format...
2015 Mar 06
0
[ANNOUNCE] xf86-input-libinput 0.8.0
...rer (8): Fix off-by-one error in buttonmap initialization (#89300) Use the new libinput_device_pointer_has_button Split out property init into helper functions Add properties to change the click method (#89332) Don't unref the device until we're done with it in DEVICE_INIT Apply the configuration before initalizing the property Up the scroll dist value for touchpads xf86-input-libinput 0.8.0 git tag: xf86-input-libinput-0.8.0 http://xorg.freedesktop.org/archive/individual/driver/xf86-input-libinput-0.8.0.tar.bz2 MD5: 775463bafcd47def681d029245a94...
2013 Dec 26
0
[PATCH] core: Avoid initializing the cache more than once
...data += dev->cache_block_size; prev = cur++; } + + dev->cache_init = 1; /* Set cache as initialized */ } /* diff --git a/core/fs/diskio.c b/core/fs/diskio.c index 7d95d67..e9a4c1d 100644 --- a/core/fs/diskio.c +++ b/core/fs/diskio.c @@ -28,6 +28,7 @@ struct device * device_init(void *args) dev.disk = firmware->disk_init(args); dev.cache_size = 128*1024; dev.cache_data = malloc(dev.cache_size); + dev.cache_init = 0; /* Explicitly set cache as uninitialized */ return &dev; } diff --git a/core/fs/fs.c b/core/fs/fs.c index 8c1feea..d6da8a5 100...
2013 Oct 18
1
[RFC/PATCH 2/3] core: MultiFS infrastructure added.
...>cache_data; diff --git a/core/fs/diskio.c b/core/fs/diskio.c index 7d95d67..466b6a8 100644 --- a/core/fs/diskio.c +++ b/core/fs/diskio.c @@ -21,13 +21,27 @@ void getoneblk(struct disk *disk, char *buf, block_t block, int block_size) /* * Initialize the device structure. */ -struct device * device_init(void *args) +__export struct device *device_init(void *args) { - static struct device dev; + struct device *dev; - dev.disk = firmware->disk_init(args); - dev.cache_size = 128*1024; - dev.cache_data = malloc(dev.cache_size); + dev = malloc(sizeof(struct device)); + if (!de...
2009 Mar 02
1
[ANNOUNCE] xf86-input-evdev 2.1.99.1
...Bump to 2.1.99. Document InvertX/Y options. Document properties in man page. Add property support for ReopenAttempts option. Janitor: clean up xf86Msg use, might as well use X_CONFIG directly. Clean up program flow - don't call PreInit for "modules" on DEVICE_INIT. Register property handler from within the modules, not the main evdev file. Rename DragLockInit to DragLockPreInit, remove superfluous "return". Tidy up evdev.h Don't include the client-side header anymore. xkbstr.h is server SDK. 8-bit properties should...
2013 Oct 18
0
[RFC/PATCH 3/3] Wire up MultiFS support.
...>fs_ops = *ops; + + /* + * This boldly assumes that we don't mix FS_NODEV filesystems + * with FS_DEV filesystems... + */ + if (fsp->fs_ops->fs_flags & FS_NODEV) { + fsp->fs_dev = NULL; + } else { + if (!dev) { + dev = device_init(private); + if (!dev) + goto bail; + } + fsp->fs_dev = dev; + } + /* invoke the fs-specific init code */ + blk_shift = fsp->fs_ops->fs_init(fsp); + ops++; + } + if (blk_shift < 0) { + printf("MultiFS: No valid file system found!\n&quo...
2017 Dec 20
8
[PATCH v4 0/4] use put_device to cleanup resource
Hi, The main change is split device_register into 2 sperate calls: device_initalize() and device_add, and then the caller can use put_device safety when fail to register_virtio_device. v3->v4: * split device_register into device_initialize and devicea_add that the caller can always use put_device when fail to register virtio device. v2->v3: * virtio: add new h...
2017 Dec 20
8
[PATCH v4 0/4] use put_device to cleanup resource
Hi, The main change is split device_register into 2 sperate calls: device_initalize() and device_add, and then the caller can use put_device safety when fail to register_virtio_device. v3->v4: * split device_register into device_initialize and devicea_add that the caller can always use put_device when fail to register virtio device. v2->v3: * virtio: add new h...
2015 Jul 22
13
[PULL 0/8] MultiFS suppport for BIOS and EFI
So last week I was wondering if XFS was still working -- even with its last on-disk structure changes -- and it _suprisingly_ worked as expected. Right, now I can finally get rid of GRUB and use Syslinux to boot my Linux on EFI from a rootfs with xfs. Shit, I have two partitions (the first one being the required ESP) so there is no way to access the other partitions since because Syslinux does not
2013 Sep 27
0
Wine release 1.7.3
...slate d3d10 bind flags / usage to wined3d usage for textures. wined3d: Introduce a function to initialize swapchain specific device state. d3dx9: Get rid of the ID3DXSkinInfoImpl typedef. d3dx9: Get rid of the ID3DXSpriteImpl typedef. wined3d: Initialize the default state in device_init(). wined3d: Initialize the fb state pointer in state_init(). wined3d: Explicitly pass gl_info to state_init_default(). d3dx9: Get rid of the ID3DXFileImpl typedef. d3dx9: Get rid of the ID3DXFileEnumObjectImpl typedef. wined3d: Send present operations through a command...
2019 Apr 26
0
Wine release 4.7
...est handler. server: Ensure that IRP_MJ_CLOSE is queued only once. server: Use generic kernel object list to store client device file pointer. John Thomson (1): shell32: Do not fail in SHCreateDirectoryExW for ERROR_ALREADY_EXISTS. Józef Kucia (7): d3d9: Fix memory leak in device_init() (Coverity). wined3d: Make the adapter responsible for creating devices. wined3d: Create Vulkan device for wined3d_device_vk. d3d11: Fix d3d11_immediate_context_RSGetScissorRects(). d3d11: Fix d3d10_device_RSGetScissorRects(). wined3d: Use vkGetDeviceProcAddr() to loa...
2009 Oct 27
1
[PATCH 2/4] megasas: LSI MegaRAID SAS HBA emulation
...= "LSI MegaRAID SAS 1078", + .qdev.alias = "megasas", + .qdev.size = sizeof(MPTState), + .init = megasas_scsi_init, + .exit = megasas_scsi_uninit, +}; + +static void megaraid1078_register_devices(void) +{ + pci_qdev_register(&megasas_info); +} + +device_init(megaraid1078_register_devices); diff --git a/hw/pci_ids.h b/hw/pci_ids.h index 3afe674..104f3a3 100644 --- a/hw/pci_ids.h +++ b/hw/pci_ids.h @@ -15,6 +15,7 @@ #define PCI_CLASS_STORAGE_SCSI 0x0100 #define PCI_CLASS_STORAGE_IDE 0x0101 +#define PCI_CLASS_STORAGE_RAID...
2009 Oct 27
1
[PATCH 2/4] megasas: LSI MegaRAID SAS HBA emulation
...= "LSI MegaRAID SAS 1078", + .qdev.alias = "megasas", + .qdev.size = sizeof(MPTState), + .init = megasas_scsi_init, + .exit = megasas_scsi_uninit, +}; + +static void megaraid1078_register_devices(void) +{ + pci_qdev_register(&megasas_info); +} + +device_init(megaraid1078_register_devices); diff --git a/hw/pci_ids.h b/hw/pci_ids.h index 3afe674..104f3a3 100644 --- a/hw/pci_ids.h +++ b/hw/pci_ids.h @@ -15,6 +15,7 @@ #define PCI_CLASS_STORAGE_SCSI 0x0100 #define PCI_CLASS_STORAGE_IDE 0x0101 +#define PCI_CLASS_STORAGE_RAID...
2012 Jan 24
2
[PATCH 26/28] pci: convert to QEMU Object Model
....parent = TYPE_DEVICE, + .instance_size = sizeof(HDACodecDevice), + .abstract = true, + .class_size = sizeof(HDACodecDeviceClass), }; static void intel_hda_register(void) { pci_qdev_register(&intel_hda_info); + type_register_static(&hda_codec_device_type_info); } device_init(intel_hda_register); diff --git a/hw/ioh3420.c b/hw/ioh3420.c index a6bfbb9..6cfafb3 100644 --- a/hw/ioh3420.c +++ b/hw/ioh3420.c @@ -80,7 +80,7 @@ static void ioh3420_write_config(PCIDevice *d, static void ioh3420_reset(DeviceState *qdev) { - PCIDevice *d = DO_UPCAST(PCIDevice, qdev, qdev...
2012 Aug 20
13
[PATCH 00/12] Multidisk support
Hello, the following patches should get multidisk access working. The syntax accepted is the following: (hdx,y)/path/to/file where x is the disk number and start at 0 and the y is the partition number starting at 1. So (hd0,1) is the first partition of the first disk. the other accepted syntax is using MBR's 32 bits disk signature so for example: (mbr:0x12345678,2)/foo/bar would address
2010 Aug 12
59
[PATCH 00/15] RFC xen device model support
Hi all, this is the long awaited patch series to add xen device model support in qemu; the main author is Anthony Perard. Developing this series we tried to come up with the cleanest possible solution from the qemu point of view, limiting the amount of changes to common code as much as possible. The end result still requires a couple of hooks in piix_pci but overall the impact should be very