Physical memory access method, electronic device, storage medium and program product

By using device function numbers to identify the access party and establishing mapping relationships within the IOPMP unit, the accuracy of peripheral access control within the IOPMP unit is resolved, and standardized management of peripheral access is achieved.

CN121543073BActive Publication Date: 2026-06-16SANECHIPS TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SANECHIPS TECH CO LTD
Filing Date
2026-01-20
Publication Date
2026-06-16

Smart Images

  • Figure CN121543073B_ABST
    Figure CN121543073B_ABST
Patent Text Reader

Abstract

The application discloses a physical memory access method, an electronic device, a storage medium and a program product. The method comprises the following steps: receiving a physical memory access request of a first access party, wherein the physical memory access request comprises a first device identifier, a target physical memory address and a target access right, the first device identifier comprises a device function number of the first access party in a bus structure; determining a first source identifier corresponding to the first device identifier according to a mapping relationship between a plurality of device identifiers and a plurality of source identifiers, wherein the plurality of device identifiers comprise device function numbers of a plurality of access parties in the bus structure; searching a target IOPMP entry from a plurality of IOPMP entries according to the first source identifier and the target physical memory address; performing right checking on the target access right according to the target IOPMP entry to obtain a checking result; and returning a physical memory access response to the first access party according to the checking result. In this way, the accuracy of the IOPMP unit in controlling the physical memory access right is improved.
Need to check novelty before this filing date? Find Prior Art