# US 2005/0097252 A1 · System for providing transitions between operating modes of a device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2005/0097252 A1
- Document ID: US20050097252A1
- Status: Published application
- Kind: A1
- Application number: 10/697,592
- Filed: 2003-10-29
- Published: 2005-05-05
- Earliest claimed: 2003-10-29
- Assignees: QUALCOMM Incorporated
- Inventors: Brian Kelley; Ramesh Chandrasekhar
- Web page: https://patentgrep.com/patent/US20050097252A1

## CPC

- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- G06F 9/468: {Specific access rights for resources, e.g. using capability register}
- G06F 9/4812: {by interrupt, e.g. masked}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

System for providing transitions between operating modes of a device. The system includes a method for providing transitions between a privileged and a non-privileged operating mode. The method comprises executing an application in the non-privileged mode, generating an interrupt to request the services of a privileged function, and transitioning to the privileged mode to execute the privileged function, wherein the privileged function is executed as part of the same thread of execution as the application.

## Claims

### Claim 1

A method for providing transitions between operating modes of a device, wherein the operating modes comprise a privileged mode and a non-privileged mode, and the method comprising:
executing an application in the non-privileged mode;
generating an interrupt to request the services of a privileged function; and
transitioning to the privileged mode to execute the privileged function, wherein the privileged function is executed as part of the same thread of execution as the application.

### Claim 2 (depends on 1)

The method of claim 1, wherein the interrupt is a software interrupt.

### Claim 3 (depends on 1)

The method of claim 1, further comprising validating that the privileged function is a trusted function.

### Claim 4 (depends on 1)

The method of claim 1, further comprising validating that the execution of the privileged function will not exceed access rights associated with the application.

### Claim 5 (depends on 1)

The method of claim 1, further comprising transitioning to the non-privileged mode to execute the application when the execution of the privileged function is completed.

### Claim 6 (depends on 1)

The method of claim 1, wherein the step of transitioning comprises switching to a privileged mode stack.

### Claim 7 (depends on 1)

The method of claim 1, wherein the device is a wireless device.

### Claim 8

Apparatus for providing transitions between operating modes of a device, wherein the operating modes comprise a privileged mode and a non-privileged mode, the apparatus comprising:
processing logic that operates to execute an application in the non-privileged mode;
interrupt logic that operates to receive an interrupt that requests the services of a privileged function; and
transition logic that operates to transition to the privileged mode to execute the privileged function, wherein the privileged function is executed as part of the same execution thread as the application.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein the interrupt is a software interrupt.

### Claim 10 (depends on 8)

The apparatus of claim 8, further comprising validation logic that operates to validate that the privileged function is a trusted function.

### Claim 11 (depends on 8)

The apparatus of claim 8, further comprising validation logic that operates to validate that the execution of the privileged function will not exceed access rights associated with the application.

### Claim 12 (depends on 8)

The apparatus of claim 8, wherein the device is a wireless device.

### Claim 13

Apparatus for providing transitions between operating modes of a device, wherein the operating modes comprise a privileged mode and a non-privileged mode, the apparatus comprising:
means for executing an application in the non-privileged mode;
means for receiving an interrupt that requests the services of a privileged function; and
means for transitioning to the privileged mode to execute the privileged function, wherein the privileged function is executed as part of the same execution thread as the application.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein the interrupt is a software interrupt.

### Claim 15 (depends on 13)

The apparatus of claim 13, further comprising means for validating that the privileged function is a trusted function.

### Claim 16 (depends on 13)

The apparatus of claim 13, further comprising means for validating that the execution of the privileged function will not exceed access rights associated with the application.

### Claim 17 (depends on 13)

The apparatus of claim 13, wherein the device is a wireless device.

### Claim 18

A computer-readable media comprising instructions, which when executed by a processor in a device, operate to provide transitions between operating modes of the device, wherein the operating modes comprise a non privileged mode and a privileged mode, and the computer-readable media comprising:
instructions for executing an application in the non-privileged mode;
instructions for generating an interrupt to request the services of a privileged function; and
instructions for transitioning to the privileged mode to execute the privileged function, wherein the privileged function is executed as part of the same thread of execution as the application.

### Claim 19 (depends on 18)

The computer-readable media of claim 18, wherein the interrupt is a software interrupt.

### Claim 20 (depends on 18)

The computer-readable media of claim 18, further comprising instructions for validating that the privileged function is a trusted function.

### Claim 21 (depends on 18)

The computer-readable media of claim 18, further comprising instructions for validating that the execution of the privileged function will not exceed access rights associated with the application.

### Claim 22 (depends on 18)

The computer-readable media of claim 18, further comprising instructions for transitioning to the non-privileged mode to execute the application when the execution of the privileged function is completed.

### Claim 23 (depends on 18)

The computer-readable media of claim 18, wherein the instructions for transitioning comprise instructions for switching to a privileged mode stack.

### Claim 24 (depends on 18)

The computer-readable media of claim 18, wherein the device is a wireless device.
