From 9255670a9d9fab07e941008aa9e9edbf5b460c0b Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 16 Apr 2013 18:00:59 -0600 Subject: Fix major misthink in Cortex-M0 port: The Cortex-M0 has no BASEPRI register. We have to revert to using the nasty PRIMASK register --- nuttx/ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nuttx/ChangeLog') diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index 4fc39c64b..8e180e574 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -4556,3 +4556,8 @@ contributed by Alan Carvalho de Assis. NOTE: This is still very much a work inprogress as of this initial commit (2013-04-16). + * arm/arm/src/armv6-m and arch/arm/include/armv6-m: Ooops. Fix + a major screw-up: The Cortex-M0 has no BASEPRI register but + the current logic was using it to manage interrupts. Switch + to using the PRIMASK. This means that hardfaults will (again) + occur when SVC instructions are executed (2013-4-16). -- cgit v1.2.3