Method and apparatus for accessing hardware resource
Abstract
A method and an apparatus for accessing a hardware resource are provided. The method includes configuring permission for one or more privileged instructions that are used for hardware access such that when the privileged instructions are used by a user mode application program, the application program can access a hardware resource without trapping into a kernel, and executing the privileged instructions that are encapsulated in the privileged application programming interface (API) that is called at the code level by the application program , and a privileged instruction for direct access to a hardware resource is set and encapsulated into an API, which is deployed in user space in order to reduce system overheads for accessing the hardware resource and improve processing efficiency.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 0.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for accessing a hardware resource, comprising: configuring permission for one or more privileged instructions that are used for accessing the hardware resource such that when used by a user mode application program, the privileged instructions can access the hardware resource without trapping into a kernel, wherein the application program calls, at a code level, a privileged application programming interface (API) that is in user mode and has the privileged instructions encapsulated therein; and executing the privileged instructions that are encapsulated in the privileged API that is
- Claim 2Depends on #1
The method according to claim 1 , wherein configuring permission for one or more privileged instructions that are used for accessing the hardware resource comprises calling an inter
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (11)
Non-Patent Literature (5)
- Belay, A., et al., "Dune: Safe User-level Access to Privileged CPU Features," XP061013622, USENIX, Oct. 18, 2012, 28 pages.
- Caulfield, A., et al., "Providing Safe, User Space Access to Fast, Solid State Disks," XP055281711, ASPLOS, ACM SIGARCH Computer Architecture News, Retrieved from the Internet: URL: http://cseweb.ucsd.edu/~swanson/papers/Asplos2012MonetaD.pdf [retrieved on Jun. 20, 2016], Mar. 3-7, 2012, 13 pages.
- Caulfield, A., et al., "Providing Safe, User Space Access to Fast, Solid State Disks," XP055281711, ASPLOS, ACM SIGARCH Computer Architecture News, Retrieved from the Internet: URL: http://cseweb.ucsd.edu/˜swanson/papers/Asplos2012MonetaD.pdf [retrieved on Jun. 20, 2016], Mar. 3-7, 2012, 13 pages.
- Fabbri, A., "What will happen if user processes could directly interact with I/O devices without using the kernel?," XP055281715, Quora, REtrieved from the Internet: URL: https://www.quora.com/What-will-happen-if-user-processes-could-directly-interact-with-I-0-devices-without-using-the-kernel/answer
- Foreign Communication From A Counterpart Application, European Application No. 14843079.6, Extended European Search Report dated Jul. 4, 2016, 9 pages.