diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-09-11 11:56:49 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-09-11 11:56:49 +0100 |
commit | 3f88f7f2b960bc6230cecda3e5cce3f44b78477e (patch) | |
tree | 506db3710f176990478b8453c13bb312b255da31 /xen/xsm/dummy.c | |
parent | 7dbee4c5cd2cd00838be92eff210dfe9f30fd487 (diff) | |
download | xen-3f88f7f2b960bc6230cecda3e5cce3f44b78477e.tar.gz xen-3f88f7f2b960bc6230cecda3e5cce3f44b78477e.tar.bz2 xen-3f88f7f2b960bc6230cecda3e5cce3f44b78477e.zip |
xsm: XSM foreigndom usage bug
- This patch corrects an unsafe/incorrect usage of FOREIGNDOM. The
value of FOREIGNDOM is now passed through the XSM interface.
Corresponding updates to the Flask module are included in this patch.
- This patch also includes a minor header update to allow the Flask
module to compile after recent updates to Xen.
Signed-off-by: George Coker <gscoker@alpha.ncsc.mil>
Diffstat (limited to 'xen/xsm/dummy.c')
-rw-r--r-- | xen/xsm/dummy.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/xen/xsm/dummy.c b/xen/xsm/dummy.c index 96ba83f6d3..d14172e41a 100644 --- a/xen/xsm/dummy.c +++ b/xen/xsm/dummy.c @@ -400,7 +400,8 @@ static int dummy_domain_memory_map (struct domain *d) return 0; } -static int dummy_mmu_normal_update (struct domain *d, intpte_t fpte) +static int dummy_mmu_normal_update (struct domain *d, struct domain *f, + intpte_t fpte) { return 0; } @@ -410,7 +411,8 @@ static int dummy_mmu_machphys_update (struct domain *d, unsigned long mfn) return 0; } -static int dummy_update_va_mapping (struct domain *d, l1_pgentry_t pte) +static int dummy_update_va_mapping (struct domain *d, struct domain *f, + l1_pgentry_t pte) { return 0; } |