IP Library Granted Patent US 12,530,200
Granted Patent B2
US 12,530,200 · App. 18/575,785 · Granted Jan 20, 2026

System and method for triggering a zero-cycle context switch

Inventors: Jian Wei (San Diego, CA); Yanming Wang (San Diego, CA); Shiping Li (San Diego, CA)
Assignee: GREATER SHINE LIMITED
G06F9/3851G06F9/4818
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 12,530,200
App. No.
18/575,785
Granted
Jan 20, 2026
Kind
B2
Abstract

According to one aspect of the present disclosure, a processor is disclosed. The processor may include a plurality of registers. The plurality of registers may include a first set of registers associated with a regular mode thread. The plurality of registers may also include a second set of registers associated with an interrupt service thread. The processor may also include a processing core. The processing core may be configured to perform first operations associated with the regular mode thread. The processing core may be configured to receive an interrupt service signal associated with the interrupt service thread. In response to the interrupt service signal, the processing core may be configured to implement a zero-cycle context switch to perform second operations associated with the interrupt service thread using the second set of registers.

Claims (59)

1 . A processor, comprising:

a plurality of registers comprising:

a first set of registers associated with a regular mode thread; and

a second set of registers associated with an interrupt service thread,

a processing core configured to:

perform first operations associated with the regular mode thread;

receive an interrupt service signal associated with the interrupt service thread; and

in response to the interrupt service signal, implement a zero-cycle context switch to perform second operations associated with the interrupt service thread using the second set of registers,

wherein the processing core is configured to implement the zero-cycle context switch by:

pausing the first operations associated with the regular mode thread; and

maintaining first information associated with the first operations using the first set of registers, and wherein

in response to a completion of the interrupt service thread, the processing core is configured to implement the zero-cycle context switch to resume the first operations associated with the regular mode thread based on the first information maintained by the first set of registers.

2 . The processor of claim 1 , wherein the processing core is further configured to implement the zero-cycle context switch by:

performing second operations associated with the interrupt service thread; and

maintaining, using the second set of registers, second information associated with the interrupt service thread.

3 . The processor of claim 1 , wherein the first set of registers are dedicated to the regular mode thread.

4 . The processor of claim 1 , wherein the second set of registers are dedicated to the interrupt service thread.

5 . The processor of claim 1 , wherein the zero-cycle context switch includes a hardware-based context switch.

6 . The processor of claim 1 , wherein the zero-cycle context switch is implemented without a software-based context switch.

7 . The processor of claim 1 , wherein the plurality of registers includes a general-purpose register (GPR) file.

8 . A system-on-chip (SoC), comprising:

a memory; and

a processor comprising:

a plurality of registers comprising:

a first set of registers associated with a regular mode thread; and

a second set of registers associated with an interrupt service thread,

a processing core configured to:

perform first operations associated with the regular mode thread;

receive an interrupt service signal associated with the interrupt service thread; and

in response to the interrupt service signal, implement a zero-cycle context switch to perform second operations associated with the interrupt service thread using the second set of registers,

wherein the processing core is configured to implement the zero-cycle context switch by:

pausing the first operations associated with the regular mode thread; and

maintaining first information associated with the first operations using the first set of registers, and wherein

in response to a completion of the interrupt service thread, the processing core is configured to implement the zero-cycle context switch to resume the first operations associated with the regular mode thread based on the first information maintained by the first set of registers.

9 . The SoC of claim 8 , wherein the processing core is further configured to implement the zero-cycle context switch by:

performing second operations associated with the interrupt service thread; and

maintaining, using the second set of registers, second information associated with the interrupt service thread.

10 . The SoC of claim 8 , wherein the first set of registers are dedicated to the regular mode thread.

11 . The SoC of claim 10 , wherein the second set of registers are dedicated to the interrupt service thread.

12 . The SoC of claim 8 , wherein the zero-cycle context switch includes a hardware-based context switch.

13 . The SoC of claim 8 , wherein the zero-cycle context switch is implemented without a software-based context switch.

14 . The SoC of claim 8 , wherein the plurality of registers includes a general-purpose register (GPR) file.

15 . A method of performing an interrupt service procedure, comprising:

performing, by a processor, first operations associated with a regular mode thread;

maintaining, by a first set of registers of the processor, first information associated with the regular mode thread;

receiving, by the processor, an interrupt service signal associated with an interrupt service thread; and

in response to the interrupt service signal, implementing, by the processor, a zero-cycle context switch to perform second operations associated with the interrupt service thread using a second set of registers different than the first set of registers,

wherein the first set of registers is associated with the regular mode thread, and the second set of registers is associated with the interrupt service thread, and

wherein the implementing the zero-cycle context switch comprises:

pausing, by the processor, the first operations associated with the regular mode thread; and

maintaining, by the first set of registers of the processor, first information associated with the regular mode thread, and

wherein the implementing the zero-cycle context switch further comprises:

in response to a completion of the interrupt service thread, implementing, by the processor, the zero-cycle context switch to resume the first operations associated with the regular mode thread based on the first information maintained in the first set of registers.

16 . The method of claim 15 , wherein the implementing the zero-cycle context switch further comprises:

performing, by the processor, second operations associated with the interrupt service thread;

maintaining, by the second set of registers of the processor, second information associated with the interrupt service thread.

17 . The method of claim 15 , wherein:

the first set of registers are dedicated to the regular mode thread, and

the second set of registers are dedicated to the interrupt service thread.

Assignments (4)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 25, 2024
From: ZEKU, INC.
To: ZEKU TECHNOLOGY (SHANGHAI) CORP., LTD.
Reel/Frame 068689/0260 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 28, 2024
From: ZEKU TECHNOLOGY (SHANGHAI) CORP., LTD.
To: GREATER SHINE LIMITED
Reel/Frame 068429/0645 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 29, 2023
From: WEI, JIAN; WANG, YANMING; LI, SHIPIING
To: ZEKU, INC.
Reel/Frame 065985/0474 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 29, 2023
From: ZEKU, INC.
To: ZEKU TECHNOLOGY (SHANGHAI) CORP. LTD.
Reel/Frame 065985/0511 →
Continuity (1)
Related Publication 20240330037A1 · Oct 3, 2024
References Cited (8)
US 7567248B1 · Mark · 2009 [cited by examiner]
US 20010056456A1 · Cota-Robles · 2001 [cited by applicant]
US 20020038416A1 · Fotland · 2002 [cited by examiner]
US 20140082298A1 · Jungwirth · 2014 [cited by examiner]
US 20150019847A1 · Catherwood · 2015 [cited by applicant]
Singh et al. “DARK: Designing A High Performance Micro-kernel for Power Electronics Controllers.” In: 2002 CPES Conference, 2002 [online] [retrieved on Nov. 3, 2021 (Nov. 3, 2021)], entire document. 6 pages. [cited by applicant]
International Search Report in the international application No. PCT/US2021/049405, mailed on Dec. 7, 2021. 2 pages. [cited by applicant]
Written Opinion of the International Search Authority in the international application No. PCT/US2021/049405, mailed on Dec. 7, 2021. 6 pages. [cited by applicant]