IP Library Granted Patent US 7,475,398
Granted Patent B2
US 7,475,398 · App. 09/920,995 · Granted Jan 6, 2009

System and method for implementing a smart system call

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,475,398
App. No.
09/920,995
Granted
Jan 6, 2009
Kind
B2
Abstract

According to the present invention, a “smart system call” may be implemented. The smart system call employs a code “stub” that is used to make function calls to privileged memory locations. The code stub includes facilities to determine the current mode of execution (e.g., privileged, unprivileged), and where the current mode is sufficiently trusted, allows a direct access to the desired memory address. If the current mode is not sufficiently trusted (e.g., unprivileged), an alternate indirect system call mechanism may be employed, such as an interrupt-based, exception-based, or hardware-assisted system call. Additionally, the smart system call permits selection of a system call method based on processor type, which may be used, for example, for porting to processor architectures which support specialized hardware-assisted system call instructions.

Claims (7)

1. A method, comprising:

identifying a program code segment implementing an access to a memory area to be executed within a privileged processing mode;

replacing the program code segment with a substitute code segment;

wherein the substitute code segment includes program code to

identify a current processing mode of the program code segment,

execute a direct program flow control instruction if the current processing mode is the privileged processing mode, and

execute an indirect program flow control instruction if the current processing mode is an unprivileged processing mode.

Assignments (2)
RELEASE OF SECURITY INTEREST Recorded Dec 28, 2022
From: GUGGENHEIM CORPORATE FUNDING, LLC
To: WIND RIVER SYSTEMS, INC.
Reel/Frame 062239/0590 →
PATENT SECURITY AGREEMENT Recorded Dec 24, 2018
From: WIND RIVER SYSTEMS, INC.
To: GUGGENHEIM CORPORATE FUNDING, LLC
Reel/Frame 049148/0001 →