Software and hardware tight coupling order preserving method and system
The embodiment of the invention provides a software and hardware tight coupling order preserving method and system. The order preserving method comprises the steps that the master core executes slave core calling; the slave core applies for a lock from the order-preserving module based on slave core...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention provides a software and hardware tight coupling order preserving method and system. The order preserving method comprises the steps that the master core executes slave core calling; the slave core applies for a lock from the order-preserving module based on slave core calling of the master core; the order-preserving module provides a lock application instruction for the main core based on a global order-preserving mechanism; and the main core determines to block the subsequent program or not block the subsequent program based on the instruction of the lock application. In the scheme, whether the subsequent program is blocked or not can be determined based on the instruction, so that system-level order-preserving and communication can be realized, polling and interruption overhead of lock and asynchronous calling and the like are reduced, and system performance is improved.
本公开的实施例提供了一种软硬件紧耦合的保序方法和系统。保序方法包括:主核执行从核调用;从核基于主核的从核调用,向保序模块申请锁;保序模块基于全局保序机制,向主核提供锁申请的指令;以及主核基于锁申请的指令,确定阻塞 |
---|