-
1.
公开(公告)号:US20240211415A1
公开(公告)日:2024-06-27
申请号:US18534765
申请日:2023-12-11
Applicant: Realtek Semiconductor Corp.
Inventor: Xu Pan , JIALIN MEI , HONG CHANG
CPC classification number: G06F13/1663 , G06F9/4498 , G06F13/1668
Abstract: A method for sharing a storage device among multiple processors and an associated electronic device are provided. The method includes: controlling a first processor and a second processor to operate in an access mode and a detection mode, respectively; in response to the first processor operating in the access mode, utilizing the first processor to control a logic value of a busy signal, to indicate that the first processor has permission to access the storage device; in response to a first predetermined condition, controlling the first processor to enter the detection mode from the access mode; in response to a second predetermined condition, controlling the second processor to enter the access mode from the detection mode; and in response to the second processor operating in the access mode, utilizing the second processor to control the logic value of the busy signal, to indicate that the second processor has the permission.