The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
May. 03, 2016

Filed:

Apr. 17, 2013
Applicant:

Mstar Semiconductor, Inc., Hsinchu County, TW;

Inventors:

Jian Wang, Shanghai, CN;

Ming-Yong Sun, Shanghai, CN;

Assignee:

MSTAR SEMICONDUCTOR, INC., Hsinchu County, TW;

Attorneys:
Primary Examiner:
Assistant Examiner:
Int. Cl.
CPC ...
G06F 9/52 (2006.01); G06F 9/46 (2006.01); G06F 3/0484 (2013.01); G06F 13/10 (2006.01);
U.S. Cl.
CPC ...
G06F 9/526 (2013.01); G06F 9/461 (2013.01); G06F 3/0484 (2013.01); G06F 9/52 (2013.01); G06F 13/102 (2013.01); G06F 13/105 (2013.01);
Abstract

A hardware control method for multitasking drivers under a user mode is provided. The control method includes steps of: receiving a request for access to a hardware device from a current process under the user mode; determining whether the current process has obtained a mutual exclusion (mutex) of the hardware device; if affirmative, determining whether an identification of the current process and an identification of a previous process accessed the hardware device are the same; if negative, performing a context switch on the current process and the previous process accessed the hardware device to allow the current process to access the hardware device. Accordingly, when accessing complicated hardware devices, the disclosure significantly enhances driver performance under a user mode while also implementing secured random access to hardware devices in a multitasking environment.


Find Patent Forward Citations

Loading…