12e1ae9c0SLiu Yu-B13201/* 22e1ae9c0SLiu Yu-B13201 * Copyright (C) 2012 Freescale Semiconductor, Inc. 32e1ae9c0SLiu Yu-B13201 * 42e1ae9c0SLiu Yu-B13201 * This program is free software; you can redistribute it and/or 52e1ae9c0SLiu Yu-B13201 * modify it under the terms of the GNU General Public License 62e1ae9c0SLiu Yu-B13201 * as published by the Free Software Foundation; either version 72e1ae9c0SLiu Yu-B13201 * 2 of the License, or (at your option) any later version. 82e1ae9c0SLiu Yu-B13201 */ 92e1ae9c0SLiu Yu-B13201 102e1ae9c0SLiu Yu-B13201#include <linux/threads.h> 112e1ae9c0SLiu Yu-B13201#include <asm/reg.h> 122e1ae9c0SLiu Yu-B13201#include <asm/page.h> 132e1ae9c0SLiu Yu-B13201#include <asm/cputable.h> 142e1ae9c0SLiu Yu-B13201#include <asm/thread_info.h> 152e1ae9c0SLiu Yu-B13201#include <asm/ppc_asm.h> 162e1ae9c0SLiu Yu-B13201#include <asm/asm-offsets.h> 172e1ae9c0SLiu Yu-B13201 182e1ae9c0SLiu Yu-B13201/* Hypercall entry point. Will be patched with device tree instructions. */ 192e1ae9c0SLiu Yu-B13201.global epapr_hypercall_start 202e1ae9c0SLiu Yu-B13201epapr_hypercall_start: 212e1ae9c0SLiu Yu-B13201 li r3, -1 222e1ae9c0SLiu Yu-B13201 nop 232e1ae9c0SLiu Yu-B13201 nop 242e1ae9c0SLiu Yu-B13201 nop 252e1ae9c0SLiu Yu-B13201 blr 26