Executing a kernel device driver as a user space process
First Claim
Patent Images
1. A method, comprising:
- receiving, by a user space driver framework (UDF) library executing from a user space of a memory over an operating system kernel operated by a device driver executing from the user space, a kernel application programming interface (API) call from a device driver executing from the user space;
determining that the operation comprises a privileged operation, wherein when the operation is privileged;
conveying, via a file descriptor, the API call to a UDF kernel module executing from a kernel space of the memory over the operating system kernel; and
when the operation is non-privileged;
performing, by the UDF library, an operation corresponding to the kernel API call, anddetecting an interrupt and sending a notification of the interrupt via the file descriptor to the UDF library, wherein upon receiving the notification;
scheduling by a scheduler an execution of an interrupt handling of the interrupt handling code of the device driver.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, including receiving, by a user space driver framework (UDF) library executing from a user space of a memory over a monolithic operating system kernel, a kernel application programming interface (API) call from a device driver executing from the user space. The UDF library then performs an operation corresponding to the kernel API call.
-
Citations
10 Claims
-
1. A method, comprising:
-
receiving, by a user space driver framework (UDF) library executing from a user space of a memory over an operating system kernel operated by a device driver executing from the user space, a kernel application programming interface (API) call from a device driver executing from the user space; determining that the operation comprises a privileged operation, wherein when the operation is privileged; conveying, via a file descriptor, the API call to a UDF kernel module executing from a kernel space of the memory over the operating system kernel; and when the operation is non-privileged; performing, by the UDF library, an operation corresponding to the kernel API call, and detecting an interrupt and sending a notification of the interrupt via the file descriptor to the UDF library, wherein upon receiving the notification; scheduling by a scheduler an execution of an interrupt handling of the interrupt handling code of the device driver. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer program product, the computer program product comprising:
-
a non-transitory computer readable storage medium having computer readable program code embodied therewith, the computer readable program code comprising; computer readable program code configured to receive, by a user space driver framework (UDF) library executing from a user space of a memory over an operating system kernel operated by a device driver executing from the user space, a kernel application programming interface (API) call from a device driver executing from the user space; and computer readable program code configured to determine that the operation comprises a privileged operation, wherein when the operation is privileged, the API call is conveyed, via a file descriptor, to a UDF kernel module executing from a kernel space of the memory over the operating system kernel; and when the operation is non-privileged;
computer readable program code configured to perform, by the UDF library, an operation corresponding to the kernel API call, andcomputer readable program code configured to detect an interrupt and sending a notification of the interrupt via the file descriptor to the UDF library, wherein upon receiving the notification; scheduling by a scheduler an execution of an interrupt handling of the interrupt handling code of the device driver. - View Dependent Claims (7, 8, 9, 10)
-
Specification