×

Executing a kernel device driver as a user space process

  • US 9,619,308 B2
  • Filed: 05/23/2016
  • Issued: 04/11/2017
  • Est. Priority Date: 11/18/2010
  • Status: Active Grant
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.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×