APPARATUS AND METHOD FOR PROTECTING MEMORY IN MULTI-PROCESSOR SYSTEM
First Claim
Patent Images
1. A memory protection method, comprising:
- extracting a segment address and a subsegment address from a memory address corresponding to a memory access, when a Central Processing Unit (CPU) attempts the memory access with respect to a memory;
comparing the extracted segment address with a segment base address, and when the segment base address is different from the extracted segment address, transmitting an exception signal to the CPU, the segment base address being comprised in a segment register, and the exception signal indicating that the memory access is disallowed; and
determining whether the subsegment address is comprised in a subsegment register, and when the subsegment address is not comprised in the subsegment register, transmitting the exception signal to the CPU.
2 Assignments
0 Petitions
Accused Products
Abstract
Memory mapping in small units using a segment and subsegments is described, and thus it is possible to control a memory access even using a small amount of hardware, and it is possible to reduce costs incurred by hardware. Additionally, it is possible to prevent a memory from being destroyed due to a task error in the multi-processor system.
-
Citations
14 Claims
-
1. A memory protection method, comprising:
-
extracting a segment address and a subsegment address from a memory address corresponding to a memory access, when a Central Processing Unit (CPU) attempts the memory access with respect to a memory; comparing the extracted segment address with a segment base address, and when the segment base address is different from the extracted segment address, transmitting an exception signal to the CPU, the segment base address being comprised in a segment register, and the exception signal indicating that the memory access is disallowed; and determining whether the subsegment address is comprised in a subsegment register, and when the subsegment address is not comprised in the subsegment register, transmitting the exception signal to the CPU. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A memory protection apparatus, comprising:
-
a subsegment register comprising a plurality of subsegment addresses; a segment register comprising a segment base address; and a Memory Protection Unit (MPU) to determine whether a memory access is allowed, based on the segment register and the subsegment register when a Central Processing Unit (CPU) attempts the memory access with respect to a memory, and to transmit an exception signal to the CPU when the memory access is disallowed, the exception signal indicating that the memory access is disallowed. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A computer system comprising:
-
a memory protection apparatus, comprising; an extractor to extract a segment address and a subsegment address from a memory address corresponding to a memory access; a comparator to compare the extracted segment address with a segment base address; and a transmitter to transmit an exception signal to a Central Processing Unit, if an exception condition exists. - View Dependent Claims (12, 13, 14)
-
Specification