Patent ID: 11941259
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 7:
8. A computer system comprising:
a chip;
a first memory coupled to the chip and comprising a first safety level;
a first subsystem coupled to the first memory, the first subsystem having a first subsystem safety level, the first subsystem comprising:
a memory access checker integrated on the chip and comprising:
a transceiver configured to receive a memory access request from a memory access initiator, the memory access request comprising a first memory address of the first memory to be accessed by the memory access initiator and a memory access initiator safety level of the memory access initiator; and
a processor coupled to the transceiver and configured to:
determine, based on the preconfigured memory safety level division information, whether the first memory safety level matches the memory access initiator safety level, the preconfigured memory safety level division information indicating safety levels of memories in different address segments of the computer system; and
allow the memory access initiator to access the first memory when the first memory safety level matches the memory access initiator safety level; and

a first central processing unit (CPU) core integrated on the chip and coupled to the memory access checker;
a partition manager configured to:
configure a first memory safety level of a first memory based on a safety level configuration file of the computer system, the safety level configuration file indicating the first memory safety level of the first memory;
configure a memory access initiator safety level of a memory access initiator of the computer system; and
write a preconfigured memory safety level division information into a memory access checker of the computer system; and

a second subsystem comprising a second CPU core integrated on the chip,
wherein the first subsystem safety level of the first subsystem is higher than a second subsystem safety level of the second subsystem.