Re: [PATCH 9/9] target-arm: A64: implement SVC, BRK

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/09/2013 10:12 AM, Peter Maydell wrote:
> +    case 0:
> +        /* SVC, HVC, SMC; since we don't support the Virtualization
> +         * or TrustZone extensions these all UNDEF except SVC.
> +         */
> +        if (op2_ll != 1) {
> +            unallocated_encoding(s);
> +            break;
> +        }
> +        gen_exception_insn(s, 0, EXCP_SWI);
> +        break;

Should the imm16 should be stored somewhere, for exception.syndrome?

I can only presume from this that the AA64 userland doesn't encode its syscall
number in the insn...

Otherwise,

Reviewed-by: Richard Henderson <rth@xxxxxxxxxxx>


r~
_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm




[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux