Invention Grant
- Patent Title: Method and apparatus for accessing hardware resource
- Patent Title (中): 用于访问硬件资源的方法和装置
-
Application No.: US15059380Application Date: 2016-03-03
-
Publication No.: US09529650B2Publication Date: 2016-12-27
- Inventor: Chen Zheng , Ruihua Hou , Jianfeng Zhan , Lixin Zhang
- Applicant: Huawei Technologies Co., Ltd.
- Applicant Address: CN Shenzhen
- Assignee: Huawei Technologies Co., Ltd.
- Current Assignee: Huawei Technologies Co., Ltd.
- Current Assignee Address: CN Shenzhen
- Agency: Conley Rose, P.C.
- Priority: CN201310399716 20130904
- Main IPC: G06F13/00
- IPC: G06F13/00 ; G06F9/54 ; G06F9/46 ; G06F12/10 ; G06F13/24

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.
Public/Granted literature
- US20160224399A1 Method and Apparatus for Accessing Hardware Resource Public/Granted day:2016-08-04
Information query