ia64/xen-unstable

changeset 5947:6e20607ca839

Add copyright info.

Signed-off-by Ke Yu <ke.yu@intel.com>
Signed-off-by Kevin Tian <kevin.tian@intel.com>
author fred@xuni-t01.sc.intel.com
date Tue Aug 02 02:05:50 2005 -0800 (2005-08-02)
parents 1efe6f4163ee
children 7e5868cb1b91
files xen/arch/ia64/pal_emul.c
line diff
     1.1 --- a/xen/arch/ia64/pal_emul.c	Mon Aug 01 12:19:36 2005 -0700
     1.2 +++ b/xen/arch/ia64/pal_emul.c	Tue Aug 02 02:05:50 2005 -0800
     1.3 @@ -1,7 +1,21 @@
     1.4 -/* PAL/SAL call delegation
     1.5 +/*
     1.6 + * PAL/SAL call delegation
     1.7   *
     1.8   * Copyright (c) 2004 Li Susie <susie.li@intel.com>
     1.9   * Copyright (c) 2005 Yu Ke <ke.yu@intel.com>
    1.10 + *
    1.11 + * This program is free software; you can redistribute it and/or modify it
    1.12 + * under the terms and conditions of the GNU General Public License,
    1.13 + * version 2, as published by the Free Software Foundation.
    1.14 + *
    1.15 + * This program is distributed in the hope it will be useful, but WITHOUT
    1.16 + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    1.17 + * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
    1.18 + * more details.
    1.19 + *
    1.20 + * You should have received a copy of the GNU General Public License along with
    1.21 + * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
    1.22 + * Place - Suite 330, Boston, MA 02111-1307 USA.
    1.23   */
    1.24  
    1.25  #include <asm/vmx_vcpu.h>
    1.26 @@ -98,23 +112,6 @@ pal_halt (VCPU *vcpu) {
    1.27  
    1.28  static struct ia64_pal_retval
    1.29  pal_halt_light (VCPU *vcpu) {
    1.30 -#if 0	
    1.31 -	// GVMM will go back to HVMM and ask HVMM to call yield().
    1.32 -	vmmdata.p_ctlblk->status = VM_OK;
    1.33 -	vmmdata.p_ctlblk->ctlcode = ExitVM_YIELD;
    1.34 -
    1.35 -	vmm_transition((UINT64)&vmmdata.p_gsa->guest,
    1.36 -    			(UINT64)&vmmdata.p_gsa->host,
    1.37 -    			(UINT64) vmmdata.p_tramp,0,0);
    1.38 -
    1.39 -
    1.40 -	result.status = 0;
    1.41 -	result.pal_result[0]=0;
    1.42 -	result.pal_result[1]=0;
    1.43 -	result.pal_result[2]=0;
    1.44 -
    1.45 -	return result;
    1.46 -#endif
    1.47  	struct ia64_pal_retval result;
    1.48  
    1.49  	result.status= -1; //unimplemented