summaryrefslogtreecommitdiff
path: root/compiler/arm/cpuinfo.pas
diff options
context:
space:
mode:
authorflorian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2>2011-04-10 19:20:48 +0000
committerflorian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2>2011-04-10 19:20:48 +0000
commit160cc1e115eeb75638dce6effdd16b2bc810ddb4 (patch)
treeb791a95695a7cf674e61a6153139c6f9c6c491fa /compiler/arm/cpuinfo.pas
parent3843727e74b31bbf2a34e7e3b89ee422269f770e (diff)
parent413a6aa6469e6c297780217a27ca91363c637944 (diff)
downloadfpc-avr.tar.gz
* rebase to trunk@17295avr
git-svn-id: http://svn.freepascal.org/svn/fpc/branches/avr@17296 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/arm/cpuinfo.pas')
-rw-r--r--compiler/arm/cpuinfo.pas17
1 files changed, 16 insertions, 1 deletions
diff --git a/compiler/arm/cpuinfo.pas b/compiler/arm/cpuinfo.pas
index 727f6a990d..e61bb46494 100644
--- a/compiler/arm/cpuinfo.pas
+++ b/compiler/arm/cpuinfo.pas
@@ -99,7 +99,9 @@ Const
pocall_softfloat,
{ same as stdcall (requires that all const records are passed by
reference, but that's already done for stdcall) }
- pocall_mwpascal
+ pocall_mwpascal,
+ { used for interrupt handling }
+ pocall_interrupt
];
cputypestr : array[tcputype] of string[8] = ('',
@@ -147,6 +149,19 @@ Const
'STELLARIS'
);
+ interruptvectors : array[tcontrollertype] of longint =
+ (0,
+ 8,
+ 8,
+ 8,
+ 8,
+ 8,
+ 8,
+ 8,
+ 12+59, { XL-density }
+ 12 { No model specified }
+ );
+
vfp_scalar = [fpu_vfpv2,fpu_vfpv3];
{ Supported optimizations, only used for information }