source: rtems/c/src/exec/score/cpu/hppa1.1/rtems.S @ 08311cc3

4.104.114.84.9
Last change on this file since 08311cc3 was 08311cc3, checked in by Joel Sherrill <joel.sherrill@…>, on Nov 17, 1999 at 5:51:34 PM

Updated copyright notice.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1/*  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$
14 */
15
16#include <rtems/score/hppa.h>
17#include <rtems/score/cpu_asm.h>
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
30cpu_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
Note: See TracBrowser for help on using the repository browser.