OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [exec/] [score/] [cpu/] [hppa1.1/] [rtems.S] - Blame information for rev 593

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*  rtems.S
2
 *
3
 *  This file contains the single entry point code for
4
 *  the HPPA implementation of RTEMS.
5
 *
6
 *  COPYRIGHT (c) 1989-1999.
7
 *  On-Line Applications Research Corporation (OAR).
8
 *
9
 *  The license and distribution terms for this file may be
10
 *  found in the file LICENSE in this distribution or at
11
 *  http://www.OARcorp.com/rtems/license.html.
12
 *
13
 *  $Id: rtems.S,v 1.2 2001-09-27 11:59:24 chris Exp $
14
 */
15
 
16
#include 
17
#include 
18
 
19
        .SPACE $PRIVATE$
20
        .SUBSPA $DATA$,QUAD=1,ALIGN=8,ACCESS=31
21
        .SUBSPA $BSS$,QUAD=1,ALIGN=8,ACCESS=31,ZERO,SORT=82
22
        .SPACE $TEXT$
23
        .SUBSPA $LIT$,QUAD=0,ALIGN=8,ACCESS=44
24
        .SUBSPA $CODE$,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY
25
        .SPACE $TEXT$
26
        .SUBSPA $CODE$
27
 
28
        .align 32
29
        .EXPORT cpu_jump_to_directive,ENTRY,PRIV_LEV=0
30
cpu_jump_to_directive
31
        .PROC
32
        .CALLINFO FRAME=0,NO_CALLS
33
        .ENTRY
34
 
35
# invoke user interrupt handler
36
 
37
# XXX: look at register usage and code
38
# XXX: this is not necessarily right!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
39
# r9 = directive number
40
 
41
        .import   _Entry_points,data
42
        ldil      L%_Entry_points,%r8
43
        ldo       R%_Entry_points(%r8),%r8
44
        ldwx,s    %r9(%r8),%r8
45
 
46
        .call  ARGW0=GR
47
        bv,n      0(%r8)
48
        nop
49
 
50
        .EXIT
51
        .PROCEND
52
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.