aboutsummaryrefslogtreecommitdiff
path: root/sys/powerpc/aim
diff options
context:
space:
mode:
authorAttilio Rao <attilio@FreeBSD.org>2011-07-18 15:19:40 +0000
committerAttilio Rao <attilio@FreeBSD.org>2011-07-18 15:19:40 +0000
commit521ea19d1c941786d4b7feeff7ff5352336d4f64 (patch)
tree3d2deee4220ced3fd75b40dbd48afd2ed84428f6 /sys/powerpc/aim
parent9c931b6fdc08a3030225406b27c00e31c83244b7 (diff)
downloadsrc-521ea19d1c941786d4b7feeff7ff5352336d4f64.tar.gz
src-521ea19d1c941786d4b7feeff7ff5352336d4f64.zip
- Remove the eintrcnt/eintrnames usage and introduce the concept of
sintrcnt/sintrnames which are symbols containing the size of the 2 tables. - For amd64/i386 remove the storage of intr* stuff from assembly files. This area can be widely improved by applying the same to other architectures and likely finding an unified approach among them and move the whole code to be MI. More work in this area is expected to happen fairly soon. No MFC is previewed for this patch. Tested by: pluknet Reviewed by: jhb Approved by: re (kib)
Notes
Notes: svn path=/head/; revision=224187
Diffstat (limited to 'sys/powerpc/aim')
-rw-r--r--sys/powerpc/aim/locore32.S7
-rw-r--r--sys/powerpc/aim/locore64.S7
2 files changed, 10 insertions, 4 deletions
diff --git a/sys/powerpc/aim/locore32.S b/sys/powerpc/aim/locore32.S
index d0a377816691..ed74af2fc710 100644
--- a/sys/powerpc/aim/locore32.S
+++ b/sys/powerpc/aim/locore32.S
@@ -90,11 +90,14 @@ GLOBAL(esym)
#define INTRCNT_COUNT 256 /* max(HROWPIC_IRQMAX,OPENPIC_IRQMAX) */
GLOBAL(intrnames)
.space INTRCNT_COUNT * (MAXCOMLEN + 1) * 2
-GLOBAL(eintrnames)
+GLOBAL(sintrnames)
+ .word INTRCNT_COUNT * (MAXCOMLEN + 1) * 2
+
.align 4
GLOBAL(intrcnt)
.space INTRCNT_COUNT * 4 * 2
-GLOBAL(eintrcnt)
+GLOBAL(sintrcnt)
+ .word INTRCNT_COUNT * 4 * 2
.text
.globl btext
diff --git a/sys/powerpc/aim/locore64.S b/sys/powerpc/aim/locore64.S
index 5af5e3a53ef2..9a54b79a4cdd 100644
--- a/sys/powerpc/aim/locore64.S
+++ b/sys/powerpc/aim/locore64.S
@@ -90,11 +90,14 @@ GLOBAL(esym)
#define INTRCNT_COUNT 256 /* max(HROWPIC_IRQMAX,OPENPIC_IRQMAX) */
GLOBAL(intrnames)
.space INTRCNT_COUNT * (MAXCOMLEN + 1) * 2
-GLOBAL(eintrnames)
+GLOBAL(sintrnames)
+ .word INTRCNT_COUNT * (MAXCOMLEN + 1) * 2
+
.align 4
GLOBAL(intrcnt)
.space INTRCNT_COUNT * 4 * 2
-GLOBAL(eintrcnt)
+GLOBAL(sintrcnt)
+ .word INTRCNT_COUNT * 4 * 2
.text
.globl btext