Patent ID: 9092372
Filing Date: 2015-07-28
Classification: G06F

Abstract:
1. A memory access authority control method, applicable to a memory comprising a command address space and a service address space, the command address space storing a plurality of caller programs corresponding to a plurality of non-overlapped program counter value intervals, respectively, the service address space storing a plurality of non-overlapped permissible access intervals corresponding to the plurality of caller programs, respectively, the memory access authority control method comprising: accessing a first caller program among the plurality of caller programs in the command address space according to a current program counter value stored in a program counter; querying a look-up table for a first permissible access interval in the service address space according to the current program counter value, wherein the look-up table stores a plurality of mapping relationships between the plurality of program counter intervals and the plurality of permissible access intervals in the service address space; determining whether an access target address of the first caller program falls in the first permissible access interval to generate a result; and determining whether to permit an access of the first caller program to the service address space according to the result.