摘要 |
A method, apparatus or program, wherein threads execute under different operating systems running on the same processor. A first thread on a first operating system, generates a call, triggered by the first thread, to execute a second thread in the second operating system. Preferably the call includes an identifier to enable the second operating system to discriminate between threads on the first operating system. The second operating system can also use the identifier to switch to an inactive thread or to reject a call if it requires exclusive access to a resource currently in use by a different thread running on the second operating system. The call may be made using a software interrupt instruction. Switches between processing under control of the different operating systems preferably takes place by executing a monitor mode program (figure 2) where the first operating system executes in a non-secure domain and the second in a secure domain.
|