System for invoking a privileged function in a device
AssigneeQUALCOMM Incorporated
InventorsBrian Harold Kelley, Ramesh Chandrasekhar
Life of this patent
Estimating the term…
Abstract
System for invoking a privileged function in a device. The system includes a method that allows an application to invoke a function on a device, wherein the device includes at least two operating modes comprising a privileged mode and a non-privileged mode, and the function executes in the privileged mode. The method includes receiving a request from the application to invoke the function and determining the operating mode of the application. The method also includes invoking the function using an interrupt, if the application is executing in the non-privileged mode, wherein the function is executed within the same task as the application. The method also includes invoking the function directly, if the application is executing in the privileged mode.
Claims18
A method for allowing an application to invoke a function on a device, wherein the device includes at least two operating modes comprising a privileged mode and a non-privileged mode, and the function executes in the privileged mode, the method comprising:
- receiving a request from the application to invoke the function;
- determining the operating mode of the application;
- invoking the function using an interrupt, if the application is executing in the non-privileged mode, wherein the function is executed within the same task as the application;
- and
- invoking the function directly, if the application is executing in the privileged mode.
Apparatus for allowing an application to invoke a function on a device, wherein the device includes at least two operating modes comprising a privileged mode and a non-privileged mode, and the function executes in the privileged mode, the apparatus comprising:
- logic that receives a request from the application to invoke the function;
- logic that determines the operating mode of the application;
- logic to invoke the function using an interrupt, if the application is executing in the non-privileged mode, wherein the function is executed within the same task as the application;
- and
- logic to invoke the function directly, if the application is executing in the privileged mode.
Apparatus for allowing an application to invoke a function on a device, wherein the device includes at least two operating modes comprising a privileged mode and a non-privileged mode, and the function executes in the privileged mode, the apparatus comprising:
- means for receiving a request from the application to invoke the function;
- means for determining the operating mode of the application;
- means for invoking the function using an interrupt, if the application is executing in the non-privileged mode, wherein the function is executed within the same task as the application;
- and
- means for invoking the function directly, if the application is executing in the privileged mode.
A computer-readable media comprising instructions, which when executed by a processor in a device, operate to allow an application to invoke a function on a device, wherein the device includes at least two operating modes comprising a privileged mode and a non-privileged mode, and the function executes in the privileged mode, the computer-readable media comprising:
- instructions for receiving a request from the application to invoke the function;
- instructions for determining the operating mode of the application;
- instructions for invoking the function using an interrupt, if the application is executing in the non-privileged mode, wherein the function is executed within the same task as the application;
- and
- instructions for invoking the function directly, if the application is executing in the privileged mode.
Dependencies are inferred from the claim text.