US 12,153,807 B2
Memory segmentation with substitution
Uri Kaluzhny, Beit Shemesh (IL); Nir Tasher, Herzliya (IL); Itay Admon, Pardes Hanna (IL); and Mark Luko, Herzliya (IL)
Assigned to WINBOND ELECTRONICS CORPORATION, Taichung (TW)
Filed by Winbond Electronics Corporation, Taichung (TW)
Filed on Jan. 29, 2023, as Appl. No. 18/161,064.
Prior Publication US 2024/0256150 A1, Aug. 1, 2024
Int. Cl. G06F 3/06 (2006.01); G06F 12/14 (2006.01)
CPC G06F 3/0622 (2013.01) [G06F 3/0637 (2013.01); G06F 3/0659 (2013.01); G06F 3/0673 (2013.01); G06F 12/1475 (2013.01)] 6 Claims
OG exemplary drawing
 
1. An apparatus, comprising:
a memory comprising a plurality of memory sections;
a Memory Section Attribute Storage (MSAS) comprising one or more entries, wherein at least some of the entries specify, for respective sections of the memory, respective section security policies, respective section base addresses and respective section sizes; and
a memory access circuit (MAC), configured to:
receive, from a host, a memory access request that specifies an address to be accessed in the memory;
identify a target memory section that corresponds to the address, responsively to the section base addresses and to the section sizes specified in the MSAS;
receive, from the MSAS, a security policy that corresponds to the target memory section; and
apply the security policy to the memory access request,
wherein the MAC is configured to determine that the address belongs to the target memory section, by identifying that a section-specifying set of bits of the address, a size of the set being derived from a section size in the entry of the of the target memory section, are equal to the corresponding bits of a base address in the entry of the target memory section, and
wherein the MSAS is further configured to perform address remapping between first and second memory sections of a same size, by swapping the section-specifying bits between the entries of the first and second sections.