DATA TRANSMISSION METHOD AND APPARATUS

    公开(公告)号:US20230038051A1

    公开(公告)日:2023-02-09

    申请号:US17961790

    申请日:2022-10-07

    Abstract: A data transmission method and apparatus are provided. The data transmission method is applied to a computer system including at least two coprocessors, for example, including a first coprocessor and a second coprocessor. A shared memory is deployed between the first coprocessor and the second coprocessor, and is configured to store data generated when subtasks are separately executed. Further, the shared memory further stores a storage address of data generated when a subtask is executed, and a mapping relationship between each subtask and a coprocessor that executes the subtask. Therefore, a storage address of data to be read by the coprocessor may be found based on the mapping relationship, and the data may further be directly read from the shared memory without being copied by using a system bus. This improves efficiency of data transmission between the coprocessors.

    METHOD AND APPARATUS FOR EXECUTING NON-MASKABLE INTERRUPT

    公开(公告)号:US20180225143A1

    公开(公告)日:2018-08-09

    申请号:US15947491

    申请日:2018-04-06

    Abstract: A method and an apparatus execute a non-maskable interrupt. The method includes: obtaining a secure interrupt request in a non-secure mode, and interrupting an operation of an operating system OS, where the secure interrupt request cannot be masked; entering a secure mode by using the secure interrupt request, and saving, in the secure mode, an interrupt context of an OS status when the operation of the OS is interrupted; returning to the non-secure mode to execute user-defined processing; after the user-defined processing is completed, entering the secure mode again, and resuming the OS status in the secure mode according to the interrupt context; and returning to the non-secure mode again, and continuing to execute an operation of the OS. The method and the apparatus for executing a non-maskable interrupt in embodiments of the present invention can easily implement an NMI mechanism without depending on hardware.

    METHOD AND APPARATUS FOR EXECUTING NON-MASKABLE INTERRUPT

    公开(公告)号:US20210208925A1

    公开(公告)日:2021-07-08

    申请号:US17207186

    申请日:2021-03-19

    Abstract: Method and systems for executing a non-maskable interrupt are provided. In one aspect, a method for executing a non-maskable interrupt includes: obtaining an interrupt request in a non-secure mode, and interrupting an operation of an operating system (OS); saving, in a secure mode, a status of the OS when the operation of the OS is interrupted; executing, in the non-secure mode, a procedure defined for the interrupt request; resume, in the secure mode, the status of the OS; and after resuming the status of the OS, continue executing the operation of the OS in the non-secure mode.

    Method And Apparatus For Executing Non-Maskable Interrupt

    公开(公告)号:US20200034187A1

    公开(公告)日:2020-01-30

    申请号:US16592144

    申请日:2019-10-03

    Abstract: The present invention discloses a method and an apparatus for executing a non-maskable interrupt. The method includes: obtaining a secure interrupt request in a non-secure mode, and interrupting an operation of an operating system OS, where the secure interrupt request cannot be masked; entering a secure mode by using the secure interrupt request, and saving, in the secure mode, an interrupt context of an OS status when the operation of the OS is interrupted; returning to the non-secure mode to execute user-defined processing; after the user-defined processing is completed, entering the secure mode again, and resuming the OS status in the secure mode according to the interrupt context; and returning to the non-secure mode again, and continuing to execute an operation of the OS. The method and the apparatus for executing a non-maskable interrupt in embodiments of the present invention can easily implement an NMI mechanism without depending on hardware.

Patent Agency Ranking