Method for allowing application program in computer system to access device directly in exclusive mode by bypassing operating system and blocking requests from other programs
First Claim
1. A method for operating a device of a computer system, comprising the steps of:
- (a) an operating system of the computer system managing operation of any devices of the computer system;
(b) processing by the operating system (kernel) requests from concurrent applications executing programs to access the device in a first (shared, or general user) mode, said operating system preventing conflicts between applications concurrently requesting access in the first mode to the device, said applications'"'"' access to the device controlled by the operating system;
(c) processing by the operating system a request by one of the application programs for access to the device in a second (exclusive) mode, said processing of the request for access in the second mode including the steps of;
(1) distinguishing said request for access to the device in the second mode, generated by said one of the application programs, from a request for access to the device in the first mode;
(2) passing said request for access to the device in the second mode to a device driver;
(3) blocking by the device driver requests from others of the application programs for access to the device in either the first mode or the second mode; and
(4) entirely bypassing the operating system and accessing the device directly by the application program that issued the request for access in the second mode, without interruption for both input and output access, after step (2), by any operating system processes or interfaces between the device and the application program, until the application program completes its direct accessing.
0 Assignments
0 Petitions
Accused Products
Abstract
A data processing system gives an application running on the operating system exclusive ownership of a hardware device. The system is operable in two modes. In the first mode the application interacts with the hardware device by making use of the processing system. In this mode many layers of the processing system are involved and the interaction time with the hardware is slow and inconsistent. In the second mode, exclusive ownership of the hardware device is granted to the application by the driver. In this mode the application has direct access to the hardware device thus avoiding the involvement of the processing system layers. The application accesses and uses the driver through a low latency processor interface linked into the application program itself.
-
Citations
8 Claims
-
1. A method for operating a device of a computer system, comprising the steps of:
-
(a) an operating system of the computer system managing operation of any devices of the computer system; (b) processing by the operating system (kernel) requests from concurrent applications executing programs to access the device in a first (shared, or general user) mode, said operating system preventing conflicts between applications concurrently requesting access in the first mode to the device, said applications'"'"' access to the device controlled by the operating system; (c) processing by the operating system a request by one of the application programs for access to the device in a second (exclusive) mode, said processing of the request for access in the second mode including the steps of; (1) distinguishing said request for access to the device in the second mode, generated by said one of the application programs, from a request for access to the device in the first mode; (2) passing said request for access to the device in the second mode to a device driver; (3) blocking by the device driver requests from others of the application programs for access to the device in either the first mode or the second mode; and (4) entirely bypassing the operating system and accessing the device directly by the application program that issued the request for access in the second mode, without interruption for both input and output access, after step (2), by any operating system processes or interfaces between the device and the application program, until the application program completes its direct accessing. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
Specification