Changeset 9d838902 in rtems


Ignore:
Timestamp:
Jun 15, 2015, 6:45:56 PM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
1cfe012
Parents:
e0938c2
Message:

arm: Implement _CPU_ISR_Get_level() for ARMv7-M

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/arm/armv7m-isr-level-get.c

    re0938c2 r9d838902  
    66
    77/*
    8  * Copyright (c) 2011 Sebastian Huber.  All rights reserved.
     8 * Copyright (c) 2011-2015 Sebastian Huber.  All rights reserved.
    99 *
    1010 *  embedded brains GmbH
    11  *  Obere Lagerstr. 30
     11 *  Dornierstr. 4
    1212 *  82178 Puchheim
    1313 *  Germany
     
    2929uint32_t _CPU_ISR_Get_level( void )
    3030{
    31   return 0;
     31  return _ARMV7M_Get_basepri() != 0;
    3232}
    3333
Note: See TracChangeset for help on using the changeset viewer.