source: rtems/cpukit/score/cpu/nios2/nios2-context-volatile-clobber.S @ 2afb22b

5
Last change on this file since 2afb22b was c499856, checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 756 bytes
Line 
1/*
2 * Copyright (c) 2013 embedded brains GmbH.  All rights reserved.
3 *
4 *  embedded brains GmbH
5 *  Dornierstr. 4
6 *  82178 Puchheim
7 *  Germany
8 *  <rtems@embedded-brains.de>
9 *
10 * The license and distribution terms for this file may be
11 * found in the file LICENSE in this distribution or at
12 * http://www.rtems.org/license/LICENSE.
13 */
14
15#ifdef HAVE_CONFIG_H
16  #include "config.h"
17#endif
18
19#include <rtems/asm.h>
20
21        .set    noat
22        .section        .text
23
24        .global _CPU_Context_volatile_clobber
25
26_CPU_Context_volatile_clobber:
27
28        subi    at, r4, 11
29        subi    r2, r4, 12
30        subi    r3, r4, 13
31        subi    r5, r4, 1
32        subi    r6, r4, 2
33        subi    r7, r4, 3
34        subi    r8, r4, 4
35        subi    r9, r4, 5
36        subi    r10, r4, 6
37        subi    r11, r4, 7
38        subi    r12, r4, 8
39        subi    r13, r4, 9
40        subi    r14, r4, 10
41        subi    r15, r4, 11
42        ret
Note: See TracBrowser for help on using the repository browser.