SLIDE 1
CPSC 410/611 : Operating Systems Virtualization (Addendum 2) 1
Formal Virtualization Reqs.
- Def: Machine State: S = <E, M, P, R>
– E executable storage – M processor mode – P program counter – R relocation-bounds register
- Def: Instruction i is privileged iff for any pair
- f states S1 = <e, super, p, r> and
S2 = <e, user, p, r> in which i(S1) and i(S2) do not memory trap: i(S2) traps and i(S1) does not.
- Example: … many
- Def: Instruction i is control sensitive if there
exists a state S1 = <e1, m1, p1, r1>, and i(S1) = S2 = <e2, m2, p2, r2> such that i(S1) does not memory trap, and either r1 != r2, or m1 != m2, or both.
- Example: manipulate PSW
Formal Virtualization Reqs. (2)
- Def: Machine State: S = <E, M, P, R>
– E executable storage – M processor mode – P program counter – R relocation-bounds register
- Def: Instruction i is behavior sensitive if
there exists an integer x and states: (a) S1 = <e | r, m1, p, r>, and (b) S2 = <e | r * x, m2, p, r * x>, where …
- Intuitively, and instruction is behavior
sensitive if the effect of its execution depends on the value of the relocation-bounds register, i.e. upon its location in real memory,
- r on the mode.
- Example: load physical address!