Patent ID: 8209704
Filing Date: 2012-06-26
Classification: G06F

Abstract:
1. A method of intermodule communication between a first code module and a second code module comprising: providing said first code module and a second code module, one of said first and second code modules executing in user space and the other of said first and second code modules executing in kernel space; providing a shared memory portion including storage for one or more commands and which is accessible to said first and said second code modules; providing a first first-in-first-out (FIFO) structure for sending a location in said shared memory portion from said first code module to said second code module; providing a second FIFO structure for sending a location in said shared memory portion from said second code module to said first code module; storing, by said first code module, command data for a command at a first location in said shared memory portion; and issuing a command from said first code module to said second code module by sending said first location from said first code module to said second code module using said first FIFO structure, and wherein the method further comprises: providing a kernel device to which said one code module executing in user space issues a system call, wherein a registered routine of said other code module executing in kernel mode is notified when said kernel device is closed by said one code module, said kernel device being closed when said one code module terminates causing invocation of said registered routine.