comparison packages/hal/powerpc/ppc60x/current/src/variant.S @ 70:c5536bad4c24 ecos-sw-2000-02-11

Merge from eCos master repository on 2000-02-11-15:46:40-GMT
author jlarmour
date Fri, 11 Feb 2000 16:47:32 +0000
parents
children 435cced73e2f
comparison
equal deleted inserted replaced
69:9a9babddf7e7 70:c5536bad4c24
1 ##=============================================================================
2 ##
3 ## variant.S
4 ##
5 ## PowerPC PPC60x variant code
6 ##
7 ##=============================================================================
8 #####COPYRIGHTBEGIN####
9 #
10 # -------------------------------------------
11 # The contents of this file are subject to the Red Hat eCos Public License
12 # Version 1.1 (the "License"); you may not use this file except in
13 # compliance with the License. You may obtain a copy of the License at
14 # http://www.redhat.com/
15 #
16 # Software distributed under the License is distributed on an "AS IS"
17 # basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
18 # License for the specific language governing rights and limitations under
19 # the License.
20 #
21 # The Original Code is eCos - Embedded Configurable Operating System,
22 # released September 30, 1998.
23 #
24 # The Initial Developer of the Original Code is Red Hat.
25 # Portions created by Red Hat are
26 # Copyright (C) 1998, 1999, 2000 Red Hat, Inc.
27 # All Rights Reserved.
28 # -------------------------------------------
29 #
30 #####COPYRIGHTEND####
31 ##=============================================================================
32 #######DESCRIPTIONBEGIN####
33 ##
34 ## Author(s): jskov
35 ## Contributors:jskov
36 ## Date: 2000-02-04
37 ## Purpose: PowerPC PPC60x variant code
38 ## Description: Variant specific code for PowerPC 60x CPUs.
39 ##
40 ######DESCRIPTIONEND####
41 ##
42 ##=============================================================================
43
44 #include <pkgconf/system.h>
45 #include <pkgconf/hal.h>
46
47 #include <cyg/hal/variant.inc>
48
49 #---------------------------------------------------------------------------
50 # Interrupt vector tables.
51 # These tables contain the isr, data and object pointers used to deliver
52 # interrupts to user code.
53
54 #if (CYG_ISR_TABLE_SIZE > 2)
55 .data
56 #else
57 .section ".sdata","aw"
58 #endif
59
60 .extern hal_default_decrementer_isr
61 .extern hal_default_isr
62
63 .globl hal_interrupt_handlers
64 hal_interrupt_handlers:
65 .long hal_default_decrementer_isr
66 .rept CYG_ISR_TABLE_SIZE-1
67 .long hal_default_isr
68 .endr
69
70 .globl hal_interrupt_data
71 hal_interrupt_data:
72 .rept CYG_ISR_TABLE_SIZE
73 .long 0
74 .endr
75
76 .globl hal_interrupt_objects
77 hal_interrupt_objects:
78 .rept CYG_ISR_TABLE_SIZE
79 .long 0
80 .endr
81
82 ##-----------------------------------------------------------------------------
83 ## end of variant.S
84