Mapa mental
5.13 Limit Checking
Contenido del mapa
5.13 Limit Checking
Used to prevent a process from accessing memory locations outside segments allocated to that process
- in enforced when a process needs to access a memory location in a given segment and checks the location is within the segment
- Limit checking prevents programming errors or malicious programs crashing the OS or overwriting sensitive infomation
- in enforced when a process needs to access a memory location in a given segment and checks the location is within the segment
the limit check compares the value of an offset with the size of the segment
- The size of a segment is stored in the limit field of the segment descriptor and the G (granularity) bit
- G Bit = 0
- If the G bit is clear the size of the segment is the size of the limit field
- The limit is a 20 bit field
- segment cannot exceed 2/20 =1 MB
- The limit is a 20 bit field
- If the G bit is clear the size of the segment is the size of the limit field
- G Bit = 1
- When the G bit is set the size of the segment is multiplied by 2/12
- the size of the segment cannot exceed 2/32 = 4GB
- When the G bit is set the size of the segment is multiplied by 2/12
- G Bit = 0
- The size of a segment is stored in the limit field of the segment descriptor and the G (granularity) bit
Información
- Descripción
- Mapa Mental sobre 5.13 Limit Checking, creado por mark.a.staff el 25/03/2015.
- Creado por
- mark.a.staff
- Visitas
- 1
- Historial
-
- Creado por Craig Parker · 25 mar 2015
- Copiado por mark.a.staff · 25 mar 2015
- Valoración