IP Library › Granted Patent US 8,132,002
Granted Patent B2
US 8,132,002 · App. 11/505,347 · Granted Mar 6, 2012

Fast system call method

Assignee: Shi-Wu Lo
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 8,132,002
App. No.
11/505,347
Granted
Mar 6, 2012
Kind
B2
Abstract

A method of a fast system call is provided. First, a logical operation to compute a kernel service routine is used. Then the logical operation result is compared with ciphertext from a key register. At least one input for the logical operation is from the relevant information of the required kernel service routine. For example, the start address of the kernel service routine or the content of the start address of the kernel service routine, or combinations thereof. If the logical operation result equals to the ciphertext of the key register, a switch from a user mode to a kernel mode to read the kernel service routine is allowed. Otherwise, the central processing system executes a corresponding exceptional handler routine. Then the operating system terminates the mode switch request and reports an error to the operating system.

Claims (19)

1. A fast system call method, comprising:

designating a ciphertext in a kernel service routine by a kernel, the ciphertext controlling an entry point to the kernel service routine;

requesting access to the kernel service routine by a user mode program;

computing the kernel service routine using a logical operation to generate a logical operation result;

comparing the logical operation result with the ciphertext; and

directly accessing the kernel service routine through the entry point if the logical operation result is equal to the ciphertext;

wherein the logical operation computes relevant information of the kernel service routine to generate the logical operation result;

wherein the logical operation is an AND operation, an OR operation, a NOT operation, an AND-NOT operation, an exclusive OR operation, a NOT exclusive OR operation, or a Data Encryption Standard, and

executing a corresponding exceptional handler routine if the logical operation result is not equal to the ciphertext.

2. The fast system call method of claim 1 , wherein a data segment and a code segment of the kernel service routine are stored in the same page.

3. A fast system call apparatus, comprising:

a kernel for designating a ciphertext in a kernel service routine, the ciphertext controlling an entry point to the kernel service routine;

a user mode program for requesting access to the kernel service routine; means for computing the kernel service routine using a logical operation to generate a logical operation result;

means for comparing the logical operation result with the ciphertext; and

means for directly accessing the kernel service routine through the entry point if the logical operation result is equal to the ciphertext,

wherein the logical operation computes relevant information of the kernel service routine to generate the logical operation result,

wherein the logical operation is an AND operation, an OR operation, a NOT operation, an AND-NOT operation, an exclusive OR operation, a NOT exclusive OR operation, or a Data Encryption Standard, and

means for executing a corresponding exceptional handler routine if the logical operation result is not equal to the ciphertext.

4. The fast system call apparatus of claim 3 , wherein a data segment and a code segment of the kernel service routine are stored in the same page.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 17, 2013
From: LO, SHI-WU
To: NATIONAL CHUNG CHENG UNIVERSITY
Reel/Frame 031325/0189 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 17, 2006
From: LO, SHI - WU; CHEN, TIEN-FU
To: LO, SHI - WU
Reel/Frame 018205/0849 →
Continuity (1)
Related Publication 20080046725A1 · Feb 21, 2008