To provide an on-vehicle computer capable of reducing a processing load for switching the state of multiple physical devices accompanied by a task context switch pertaining multiple virtual devices.SOLUTION: An on-vehicle computer comprises a physical resource including a processor with a register and including multiple physical devices with a register. The on-vehicle computer to generate multiple virtual devices by performing a time-division of the physical resource and assigning them saves a processor register value pertaining to a first virtual device and restores the register value of the processor pertaining to a second virtual device when switching from the first virtual device to the second virtual device. The on-vehicle computer determines whether it is necessary to change the register value of the physical device used by the second virtual device when switching from the first virtual device to the second virtual device, and restores the register value of the physical device pertaining to the second virtual device in the physical device when it is determined that changes are necessary.SELECTED DRAWING: Figure 7
【課題】複数の仮想装置に係るタスクコンテキストスイッチに伴う複数の物理デバイスの状態の切り替え処理負荷を低減することができる車載コンピュータを提供する。【解決手段】レジスタを有するプロセッサ及びレジスタを有する複数の物理デバイスを含む物理リソースを備え、物理リソースを時分割して割り当てることにより、複数の仮想装置を生成する車載コンピュータは、第1の仮想装置から第2の仮想装置へ切り替える場合、第1の仮想装置に係るプロセッサのレジスタ値を退避し、第2の仮想装置に係るプロセッサのレジスタ値を復元し、第1の仮想装置から第2の仮想装置へ切り替える場合、第2の仮想装置が使用する物理デバイスのレジスタ値の変更の要否を判定し、変更要と判定した場合、第2の仮想装置に係る物理デバイスのレジスタ値を物理デバイスに復元する。【選択図】図7
ON-VEHICLE COMPUTER, COMPUTER EXECUTION METHOD, AND COMPUTER PROGRAM
車載コンピュータ、コンピュータ実行方法及びコンピュータプログラム
2022-07-29
Patent
Elektronische Ressource
Japanisch
IN-VEHICLE COMPUTER, COMPUTER EXECUTION METHOD, AND COMPUTER PROGRAM
Europäisches Patentamt | 2022
|ON-VEHICLE COMPUTER, COMPUTER EXECUTION METHOD, AND COMPUTER PROGRAM
Europäisches Patentamt | 2020
|In-vehicle computer, computer execution method, and computer program
Europäisches Patentamt | 2023
|ON-BOARD COMPUTER, COMPUTER EXECUTION METHOD, AND COMPUTER PROGRAM
Europäisches Patentamt | 2022
|ON-BOARD COMPUTER, COMPUTER EXECUTION METHOD AND COMPUTER PROGRAM
Europäisches Patentamt | 2020
|