[pso] [tema2][win] Imi crapa KeSynchronizeRoutine

Marius Nicolae mariusn007 at gmail.com
Wed Apr 16 19:50:41 EEST 2008


Salut,

La tema2 pe windows, pentru sincronizarea cu intreruperile incerc sa
rulez in metoda de write a modulului, urmatoarea secventa de cod:


NTSTATUS uart_write(PDEVICE_OBJECT device, IRP *irp)
{
	struct uart_dev *dev_id=(struct uart_dev*)device->DeviceExtension;
KeSynchronizeExecution(dev_id->pIntObj, sync_write, NULL);	
	IoCompleteRequest(irp, IO_NO_INCREMENT);
	return STATUS_SUCCESS;
}


More information about the pso mailing list