
Security in Computing 5th Edition by Shari Lawrence Pfleeger, Charles P Pfleeger, Jonathan Margulies
Edition 5ISBN: 0134085043
Security in Computing 5th Edition by Shari Lawrence Pfleeger, Charles P Pfleeger, Jonathan Margulies
Edition 5ISBN: 0134085043Explain how a fence register is used for relocating a user’s program.
Step 1 of 4
Relocation
The process of relocation is to take the written program as if it starts from the address 0 and change the addresses related to it to reflect the actual address of the data. To change the addresses generally requires the addition of constant factors to them.
The ways to achieve relocation with the fence are given below:
• Relocation with fixed fence
If the Operating System is of fixed size, the program writes their code with the fact that the program begins at constant address; thus address of each object can be determined easily. The disadvantage with fixed address is introduced when the address location needs to be changed, since with the fixed partition the address cannot be changed giving rise to the use of dynamic address allocation.
Step 2 of 4
Step 3 of 4
Step 4 of 4
Why don’t you like this exercise?
Other
