|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] ia64: Minor cleanup
ChangeSet 1.1236.59.3, 2005/04/05 09:58:08-06:00, djm@djmnc4000.(none)
ia64: Minor cleanup
arch/ia64/domain.c | 3 ++-
include/asm-ia64/vhpt.h | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff -Nru a/xen/arch/ia64/domain.c b/xen/arch/ia64/domain.c
--- a/xen/arch/ia64/domain.c 2005-04-06 09:03:18 -04:00
+++ b/xen/arch/ia64/domain.c 2005-04-06 09:03:18 -04:00
@@ -246,13 +246,14 @@
#endif
regs = (struct pt_regs *) ((unsigned long) ed + IA64_STK_OFFSET) - 1;
sw = (struct switch_stack *) regs - 1;
+ memset(sw,0,sizeof(struct switch_stack)+sizeof(struct pt_regs));
new_rbs = (unsigned long) ed + IA64_RBS_OFFSET;
regs->cr_ipsr = ia64_getreg(_IA64_REG_PSR)
| IA64_PSR_BITS_TO_SET | IA64_PSR_BN
& ~(IA64_PSR_BITS_TO_CLEAR | IA64_PSR_RI | IA64_PSR_IS);
regs->cr_ipsr |= 2UL << IA64_PSR_CPL0_BIT; // domain runs at PL2
regs->cr_iip = start_pc;
- regs->ar_rsc = 0xf; /* eager mode, privilege level 1 */
+ regs->ar_rsc = 0; /* lazy mode */
regs->ar_rnat = 0;
regs->ar_fpsr = sw->ar_fpsr = FPSR_DEFAULT;
regs->loadrs = 0;
diff -Nru a/xen/include/asm-ia64/vhpt.h b/xen/include/asm-ia64/vhpt.h
--- a/xen/include/asm-ia64/vhpt.h 2005-04-06 09:03:18 -04:00
+++ b/xen/include/asm-ia64/vhpt.h 2005-04-06 09:03:18 -04:00
@@ -135,7 +135,7 @@
// VHPT_CCHAIN_LOOKUP is intended to run with psr.i+ic off
#define VHPT_CCHAIN_LOOKUP(Name, i_or_d) \
\
-Name:; \
+CC_##Name:; \
mov r31 = pr; \
mov r16 = cr.ifa; \
movl r30 = int_counts; \
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] ia64: Minor cleanup,
BitKeeper Bot <=
|
|
|
|
|