[prev in list] [next in list] [prev in thread] [next in thread]
List: xen-cvs
Subject: [Xen-changelog] [xen master] x86/EFI: fix runtime call status for compat mode Dom0
From: patchbot () xen ! org
Date: 2013-04-29 18:55:23
Message-ID: E1UWtER-0003Tc-DR () xenbits ! xen ! org
[Download RAW message or body]
commit a7ac9597a7fc6ca934957eb78b41e26638281953
Author: Jan Beulich <jbeulich@suse.com>
AuthorDate: Mon Apr 29 11:27:54 2013 +0200
Commit: Jan Beulich <jbeulich@suse.com>
CommitDate: Mon Apr 29 11:27:54 2013 +0200
x86/EFI: fix runtime call status for compat mode Dom0
The top two bits (indicating error/warning classification) need to
remain the top two bits.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
---
xen/arch/x86/efi/runtime.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/xen/arch/x86/efi/runtime.c b/xen/arch/x86/efi/runtime.c
index be3f537..37bb535 100644
--- a/xen/arch/x86/efi/runtime.c
+++ b/xen/arch/x86/efi/runtime.c
@@ -531,7 +531,7 @@ int efi_runtime_call(struct xenpf_efi_runtime_call *op)
#ifndef COMPAT
op->status = status;
#else
- op->status = (status & 0x3fffffff) | (status >> 62);
+ op->status = (status & 0x3fffffff) | ((status >> 32) & 0xc0000000);
#endif
return rc;
--
generated by git-patchbot for /home/xen/git/xen.git#master
_______________________________________________
Xen-changelog mailing list
Xen-changelog@lists.xen.org
http://lists.xensource.com/xen-changelog
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic