1ebb58dc2SBen Skeggs/*
2ebb58dc2SBen Skeggs * Copyright 2013 Red Hat Inc.
3ebb58dc2SBen Skeggs *
4ebb58dc2SBen Skeggs * Permission is hereby granted, free of charge, to any person obtaining a
5ebb58dc2SBen Skeggs * copy of this software and associated documentation files (the "Software"),
6ebb58dc2SBen Skeggs * to deal in the Software without restriction, including without limitation
7ebb58dc2SBen Skeggs * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8ebb58dc2SBen Skeggs * and/or sell copies of the Software, and to permit persons to whom the
9ebb58dc2SBen Skeggs * Software is furnished to do so, subject to the following conditions:
10ebb58dc2SBen Skeggs *
11ebb58dc2SBen Skeggs * The above copyright notice and this permission notice shall be included in
12ebb58dc2SBen Skeggs * all copies or substantial portions of the Software.
13ebb58dc2SBen Skeggs *
14ebb58dc2SBen Skeggs * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15ebb58dc2SBen Skeggs * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16ebb58dc2SBen Skeggs * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
17ebb58dc2SBen Skeggs * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
18ebb58dc2SBen Skeggs * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19ebb58dc2SBen Skeggs * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20ebb58dc2SBen Skeggs * OTHER DEALINGS IN THE SOFTWARE.
21ebb58dc2SBen Skeggs *
22ebb58dc2SBen Skeggs * Authors: Ben Skeggs
23ebb58dc2SBen Skeggs */
24ebb58dc2SBen Skeggs
25ebb58dc2SBen Skeggs#ifdef INCLUDE_PROC
26ebb58dc2SBen Skeggsprocess(PROC_PERF, #perf_init, #perf_recv)
27ebb58dc2SBen Skeggs#endif
28ebb58dc2SBen Skeggs
29ebb58dc2SBen Skeggs/******************************************************************************
30ebb58dc2SBen Skeggs * PERF data segment
31ebb58dc2SBen Skeggs *****************************************************************************/
32ebb58dc2SBen Skeggs#ifdef INCLUDE_DATA
33ebb58dc2SBen Skeggs#endif
34ebb58dc2SBen Skeggs
35ebb58dc2SBen Skeggs/******************************************************************************
36ebb58dc2SBen Skeggs * PERF code segment
37ebb58dc2SBen Skeggs *****************************************************************************/
38ebb58dc2SBen Skeggs#ifdef INCLUDE_CODE
39ebb58dc2SBen Skeggs
40ebb58dc2SBen Skeggs// description
41ebb58dc2SBen Skeggs//
42ebb58dc2SBen Skeggs// $r15 - current (perf)
43ebb58dc2SBen Skeggs// $r14 - sender process name
44ebb58dc2SBen Skeggs// $r13 - message
45ebb58dc2SBen Skeggs// $r12 - data0
46ebb58dc2SBen Skeggs// $r11 - data1
47ebb58dc2SBen Skeggs// $r0  - zero
48ebb58dc2SBen Skeggsperf_recv:
49ebb58dc2SBen Skeggs	ret
50ebb58dc2SBen Skeggs
51ebb58dc2SBen Skeggs// description
52ebb58dc2SBen Skeggs//
53ebb58dc2SBen Skeggs// $r15 - current (perf)
54ebb58dc2SBen Skeggs// $r0  - zero
55ebb58dc2SBen Skeggsperf_init:
56ebb58dc2SBen Skeggs	ret
57ebb58dc2SBen Skeggs#endif
58