commit | 86935fc4ee4d95efe01b6c91cd5143fa4c38c02b | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Mon Apr 22 14:10:41 2013 +0930 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Mon Apr 22 15:45:02 2013 +0930 |
tree | bac296987d1d5fbb756912e643e7faa23c663e1b | |
parent | 3412b6ae2924e068f9932f841bdea0f2d8424502 [diff] |
lguest: map Switcher text whenever we allocate a new pagetable. It's always to same, so no need to put in the PTE every time we're about to run. Keep a flag to track whether the pagetable has the Switcher entries allocated, and when allocating always initialize the Switcher text PTE. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>