RTEMS 4.11
Annotated Report
Fri Oct 8 14:49:35 2010

30014c48 <_CORE_message_queue_Broadcast>:                             
{                                                                     
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
30014c48:	e590304c 	ldr	r3, [r0, #76]	; 0x4c                          
    Objects_Id                                 id __attribute__((unused)),
    CORE_message_queue_API_mp_support_callout  api_message_queue_mp_support __attribute__((unused)),
  #endif                                                              
  uint32_t                                  *count                    
)                                                                     
{                                                                     
30014c4c:	e92d45f0 	push	{r4, r5, r6, r7, r8, sl, lr}                 
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
30014c50:	e1520003 	cmp	r2, r3                                        
    Objects_Id                                 id __attribute__((unused)),
    CORE_message_queue_API_mp_support_callout  api_message_queue_mp_support __attribute__((unused)),
  #endif                                                              
  uint32_t                                  *count                    
)                                                                     
{                                                                     
30014c54:	e1a06000 	mov	r6, r0                                        
30014c58:	e1a0a001 	mov	sl, r1                                        
30014c5c:	e1a07002 	mov	r7, r2                                        
30014c60:	e59d8020 	ldr	r8, [sp, #32]                                 
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
30014c64:	8a000013 	bhi	30014cb8 <_CORE_message_queue_Broadcast+0x70> 
   *  NOTE: This check is critical because threads can block on       
   *        send and receive and this ensures that we are broadcasting
   *        the message to threads waiting to receive -- not to send. 
   */                                                                 
                                                                      
  if ( the_message_queue->number_of_pending_messages != 0 ) {         
30014c68:	e5905048 	ldr	r5, [r0, #72]	; 0x48                          
30014c6c:	e3550000 	cmp	r5, #0                                        
    *count = 0;                                                       
30014c70:	13a00000 	movne	r0, #0                                      
30014c74:	15880000 	strne	r0, [r8]                                    
   *  NOTE: This check is critical because threads can block on       
   *        send and receive and this ensures that we are broadcasting
   *        the message to threads waiting to receive -- not to send. 
   */                                                                 
                                                                      
  if ( the_message_queue->number_of_pending_messages != 0 ) {         
30014c78:	0a000007 	beq	30014c9c <_CORE_message_queue_Broadcast+0x54> 
30014c7c:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
30014c80:	e594002c 	ldr	r0, [r4, #44]	; 0x2c                          
30014c84:	e1a0100a 	mov	r1, sl                                        
30014c88:	e1a02007 	mov	r2, r7                                        
30014c8c:	eb001e49 	bl	3001c5b8 <memcpy>                              
      buffer,                                                         
      waitp->return_argument_second.mutable_object,                   
      size                                                            
    );                                                                
                                                                      
    *(size_t *) the_thread->Wait.return_argument = size;              
30014c90:	e5943028 	ldr	r3, [r4, #40]	; 0x28                          
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
          _Thread_queue_Dequeue(&the_message_queue->Wait_queue))) {   
    waitp = &the_thread->Wait;                                        
    number_broadcasted += 1;                                          
30014c94:	e2855001 	add	r5, r5, #1                                    
      buffer,                                                         
      waitp->return_argument_second.mutable_object,                   
      size                                                            
    );                                                                
                                                                      
    *(size_t *) the_thread->Wait.return_argument = size;              
30014c98:	e5837000 	str	r7, [r3]                                      
  /*                                                                  
   *  There must be no pending messages if there is a thread waiting to
   *  receive a message.                                              
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
30014c9c:	e1a00006 	mov	r0, r6                                        
30014ca0:	eb00099b 	bl	30017314 <_Thread_queue_Dequeue>               
30014ca4:	e2504000 	subs	r4, r0, #0                                   
30014ca8:	1afffff4 	bne	30014c80 <_CORE_message_queue_Broadcast+0x38> 
      if ( !_Objects_Is_local_id( the_thread->Object.id ) )           
        (*api_message_queue_mp_support) ( the_thread, id );           
    #endif                                                            
                                                                      
  }                                                                   
  *count = number_broadcasted;                                        
30014cac:	e5885000 	str	r5, [r8]                                      
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
30014cb0:	e1a00004 	mov	r0, r4                                        
30014cb4:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
    return CORE_MESSAGE_QUEUE_STATUS_INVALID_SIZE;                    
30014cb8:	e3a00001 	mov	r0, #1                                        <== NOT EXECUTED
    #endif                                                            
                                                                      
  }                                                                   
  *count = number_broadcasted;                                        
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
}                                                                     
30014cbc:	e8bd85f0 	pop	{r4, r5, r6, r7, r8, sl, pc}                  <== NOT EXECUTED
                                                                      

30009ecc <_CORE_mutex_Seize_interrupt_trylock>: #if defined(__RTEMS_DO_NOT_INLINE_CORE_MUTEX_SEIZE__) int _CORE_mutex_Seize_interrupt_trylock( CORE_mutex_Control *the_mutex, ISR_Level *level_p ) {
30009ecc:	e1a03000 	mov	r3, r0                                        
{                                                                     
  Thread_Control   *executing;                                        
                                                                      
  /* disabled when you get here */                                    
                                                                      
  executing = _Thread_Executing;                                      
30009ed0:	e59f2124 	ldr	r2, [pc, #292]	; 30009ffc <_CORE_mutex_Seize_interrupt_trylock+0x130>
  executing->Wait.return_code = CORE_MUTEX_STATUS_SUCCESSFUL;         
  if ( !_CORE_mutex_Is_locked( the_mutex ) ) {                        
30009ed4:	e593c050 	ldr	ip, [r3, #80]	; 0x50                          
  Thread_Control   *executing;                                        
                                                                      
  /* disabled when you get here */                                    
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_MUTEX_STATUS_SUCCESSFUL;         
30009ed8:	e3a00000 	mov	r0, #0                                        
{                                                                     
  Thread_Control   *executing;                                        
                                                                      
  /* disabled when you get here */                                    
                                                                      
  executing = _Thread_Executing;                                      
30009edc:	e5922004 	ldr	r2, [r2, #4]                                  
  executing->Wait.return_code = CORE_MUTEX_STATUS_SUCCESSFUL;         
  if ( !_CORE_mutex_Is_locked( the_mutex ) ) {                        
30009ee0:	e15c0000 	cmp	ip, r0                                        
30009ee4:	e92d4010 	push	{r4, lr}                                     
  Thread_Control   *executing;                                        
                                                                      
  /* disabled when you get here */                                    
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_MUTEX_STATUS_SUCCESSFUL;         
30009ee8:	e5820034 	str	r0, [r2, #52]	; 0x34                          
  if ( !_CORE_mutex_Is_locked( the_mutex ) ) {                        
30009eec:	0a00002c 	beq	30009fa4 <_CORE_mutex_Seize_interrupt_trylock+0xd8>
    the_mutex->lock       = CORE_MUTEX_LOCKED;                        
30009ef0:	e5830050 	str	r0, [r3, #80]	; 0x50                          
    the_mutex->holder     = executing;                                
    the_mutex->holder_id  = executing->Object.id;                     
30009ef4:	e5920008 	ldr	r0, [r2, #8]                                  
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_MUTEX_STATUS_SUCCESSFUL;         
  if ( !_CORE_mutex_Is_locked( the_mutex ) ) {                        
    the_mutex->lock       = CORE_MUTEX_LOCKED;                        
    the_mutex->holder     = executing;                                
30009ef8:	e583205c 	str	r2, [r3, #92]	; 0x5c                          
    the_mutex->holder_id  = executing->Object.id;                     
30009efc:	e5830060 	str	r0, [r3, #96]	; 0x60                          
    the_mutex->nest_count = 1;                                        
30009f00:	e3a00001 	mov	r0, #1                                        
30009f04:	e5830054 	str	r0, [r3, #84]	; 0x54                          
  return _CORE_mutex_Seize_interrupt_trylock_body( the_mutex, level_p );
}                                                                     
30009f08:	e5930048 	ldr	r0, [r3, #72]	; 0x48                          
    if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) || 
30009f0c:	e3500002 	cmp	r0, #2                                        
30009f10:	0a000001 	beq	30009f1c <_CORE_mutex_Seize_interrupt_trylock+0x50>
30009f14:	e3500003 	cmp	r0, #3                                        
30009f18:	1a000004 	bne	30009f30 <_CORE_mutex_Seize_interrupt_trylock+0x64>
       _Chain_Prepend_unprotected( &executing->lock_mutex,            
                                   &the_mutex->queue.lock_queue );    
       the_mutex->queue.priority_before = executing->current_priority;
#endif                                                                
                                                                      
      executing->resource_count++;                                    
30009f1c:	e592c01c 	ldr	ip, [r2, #28]                                 
    }                                                                 
                                                                      
    if ( !_CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ) {
30009f20:	e3500003 	cmp	r0, #3                                        
       _Chain_Prepend_unprotected( &executing->lock_mutex,            
                                   &the_mutex->queue.lock_queue );    
       the_mutex->queue.priority_before = executing->current_priority;
#endif                                                                
                                                                      
      executing->resource_count++;                                    
30009f24:	e28c4001 	add	r4, ip, #1                                    
30009f28:	e582401c 	str	r4, [r2, #28]                                 
    }                                                                 
                                                                      
    if ( !_CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ) {
30009f2c:	0a000000 	beq	30009f34 <_CORE_mutex_Seize_interrupt_trylock+0x68>
      _ISR_Enable( *level_p );                                        
30009f30:	ea00002b 	b	30009fe4 <_CORE_mutex_Seize_interrupt_trylock+0x118>
       */                                                             
    {                                                                 
      Priority_Control  ceiling;                                      
      Priority_Control  current;                                      
                                                                      
      ceiling = the_mutex->Attributes.priority_ceiling;               
30009f34:	e593004c 	ldr	r0, [r3, #76]	; 0x4c                          
      current = executing->current_priority;                          
30009f38:	e5924014 	ldr	r4, [r2, #20]                                 
      if ( current == ceiling ) {                                     
30009f3c:	e1540000 	cmp	r4, r0                                        
30009f40:	1a000000 	bne	30009f48 <_CORE_mutex_Seize_interrupt_trylock+0x7c>
        _ISR_Enable( *level_p );                                      
30009f44:	ea000026 	b	30009fe4 <_CORE_mutex_Seize_interrupt_trylock+0x118>
        return 0;                                                     
      }                                                               
                                                                      
      if ( current > ceiling ) {                                      
30009f48:	9a00000b 	bls	30009f7c <_CORE_mutex_Seize_interrupt_trylock+0xb0>
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
30009f4c:	e59f20ac 	ldr	r2, [pc, #172]	; 3000a000 <_CORE_mutex_Seize_interrupt_trylock+0x134>
30009f50:	e5920000 	ldr	r0, [r2]                                      
30009f54:	e2800001 	add	r0, r0, #1                                    
30009f58:	e5820000 	str	r0, [r2]                                      
30009f5c:	e5912000 	ldr	r2, [r1]                                      
30009f60:	e129f002 	msr	CPSR_fc, r2                                   
        _Thread_Disable_dispatch();                                   
        _ISR_Enable( *level_p );                                      
        _Thread_Change_priority(                                      
30009f64:	e3a02000 	mov	r2, #0                                        
30009f68:	e593005c 	ldr	r0, [r3, #92]	; 0x5c                          
30009f6c:	e593104c 	ldr	r1, [r3, #76]	; 0x4c                          
30009f70:	ebfff29f 	bl	300069f4 <_Thread_Change_priority>             
          the_mutex->holder,                                          
          the_mutex->Attributes.priority_ceiling,                     
         false                                                        
        );                                                            
        _Thread_Enable_dispatch();                                    
30009f74:	ebfff3e5 	bl	30006f10 <_Thread_Enable_dispatch>             
30009f78:	ea00001b 	b	30009fec <_CORE_mutex_Seize_interrupt_trylock+0x120>
        return 0;                                                     
      }                                                               
      /* if ( current < ceiling ) */ {                                
        executing->Wait.return_code = CORE_MUTEX_STATUS_CEILING_VIOLATED;
30009f7c:	e3a00006 	mov	r0, #6                                        
30009f80:	e5820034 	str	r0, [r2, #52]	; 0x34                          
        the_mutex->lock       = CORE_MUTEX_UNLOCKED;                  
30009f84:	e3a00001 	mov	r0, #1                                        
30009f88:	e5830050 	str	r0, [r3, #80]	; 0x50                          
        the_mutex->nest_count = 0;     /* undo locking above */       
30009f8c:	e3a00000 	mov	r0, #0                                        
30009f90:	e5830054 	str	r0, [r3, #84]	; 0x54                          
        executing->resource_count--;   /* undo locking above */       
30009f94:	e582c01c 	str	ip, [r2, #28]                                 
30009f98:	e5913000 	ldr	r3, [r1]                                      
30009f9c:	e129f003 	msr	CPSR_fc, r3                                   
30009fa0:	e8bd8010 	pop	{r4, pc}                                      
  /*                                                                  
   *  At this point, we know the mutex was not available.  If this thread
   *  is the thread that has locked the mutex, let's see if we are allowed
   *  to nest access.                                                 
   */                                                                 
  if ( _Thread_Is_executing( the_mutex->holder ) ) {                  
30009fa4:	e593005c 	ldr	r0, [r3, #92]	; 0x5c                          
30009fa8:	e1500002 	cmp	r0, r2                                        
                                                                      
  /*                                                                  
   *  The mutex is not available and the caller must deal with the possibility
   *  of blocking.                                                    
   */                                                                 
  return 1;                                                           
30009fac:	13a00001 	movne	r0, #1                                      
  /*                                                                  
   *  At this point, we know the mutex was not available.  If this thread
   *  is the thread that has locked the mutex, let's see if we are allowed
   *  to nest access.                                                 
   */                                                                 
  if ( _Thread_Is_executing( the_mutex->holder ) ) {                  
30009fb0:	18bd8010 	popne	{r4, pc}                                    
    switch ( the_mutex->Attributes.lock_nesting_behavior ) {          
30009fb4:	e5932040 	ldr	r2, [r3, #64]	; 0x40                          
30009fb8:	e3520000 	cmp	r2, #0                                        
30009fbc:	0a000002 	beq	30009fcc <_CORE_mutex_Seize_interrupt_trylock+0x100>
30009fc0:	e3520001 	cmp	r2, #1                                        
30009fc4:	1a00000a 	bne	30009ff4 <_CORE_mutex_Seize_interrupt_trylock+0x128>
30009fc8:	ea000003 	b	30009fdc <_CORE_mutex_Seize_interrupt_trylock+0x110><== NOT EXECUTED
      case CORE_MUTEX_NESTING_ACQUIRES:                               
        the_mutex->nest_count++;                                      
30009fcc:	e5932054 	ldr	r2, [r3, #84]	; 0x54                          
30009fd0:	e2822001 	add	r2, r2, #1                                    
30009fd4:	e5832054 	str	r2, [r3, #84]	; 0x54                          
        _ISR_Enable( *level_p );                                      
30009fd8:	ea000001 	b	30009fe4 <_CORE_mutex_Seize_interrupt_trylock+0x118>
        return 0;                                                     
      case CORE_MUTEX_NESTING_IS_ERROR:                               
        executing->Wait.return_code = CORE_MUTEX_STATUS_NESTING_NOT_ALLOWED;
30009fdc:	e3a03002 	mov	r3, #2                                        <== NOT EXECUTED
30009fe0:	e5803034 	str	r3, [r0, #52]	; 0x34                          <== NOT EXECUTED
30009fe4:	e5913000 	ldr	r3, [r1]                                      
30009fe8:	e129f003 	msr	CPSR_fc, r3                                   
        _ISR_Enable( *level_p );                                      
        return 0;                                                     
30009fec:	e3a00000 	mov	r0, #0                                        
30009ff0:	e8bd8010 	pop	{r4, pc}                                      
                                                                      
  /*                                                                  
   *  The mutex is not available and the caller must deal with the possibility
   *  of blocking.                                                    
   */                                                                 
  return 1;                                                           
30009ff4:	e3a00001 	mov	r0, #1                                        
30009ff8:	e8bd8010 	pop	{r4, pc}                                      
                                                                      

30006da8 <_Heap_Walk>: bool _Heap_Walk( Heap_Control *heap, int source, bool dump ) {
30006da8:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
30006dac:	e5903014 	ldr	r3, [r0, #20]                                 
bool _Heap_Walk(                                                      
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
30006db0:	e24dd030 	sub	sp, sp, #48	; 0x30                            
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
30006db4:	e58d3024 	str	r3, [sp, #36]	; 0x24                          
  Heap_Block *const first_block = heap->first_block;                  
  Heap_Block *const last_block = heap->last_block;                    
30006db8:	e5903024 	ldr	r3, [r0, #36]	; 0x24                          
  Heap_Block *block = first_block;                                    
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
30006dbc:	e59f4500 	ldr	r4, [pc, #1280]	; 300072c4 <_Heap_Walk+0x51c> 
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
  Heap_Block *const first_block = heap->first_block;                  
  Heap_Block *const last_block = heap->last_block;                    
30006dc0:	e58d3028 	str	r3, [sp, #40]	; 0x28                          
  Heap_Block *block = first_block;                                    
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
30006dc4:	e59f34fc 	ldr	r3, [pc, #1276]	; 300072c8 <_Heap_Walk+0x520> 
30006dc8:	e31200ff 	tst	r2, #255	; 0xff                               
30006dcc:	11a04003 	movne	r4, r3                                      
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
30006dd0:	e59f34f4 	ldr	r3, [pc, #1268]	; 300072cc <_Heap_Walk+0x524> 
  bool dump                                                           
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
  Heap_Block *const first_block = heap->first_block;                  
30006dd4:	e590c020 	ldr	ip, [r0, #32]                                 
  Heap_Block *const last_block = heap->last_block;                    
  Heap_Block *block = first_block;                                    
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
30006dd8:	e5933000 	ldr	r3, [r3]                                      
bool _Heap_Walk(                                                      
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
30006ddc:	e1a06000 	mov	r6, r0                                        
  Heap_Block *const last_block = heap->last_block;                    
  Heap_Block *block = first_block;                                    
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
30006de0:	e3530003 	cmp	r3, #3                                        
bool _Heap_Walk(                                                      
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
30006de4:	e1a05001 	mov	r5, r1                                        
  uintptr_t const page_size = heap->page_size;                        
30006de8:	e5909010 	ldr	r9, [r0, #16]                                 
  uintptr_t const min_block_size = heap->min_block_size;              
  Heap_Block *const first_block = heap->first_block;                  
30006dec:	e58dc020 	str	ip, [sp, #32]                                 
  Heap_Block *const last_block = heap->last_block;                    
  Heap_Block *block = first_block;                                    
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
30006df0:	1a000127 	bne	30007294 <_Heap_Walk+0x4ec>                   
  Heap_Block *const first_free_block = _Heap_Free_list_first( heap ); 
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  Heap_Block *const first_block = heap->first_block;                  
  Heap_Block *const last_block = heap->last_block;                    
                                                                      
  (*printer)(                                                         
30006df4:	e59dc024 	ldr	ip, [sp, #36]	; 0x24                          
30006df8:	e59d2020 	ldr	r2, [sp, #32]                                 
30006dfc:	e58dc000 	str	ip, [sp]                                      
30006e00:	e5903018 	ldr	r3, [r0, #24]                                 
30006e04:	e58d3004 	str	r3, [sp, #4]                                  
30006e08:	e590301c 	ldr	r3, [r0, #28]                                 
30006e0c:	e58d200c 	str	r2, [sp, #12]                                 
30006e10:	e58d3008 	str	r3, [sp, #8]                                  
30006e14:	e59d3028 	ldr	r3, [sp, #40]	; 0x28                          
30006e18:	e59f24b0 	ldr	r2, [pc, #1200]	; 300072d0 <_Heap_Walk+0x528> 
30006e1c:	e58d3010 	str	r3, [sp, #16]                                 
30006e20:	e5903008 	ldr	r3, [r0, #8]                                  
30006e24:	e58d3014 	str	r3, [sp, #20]                                 
30006e28:	e590300c 	ldr	r3, [r0, #12]                                 
30006e2c:	e1a00001 	mov	r0, r1                                        
30006e30:	e58d3018 	str	r3, [sp, #24]                                 
30006e34:	e3a01000 	mov	r1, #0                                        
30006e38:	e1a03009 	mov	r3, r9                                        
30006e3c:	e1a0e00f 	mov	lr, pc                                        
30006e40:	e12fff14 	bx	r4                                             
    heap->area_begin, heap->area_end,                                 
    first_block, last_block,                                          
    first_free_block, last_free_block                                 
  );                                                                  
                                                                      
  if ( page_size == 0 ) {                                             
30006e44:	e3590000 	cmp	r9, #0                                        
30006e48:	1a000006 	bne	30006e68 <_Heap_Walk+0xc0>                    
    (*printer)( source, true, "page size is zero\n" );                
30006e4c:	e1a00005 	mov	r0, r5                                        
30006e50:	e3a01001 	mov	r1, #1                                        
30006e54:	e59f2478 	ldr	r2, [pc, #1144]	; 300072d4 <_Heap_Walk+0x52c> 
30006e58:	e1a0e00f 	mov	lr, pc                                        
30006e5c:	e12fff14 	bx	r4                                             
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
30006e60:	e1a08009 	mov	r8, r9                                        
30006e64:	ea00010b 	b	30007298 <_Heap_Walk+0x4f0>                     
    (*printer)( source, true, "page size is zero\n" );                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
30006e68:	e2198003 	ands	r8, r9, #3                                   
    (*printer)(                                                       
30006e6c:	11a00005 	movne	r0, r5                                      
30006e70:	13a01001 	movne	r1, #1                                      
30006e74:	159f245c 	ldrne	r2, [pc, #1116]	; 300072d8 <_Heap_Walk+0x530>
30006e78:	11a03009 	movne	r3, r9                                      
30006e7c:	1a00010c 	bne	300072b4 <_Heap_Walk+0x50c>                   
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
30006e80:	e59d0024 	ldr	r0, [sp, #36]	; 0x24                          
30006e84:	e1a01009 	mov	r1, r9                                        
30006e88:	ebffe743 	bl	30000b9c <__umodsi3>                           
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
30006e8c:	e250b000 	subs	fp, r0, #0                                   
30006e90:	0a000006 	beq	30006eb0 <_Heap_Walk+0x108>                   
    (*printer)(                                                       
30006e94:	e1a00005 	mov	r0, r5                                        
30006e98:	e3a01001 	mov	r1, #1                                        
30006e9c:	e59f2438 	ldr	r2, [pc, #1080]	; 300072dc <_Heap_Walk+0x534> 
30006ea0:	e59d3024 	ldr	r3, [sp, #36]	; 0x24                          
30006ea4:	e1a0e00f 	mov	lr, pc                                        
30006ea8:	e12fff14 	bx	r4                                             
30006eac:	ea0000f9 	b	30007298 <_Heap_Walk+0x4f0>                     
30006eb0:	e59dc020 	ldr	ip, [sp, #32]                                 
30006eb4:	e1a01009 	mov	r1, r9                                        
30006eb8:	e28c0008 	add	r0, ip, #8                                    
30006ebc:	ebffe736 	bl	30000b9c <__umodsi3>                           
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
30006ec0:	e250a000 	subs	sl, r0, #0                                   
    !_Heap_Is_aligned( _Heap_Alloc_area_of_block( first_block ), page_size )
  ) {                                                                 
    (*printer)(                                                       
30006ec4:	11a00005 	movne	r0, r5                                      
30006ec8:	13a01001 	movne	r1, #1                                      
30006ecc:	159f240c 	ldrne	r2, [pc, #1036]	; 300072e0 <_Heap_Walk+0x538>
30006ed0:	159d3020 	ldrne	r3, [sp, #32]                               
30006ed4:	1a0000cc 	bne	3000720c <_Heap_Walk+0x464>                   
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
30006ed8:	e59d2020 	ldr	r2, [sp, #32]                                 
30006edc:	e5928004 	ldr	r8, [r2, #4]                                  
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
30006ee0:	e2188001 	ands	r8, r8, #1                                   
    (*printer)(                                                       
30006ee4:	01a00005 	moveq	r0, r5                                      
30006ee8:	03a01001 	moveq	r1, #1                                      
30006eec:	059f23f0 	ldreq	r2, [pc, #1008]	; 300072e4 <_Heap_Walk+0x53c>
30006ef0:	0a000009 	beq	30006f1c <_Heap_Walk+0x174>                   
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
30006ef4:	e59d3028 	ldr	r3, [sp, #40]	; 0x28                          
30006ef8:	e5937004 	ldr	r7, [r3, #4]                                  
30006efc:	e3c77001 	bic	r7, r7, #1                                    
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
30006f00:	e0837007 	add	r7, r3, r7                                    
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
30006f04:	e5978004 	ldr	r8, [r7, #4]                                  
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
30006f08:	e2188001 	ands	r8, r8, #1                                   
30006f0c:	1a000005 	bne	30006f28 <_Heap_Walk+0x180>                   
    (*printer)(                                                       
30006f10:	e59f23d0 	ldr	r2, [pc, #976]	; 300072e8 <_Heap_Walk+0x540>  
30006f14:	e1a00005 	mov	r0, r5                                        
30006f18:	e3a01001 	mov	r1, #1                                        
30006f1c:	e1a0e00f 	mov	lr, pc                                        
30006f20:	e12fff14 	bx	r4                                             
30006f24:	ea0000db 	b	30007298 <_Heap_Walk+0x4f0>                     
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
30006f28:	e59dc020 	ldr	ip, [sp, #32]                                 
30006f2c:	e157000c 	cmp	r7, ip                                        
30006f30:	0a000006 	beq	30006f50 <_Heap_Walk+0x1a8>                   
    _Heap_Block_at( last_block, _Heap_Block_size( last_block ) ) != first_block
  ) {                                                                 
    (*printer)(                                                       
30006f34:	e1a00005 	mov	r0, r5                                        <== NOT EXECUTED
30006f38:	e3a01001 	mov	r1, #1                                        <== NOT EXECUTED
30006f3c:	e59f23a8 	ldr	r2, [pc, #936]	; 300072ec <_Heap_Walk+0x544>  <== NOT EXECUTED
30006f40:	e1a0e00f 	mov	lr, pc                                        <== NOT EXECUTED
30006f44:	e12fff14 	bx	r4                                             <== NOT EXECUTED
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
30006f48:	e1a0800a 	mov	r8, sl                                        <== NOT EXECUTED
30006f4c:	ea0000d1 	b	30007298 <_Heap_Walk+0x4f0>                     <== NOT EXECUTED
  int source,                                                         
  Heap_Walk_printer printer,                                          
  Heap_Control *heap                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
30006f50:	e596b010 	ldr	fp, [r6, #16]                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
30006f54:	e5968008 	ldr	r8, [r6, #8]                                  
  Heap_Walk_printer printer,                                          
  Heap_Control *heap                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
30006f58:	e1a0a006 	mov	sl, r6                                        
30006f5c:	ea000034 	b	30007034 <_Heap_Walk+0x28c>                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
30006f60:	e5963020 	ldr	r3, [r6, #32]                                 
30006f64:	e1530008 	cmp	r3, r8                                        
30006f68:	83a0c000 	movhi	ip, #0                                      
30006f6c:	8a000003 	bhi	30006f80 <_Heap_Walk+0x1d8>                   
30006f70:	e596c024 	ldr	ip, [r6, #36]	; 0x24                          
30006f74:	e15c0008 	cmp	ip, r8                                        
30006f78:	33a0c000 	movcc	ip, #0                                      
30006f7c:	23a0c001 	movcs	ip, #1                                      
  const Heap_Block *const first_free_block = _Heap_Free_list_first( heap );
  const Heap_Block *prev_block = free_list_tail;                      
  const Heap_Block *free_block = first_free_block;                    
                                                                      
  while ( free_block != free_list_tail ) {                            
    if ( !_Heap_Is_block_in_heap( heap, free_block ) ) {              
30006f80:	e21cc0ff 	ands	ip, ip, #255	; 0xff                          
      (*printer)(                                                     
30006f84:	01a00005 	moveq	r0, r5                                      
30006f88:	03a01001 	moveq	r1, #1                                      
30006f8c:	059f235c 	ldreq	r2, [pc, #860]	; 300072f0 <_Heap_Walk+0x548>
30006f90:	0a000012 	beq	30006fe0 <_Heap_Walk+0x238>                   
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
30006f94:	e2880008 	add	r0, r8, #8                                    
30006f98:	e1a0100b 	mov	r1, fp                                        
30006f9c:	ebffe6fe 	bl	30000b9c <__umodsi3>                           
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
30006fa0:	e250c000 	subs	ip, r0, #0                                   
      !_Heap_Is_aligned( _Heap_Alloc_area_of_block( free_block ), page_size )
    ) {                                                               
      (*printer)(                                                     
30006fa4:	11a00005 	movne	r0, r5                                      
30006fa8:	13a01001 	movne	r1, #1                                      
30006fac:	159f2340 	ldrne	r2, [pc, #832]	; 300072f4 <_Heap_Walk+0x54c>
30006fb0:	11a03008 	movne	r3, r8                                      
30006fb4:	1a0000be 	bne	300072b4 <_Heap_Walk+0x50c>                   
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
30006fb8:	e5983004 	ldr	r3, [r8, #4]                                  
30006fbc:	e3c33001 	bic	r3, r3, #1                                    
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
30006fc0:	e0883003 	add	r3, r8, r3                                    
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
30006fc4:	e5933004 	ldr	r3, [r3, #4]                                  
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
30006fc8:	e2133001 	ands	r3, r3, #1                                   
30006fcc:	e58d302c 	str	r3, [sp, #44]	; 0x2c                          
30006fd0:	0a000009 	beq	30006ffc <_Heap_Walk+0x254>                   
      (*printer)(                                                     
30006fd4:	e59f231c 	ldr	r2, [pc, #796]	; 300072f8 <_Heap_Walk+0x550>  
30006fd8:	e1a00005 	mov	r0, r5                                        
30006fdc:	e3a01001 	mov	r1, #1                                        
30006fe0:	e1a03008 	mov	r3, r8                                        
30006fe4:	e58dc01c 	str	ip, [sp, #28]                                 
30006fe8:	e1a0e00f 	mov	lr, pc                                        
30006fec:	e12fff14 	bx	r4                                             
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
30006ff0:	e59dc01c 	ldr	ip, [sp, #28]                                 
30006ff4:	e1a0800c 	mov	r8, ip                                        
30006ff8:	ea0000a6 	b	30007298 <_Heap_Walk+0x4f0>                     
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
30006ffc:	e598300c 	ldr	r3, [r8, #12]                                 
30007000:	e153000a 	cmp	r3, sl                                        
30007004:	0a000008 	beq	3000702c <_Heap_Walk+0x284>                   
      (*printer)(                                                     
30007008:	e58d3000 	str	r3, [sp]                                      
3000700c:	e1a00005 	mov	r0, r5                                        
30007010:	e1a03008 	mov	r3, r8                                        
30007014:	e3a01001 	mov	r1, #1                                        
30007018:	e59f22dc 	ldr	r2, [pc, #732]	; 300072fc <_Heap_Walk+0x554>  
3000701c:	e1a0e00f 	mov	lr, pc                                        
30007020:	e12fff14 	bx	r4                                             
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
30007024:	e59d802c 	ldr	r8, [sp, #44]	; 0x2c                          
30007028:	ea00009a 	b	30007298 <_Heap_Walk+0x4f0>                     
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    prev_block = free_block;                                          
    free_block = free_block->next;                                    
3000702c:	e1a0a008 	mov	sl, r8                                        
30007030:	e5988008 	ldr	r8, [r8, #8]                                  
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
  const Heap_Block *const first_free_block = _Heap_Free_list_first( heap );
  const Heap_Block *prev_block = free_list_tail;                      
  const Heap_Block *free_block = first_free_block;                    
                                                                      
  while ( free_block != free_list_tail ) {                            
30007034:	e1580006 	cmp	r8, r6                                        
30007038:	1affffc8 	bne	30006f60 <_Heap_Walk+0x1b8>                   
3000703c:	ea000000 	b	30007044 <_Heap_Walk+0x29c>                     
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
30007040:	e1a07008 	mov	r7, r8                                        
                                                                      
  return true;                                                        
}                                                                     
30007044:	e5973004 	ldr	r3, [r7, #4]                                  
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
30007048:	e5962020 	ldr	r2, [r6, #32]                                 
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
3000704c:	e3c3a001 	bic	sl, r3, #1                                    
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
30007050:	e087800a 	add	r8, r7, sl                                    
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
30007054:	e1520008 	cmp	r2, r8                                        
30007058:	83a0b000 	movhi	fp, #0                                      
3000705c:	8a000003 	bhi	30007070 <_Heap_Walk+0x2c8>                   
30007060:	e596b024 	ldr	fp, [r6, #36]	; 0x24                          
30007064:	e15b0008 	cmp	fp, r8                                        
30007068:	33a0b000 	movcc	fp, #0                                      
3000706c:	23a0b001 	movcs	fp, #1                                      
    bool const prev_used = _Heap_Is_prev_used( block );               
    Heap_Block *const next_block = _Heap_Block_at( block, block_size );
    uintptr_t const next_block_begin = (uintptr_t) next_block;        
    bool const is_not_last_block = block != last_block;               
                                                                      
    if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {              
30007070:	e21bb0ff 	ands	fp, fp, #255	; 0xff                          
30007074:	1a000007 	bne	30007098 <_Heap_Walk+0x2f0>                   
      (*printer)(                                                     
30007078:	e58d8000 	str	r8, [sp]                                      
3000707c:	e1a00005 	mov	r0, r5                                        
30007080:	e3a01001 	mov	r1, #1                                        
30007084:	e59f2274 	ldr	r2, [pc, #628]	; 30007300 <_Heap_Walk+0x558>  
30007088:	e1a03007 	mov	r3, r7                                        
3000708c:	e1a0e00f 	mov	lr, pc                                        
30007090:	e12fff14 	bx	r4                                             
30007094:	ea00005e 	b	30007214 <_Heap_Walk+0x46c>                     
    uintptr_t const block_begin = (uintptr_t) block;                  
    uintptr_t const block_size = _Heap_Block_size( block );           
    bool const prev_used = _Heap_Is_prev_used( block );               
    Heap_Block *const next_block = _Heap_Block_at( block, block_size );
    uintptr_t const next_block_begin = (uintptr_t) next_block;        
    bool const is_not_last_block = block != last_block;               
30007098:	e59d2028 	ldr	r2, [sp, #40]	; 0x28                          
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
3000709c:	e1a0000a 	mov	r0, sl                                        
300070a0:	e1a01009 	mov	r1, r9                                        
300070a4:	e057b002 	subs	fp, r7, r2                                   
300070a8:	13a0b001 	movne	fp, #1                                      
300070ac:	e58d301c 	str	r3, [sp, #28]                                 
300070b0:	ebffe6b9 	bl	30000b9c <__umodsi3>                           
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) && is_not_last_block ) {
300070b4:	e3500000 	cmp	r0, #0                                        
300070b8:	e59d301c 	ldr	r3, [sp, #28]                                 
300070bc:	0a000005 	beq	300070d8 <_Heap_Walk+0x330>                   
300070c0:	e35b0000 	cmp	fp, #0                                        
      (*printer)(                                                     
300070c4:	158da000 	strne	sl, [sp]                                    
300070c8:	11a00005 	movne	r0, r5                                      
300070cc:	13a01001 	movne	r1, #1                                      
300070d0:	159f222c 	ldrne	r2, [pc, #556]	; 30007304 <_Heap_Walk+0x55c>
300070d4:	1a000014 	bne	3000712c <_Heap_Walk+0x384>                   
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( block_size < min_block_size && is_not_last_block ) {         
300070d8:	e59dc024 	ldr	ip, [sp, #36]	; 0x24                          
300070dc:	e15a000c 	cmp	sl, ip                                        
300070e0:	2a000009 	bcs	3000710c <_Heap_Walk+0x364>                   
300070e4:	e35b0000 	cmp	fp, #0                                        
300070e8:	0a000007 	beq	3000710c <_Heap_Walk+0x364>                   
      (*printer)(                                                     
300070ec:	e88d1400 	stm	sp, {sl, ip}                                  
300070f0:	e1a00005 	mov	r0, r5                                        
300070f4:	e3a01001 	mov	r1, #1                                        
300070f8:	e59f2208 	ldr	r2, [pc, #520]	; 30007308 <_Heap_Walk+0x560>  
300070fc:	e1a03007 	mov	r3, r7                                        
30007100:	e1a0e00f 	mov	lr, pc                                        
30007104:	e12fff14 	bx	r4                                             
30007108:	ea00006b 	b	300072bc <_Heap_Walk+0x514>                     
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin && is_not_last_block ) {     
3000710c:	e1580007 	cmp	r8, r7                                        
30007110:	8a000009 	bhi	3000713c <_Heap_Walk+0x394>                   
30007114:	e35b0000 	cmp	fp, #0                                        
30007118:	0a000007 	beq	3000713c <_Heap_Walk+0x394>                   
      (*printer)(                                                     
3000711c:	e59f21e8 	ldr	r2, [pc, #488]	; 3000730c <_Heap_Walk+0x564>  
30007120:	e58d8000 	str	r8, [sp]                                      
30007124:	e1a00005 	mov	r0, r5                                        
30007128:	e3a01001 	mov	r1, #1                                        
3000712c:	e1a03007 	mov	r3, r7                                        
30007130:	e1a0e00f 	mov	lr, pc                                        
30007134:	e12fff14 	bx	r4                                             
30007138:	ea00005f 	b	300072bc <_Heap_Walk+0x514>                     
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
3000713c:	e203b001 	and	fp, r3, #1                                    
30007140:	e5983004 	ldr	r3, [r8, #4]                                  
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
30007144:	e3130001 	tst	r3, #1                                        
30007148:	1a00003b 	bne	3000723c <_Heap_Walk+0x494>                   
    false,                                                            
    "block 0x%08x: size %u, prev 0x%08x%s, next 0x%08x%s\n",          
    block,                                                            
    block_size,                                                       
    block->prev,                                                      
    block->prev == first_free_block ?                                 
3000714c:	e597200c 	ldr	r2, [r7, #12]                                 
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  bool const prev_used = _Heap_Is_prev_used( block );                 
  uintptr_t const block_size = _Heap_Block_size( block );             
  Heap_Block *const next_block = _Heap_Block_at( block, block_size ); 
                                                                      
  (*printer)(                                                         
30007150:	e5963008 	ldr	r3, [r6, #8]                                  
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
30007154:	e596100c 	ldr	r1, [r6, #12]                                 
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  bool const prev_used = _Heap_Is_prev_used( block );                 
  uintptr_t const block_size = _Heap_Block_size( block );             
  Heap_Block *const next_block = _Heap_Block_at( block, block_size ); 
                                                                      
  (*printer)(                                                         
30007158:	e1520003 	cmp	r2, r3                                        
3000715c:	059f01ac 	ldreq	r0, [pc, #428]	; 30007310 <_Heap_Walk+0x568>
30007160:	0a000003 	beq	30007174 <_Heap_Walk+0x3cc>                   
    block,                                                            
    block_size,                                                       
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
30007164:	e59f31a8 	ldr	r3, [pc, #424]	; 30007314 <_Heap_Walk+0x56c>  
30007168:	e1520006 	cmp	r2, r6                                        
3000716c:	e59f01a4 	ldr	r0, [pc, #420]	; 30007318 <_Heap_Walk+0x570>  
30007170:	01a00003 	moveq	r0, r3                                      
    block->next,                                                      
    block->next == last_free_block ?                                  
30007174:	e5973008 	ldr	r3, [r7, #8]                                  
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  bool const prev_used = _Heap_Is_prev_used( block );                 
  uintptr_t const block_size = _Heap_Block_size( block );             
  Heap_Block *const next_block = _Heap_Block_at( block, block_size ); 
                                                                      
  (*printer)(                                                         
30007178:	e1530001 	cmp	r3, r1                                        
3000717c:	059f1198 	ldreq	r1, [pc, #408]	; 3000731c <_Heap_Walk+0x574>
30007180:	0a000003 	beq	30007194 <_Heap_Walk+0x3ec>                   
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
30007184:	e59fc194 	ldr	ip, [pc, #404]	; 30007320 <_Heap_Walk+0x578>  
30007188:	e1530006 	cmp	r3, r6                                        
3000718c:	e59f1184 	ldr	r1, [pc, #388]	; 30007318 <_Heap_Walk+0x570>  
30007190:	01a0100c 	moveq	r1, ip                                      
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  bool const prev_used = _Heap_Is_prev_used( block );                 
  uintptr_t const block_size = _Heap_Block_size( block );             
  Heap_Block *const next_block = _Heap_Block_at( block, block_size ); 
                                                                      
  (*printer)(                                                         
30007194:	e58d2004 	str	r2, [sp, #4]                                  
30007198:	e58d0008 	str	r0, [sp, #8]                                  
3000719c:	e58d300c 	str	r3, [sp, #12]                                 
300071a0:	e58d1010 	str	r1, [sp, #16]                                 
300071a4:	e1a03007 	mov	r3, r7                                        
300071a8:	e58da000 	str	sl, [sp]                                      
300071ac:	e1a00005 	mov	r0, r5                                        
300071b0:	e3a01000 	mov	r1, #0                                        
300071b4:	e59f2168 	ldr	r2, [pc, #360]	; 30007324 <_Heap_Walk+0x57c>  
300071b8:	e1a0e00f 	mov	lr, pc                                        
300071bc:	e12fff14 	bx	r4                                             
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
  );                                                                  
                                                                      
  if ( block_size != next_block->prev_size ) {                        
300071c0:	e5983000 	ldr	r3, [r8]                                      
300071c4:	e15a0003 	cmp	sl, r3                                        
300071c8:	0a000009 	beq	300071f4 <_Heap_Walk+0x44c>                   
    (*printer)(                                                       
300071cc:	e58d3004 	str	r3, [sp, #4]                                  
300071d0:	e58da000 	str	sl, [sp]                                      
300071d4:	e58d8008 	str	r8, [sp, #8]                                  
300071d8:	e1a00005 	mov	r0, r5                                        
300071dc:	e3a01001 	mov	r1, #1                                        
300071e0:	e59f2140 	ldr	r2, [pc, #320]	; 30007328 <_Heap_Walk+0x580>  
300071e4:	e1a03007 	mov	r3, r7                                        
300071e8:	e1a0e00f 	mov	lr, pc                                        
300071ec:	e12fff14 	bx	r4                                             
300071f0:	ea000031 	b	300072bc <_Heap_Walk+0x514>                     
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
300071f4:	e35b0000 	cmp	fp, #0                                        
300071f8:	1a000007 	bne	3000721c <_Heap_Walk+0x474>                   
    (*printer)(                                                       
300071fc:	e59f2128 	ldr	r2, [pc, #296]	; 3000732c <_Heap_Walk+0x584>  
30007200:	e1a00005 	mov	r0, r5                                        
30007204:	e3a01001 	mov	r1, #1                                        
30007208:	e1a03007 	mov	r3, r7                                        
3000720c:	e1a0e00f 	mov	lr, pc                                        
30007210:	e12fff14 	bx	r4                                             
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
30007214:	e1a0800b 	mov	r8, fp                                        
30007218:	ea00001e 	b	30007298 <_Heap_Walk+0x4f0>                     
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
3000721c:	e5963008 	ldr	r3, [r6, #8]                                  
30007220:	ea000002 	b	30007230 <_Heap_Walk+0x488>                     
{                                                                     
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
  const Heap_Block *free_block = _Heap_Free_list_first( heap );       
                                                                      
  while ( free_block != free_list_tail ) {                            
    if ( free_block == block ) {                                      
30007224:	e1530007 	cmp	r3, r7                                        
30007228:	0a000016 	beq	30007288 <_Heap_Walk+0x4e0>                   
      return true;                                                    
    }                                                                 
    free_block = free_block->next;                                    
3000722c:	e5933008 	ldr	r3, [r3, #8]                                  
)                                                                     
{                                                                     
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
  const Heap_Block *free_block = _Heap_Free_list_first( heap );       
                                                                      
  while ( free_block != free_list_tail ) {                            
30007230:	e1530006 	cmp	r3, r6                                        
30007234:	1afffffa 	bne	30007224 <_Heap_Walk+0x47c>                   
30007238:	ea000019 	b	300072a4 <_Heap_Walk+0x4fc>                     
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
      }                                                               
    } else if (prev_used) {                                           
3000723c:	e35b0000 	cmp	fp, #0                                        
30007240:	0a000007 	beq	30007264 <_Heap_Walk+0x4bc>                   
      (*printer)(                                                     
30007244:	e58da000 	str	sl, [sp]                                      
30007248:	e1a00005 	mov	r0, r5                                        
3000724c:	e3a01000 	mov	r1, #0                                        
30007250:	e59f20d8 	ldr	r2, [pc, #216]	; 30007330 <_Heap_Walk+0x588>  
30007254:	e1a03007 	mov	r3, r7                                        
30007258:	e1a0e00f 	mov	lr, pc                                        
3000725c:	e12fff14 	bx	r4                                             
30007260:	ea000008 	b	30007288 <_Heap_Walk+0x4e0>                     
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
30007264:	e58da000 	str	sl, [sp]                                      
30007268:	e5973000 	ldr	r3, [r7]                                      
3000726c:	e1a00005 	mov	r0, r5                                        
30007270:	e58d3004 	str	r3, [sp, #4]                                  
30007274:	e1a0100b 	mov	r1, fp                                        
30007278:	e59f20b4 	ldr	r2, [pc, #180]	; 30007334 <_Heap_Walk+0x58c>  
3000727c:	e1a03007 	mov	r3, r7                                        
30007280:	e1a0e00f 	mov	lr, pc                                        
30007284:	e12fff14 	bx	r4                                             
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
30007288:	e59d2020 	ldr	r2, [sp, #32]                                 
3000728c:	e1580002 	cmp	r8, r2                                        
30007290:	1affff6a 	bne	30007040 <_Heap_Walk+0x298>                   
  Heap_Block *block = first_block;                                    
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
30007294:	e3a08001 	mov	r8, #1                                        
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
30007298:	e1a00008 	mov	r0, r8                                        
3000729c:	e28dd030 	add	sp, sp, #48	; 0x30                            
300072a0:	e8bd8ff0 	pop	{r4, r5, r6, r7, r8, r9, sl, fp, pc}          
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
300072a4:	e59f208c 	ldr	r2, [pc, #140]	; 30007338 <_Heap_Walk+0x590>  
300072a8:	e1a00005 	mov	r0, r5                                        
300072ac:	e3a01001 	mov	r1, #1                                        
300072b0:	e1a03007 	mov	r3, r7                                        
300072b4:	e1a0e00f 	mov	lr, pc                                        
300072b8:	e12fff14 	bx	r4                                             
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
300072bc:	e3a08000 	mov	r8, #0                                        
300072c0:	eafffff4 	b	30007298 <_Heap_Walk+0x4f0>                     
                                                                      

300061c8 <_Internal_error_Occurred>: bool is_internal, Internal_errors_t the_error ) { _Internal_errors_What_happened.the_source = the_source;
300061c8:	e59f3038 	ldr	r3, [pc, #56]	; 30006208 <_Internal_error_Occurred+0x40>
void _Internal_error_Occurred(                                        
  Internal_errors_Source  the_source,                                 
  bool                    is_internal,                                
  Internal_errors_t       the_error                                   
)                                                                     
{                                                                     
300061cc:	e20110ff 	and	r1, r1, #255	; 0xff                           
300061d0:	e52de004 	push	{lr}		; (str lr, [sp, #-4]!)                 
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
300061d4:	e5830000 	str	r0, [r3]                                      
  _Internal_errors_What_happened.is_internal = is_internal;           
300061d8:	e5c31004 	strb	r1, [r3, #4]                                 
  _Internal_errors_What_happened.the_error   = the_error;             
300061dc:	e5832008 	str	r2, [r3, #8]                                  
void _Internal_error_Occurred(                                        
  Internal_errors_Source  the_source,                                 
  bool                    is_internal,                                
  Internal_errors_t       the_error                                   
)                                                                     
{                                                                     
300061e0:	e1a04002 	mov	r4, r2                                        
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
  _Internal_errors_What_happened.is_internal = is_internal;           
  _Internal_errors_What_happened.the_error   = the_error;             
                                                                      
  _User_extensions_Fatal( the_source, is_internal, the_error );       
300061e4:	eb0006d6 	bl	30007d44 <_User_extensions_Fatal>              
                                                                      
RTEMS_INLINE_ROUTINE void _System_state_Set (                         
  System_state_Codes state                                            
)                                                                     
{                                                                     
  _System_state_Current = state;                                      
300061e8:	e59f301c 	ldr	r3, [pc, #28]	; 3000620c <_Internal_error_Occurred+0x44><== NOT EXECUTED
300061ec:	e3a02005 	mov	r2, #5                                        <== NOT EXECUTED
300061f0:	e5832000 	str	r2, [r3]                                      <== NOT EXECUTED
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
300061f4:	e10f2000 	mrs	r2, CPSR                                      <== NOT EXECUTED
300061f8:	e3823080 	orr	r3, r2, #128	; 0x80                           <== NOT EXECUTED
300061fc:	e129f003 	msr	CPSR_fc, r3                                   <== NOT EXECUTED
                                                                      
  _System_state_Set( SYSTEM_STATE_FAILED );                           
                                                                      
  _CPU_Fatal_halt( the_error );                                       
30006200:	e1a00004 	mov	r0, r4                                        <== NOT EXECUTED
30006204:	eafffffe 	b	30006204 <_Internal_error_Occurred+0x3c>        <== NOT EXECUTED
                                                                      

30014118 <_Timer_server_Body>: * @a arg points to the corresponding timer server control block. */ static rtems_task _Timer_server_Body( rtems_task_argument arg ) {
30014118:	e92d4ff0 	push	{r4, r5, r6, r7, r8, r9, sl, fp, lr}         
3001411c:	e24dd018 	sub	sp, sp, #24                                   
30014120:	e28db00c 	add	fp, sp, #12                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
30014124:	e3a03000 	mov	r3, #0                                        
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
30014128:	e28ba004 	add	sl, fp, #4                                    
3001412c:	e28d7004 	add	r7, sp, #4                                    
30014130:	e1a04000 	mov	r4, r0                                        
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
30014134:	e58da00c 	str	sl, [sp, #12]                                 
  the_chain->permanent_null = NULL;                                   
30014138:	e58d3010 	str	r3, [sp, #16]                                 
  the_chain->last           = _Chain_Head(the_chain);                 
3001413c:	e58db014 	str	fp, [sp, #20]                                 
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
30014140:	e1a0500d 	mov	r5, sp                                        
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
30014144:	e58d7000 	str	r7, [sp]                                      
  the_chain->permanent_null = NULL;                                   
30014148:	e98d2008 	stmib	sp, {r3, sp}                                
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
3001414c:	e2809030 	add	r9, r0, #48	; 0x30                            
{                                                                     
  /*                                                                  
   *  Afterwards all timer inserts are directed to this chain and the interval
   *  and TOD chains will be no more modified by other parties.       
   */                                                                 
  ts->insert_chain = insert_chain;                                    
30014150:	e584b078 	str	fp, [r4, #120]	; 0x78                         
     /*                                                               
      *  The current TOD is before the last TOD which indicates that  
      *  TOD has been set backwards.                                  
      */                                                              
     delta = last_snapshot - snapshot;                                
     _Watchdog_Adjust( &watchdogs->Chain, WATCHDOG_BACKWARD, delta ); 
30014154:	e2848068 	add	r8, r4, #104	; 0x68                           
static void _Timer_server_Process_interval_watchdogs(                 
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
30014158:	e59f2150 	ldr	r2, [pc, #336]	; 300142b0 <_Timer_server_Body+0x198>
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
3001415c:	e1a00009 	mov	r0, r9                                        
static void _Timer_server_Process_interval_watchdogs(                 
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
30014160:	e5923000 	ldr	r3, [r2]                                      
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
30014164:	e594103c 	ldr	r1, [r4, #60]	; 0x3c                          
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
30014168:	e1a02005 	mov	r2, r5                                        
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
3001416c:	e584303c 	str	r3, [r4, #60]	; 0x3c                          
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
30014170:	e0611003 	rsb	r1, r1, r3                                    
30014174:	eb001075 	bl	30018350 <_Watchdog_Adjust_to_chain>           
static void _Timer_server_Process_tod_watchdogs(                      
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
30014178:	e59f3134 	ldr	r3, [pc, #308]	; 300142b4 <_Timer_server_Body+0x19c>
  Watchdog_Interval last_snapshot = watchdogs->last_snapshot;         
3001417c:	e5942074 	ldr	r2, [r4, #116]	; 0x74                         
static void _Timer_server_Process_tod_watchdogs(                      
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
30014180:	e5936000 	ldr	r6, [r3]                                      
  /*                                                                  
   *  Process the seconds chain.  Start by checking that the Time     
   *  of Day (TOD) has not been set backwards.  If it has then        
   *  we want to adjust the watchdogs->Chain to indicate this.        
   */                                                                 
  if ( snapshot > last_snapshot ) {                                   
30014184:	e1560002 	cmp	r6, r2                                        
30014188:	9a000004 	bls	300141a0 <_Timer_server_Body+0x88>            
    /*                                                                
     *  This path is for normal forward movement and cases where the  
     *  TOD has been set forward.                                     
     */                                                               
    delta = snapshot - last_snapshot;                                 
    _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );
3001418c:	e0621006 	rsb	r1, r2, r6                                    
30014190:	e1a00008 	mov	r0, r8                                        
30014194:	e1a02005 	mov	r2, r5                                        
30014198:	eb00106c 	bl	30018350 <_Watchdog_Adjust_to_chain>           
3001419c:	ea000003 	b	300141b0 <_Timer_server_Body+0x98>              
     /*                                                               
      *  The current TOD is before the last TOD which indicates that  
      *  TOD has been set backwards.                                  
      */                                                              
     delta = last_snapshot - snapshot;                                
     _Watchdog_Adjust( &watchdogs->Chain, WATCHDOG_BACKWARD, delta ); 
300141a0:	31a00008 	movcc	r0, r8                                      
300141a4:	33a01001 	movcc	r1, #1                                      
300141a8:	30662002 	rsbcc	r2, r6, r2                                  
300141ac:	3b00103f 	blcc	300182b0 <_Watchdog_Adjust>                  
  }                                                                   
                                                                      
  watchdogs->last_snapshot = snapshot;                                
300141b0:	e5846074 	str	r6, [r4, #116]	; 0x74                         
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
300141b4:	e5940078 	ldr	r0, [r4, #120]	; 0x78                         
300141b8:	eb000285 	bl	30014bd4 <_Chain_Get>                          
                                                                      
    if ( timer == NULL ) {                                            
300141bc:	e2506000 	subs	r6, r0, #0                                   
300141c0:	0a000009 	beq	300141ec <_Timer_server_Body+0xd4>            
static void _Timer_server_Insert_timer(                               
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
300141c4:	e5963038 	ldr	r3, [r6, #56]	; 0x38                          
300141c8:	e3530001 	cmp	r3, #1                                        
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
300141cc:	01a00009 	moveq	r0, r9                                      
static void _Timer_server_Insert_timer(                               
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
300141d0:	0a000002 	beq	300141e0 <_Timer_server_Body+0xc8>            
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
300141d4:	e3530003 	cmp	r3, #3                                        
300141d8:	1afffff5 	bne	300141b4 <_Timer_server_Body+0x9c>            
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
300141dc:	e1a00008 	mov	r0, r8                                        
300141e0:	e2861010 	add	r1, r6, #16                                   
300141e4:	eb001084 	bl	300183fc <_Watchdog_Insert>                    
300141e8:	eafffff1 	b	300141b4 <_Timer_server_Body+0x9c>              
     *  of zero it will be processed in the next iteration of the timer server
     *  body loop.                                                    
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
300141ec:	ebffff97 	bl	30014050 <arm_interrupt_disable>               
    if ( _Chain_Is_empty( insert_chain ) ) {                          
300141f0:	e59d300c 	ldr	r3, [sp, #12]                                 
300141f4:	e153000a 	cmp	r3, sl                                        
300141f8:	1a000006 	bne	30014218 <_Timer_server_Body+0x100>           
      ts->insert_chain = NULL;                                        
300141fc:	e5846078 	str	r6, [r4, #120]	; 0x78                         
30014200:	e129f000 	msr	CPSR_fc, r0                                   
  _Chain_Initialize_empty( &fire_chain );                             
                                                                      
  while ( true ) {                                                    
    _Timer_server_Get_watchdogs_that_fire_now( ts, &insert_chain, &fire_chain );
                                                                      
    if ( !_Chain_Is_empty( &fire_chain ) ) {                          
30014204:	e59d3000 	ldr	r3, [sp]                                      
30014208:	e1530007 	cmp	r3, r7                                        
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
    return _Chain_Get_first_unprotected(the_chain);                   
  else                                                                
    return NULL;                                                      
3001420c:	13a06000 	movne	r6, #0                                      
30014210:	1a000002 	bne	30014220 <_Timer_server_Body+0x108>           
30014214:	ea000013 	b	30014268 <_Timer_server_Body+0x150>             
30014218:	e129f000 	msr	CPSR_fc, r0                                   <== NOT EXECUTED
3001421c:	eaffffcd 	b	30014158 <_Timer_server_Body+0x40>              <== NOT EXECUTED
                                                                      
        /*                                                            
         *  It is essential that interrupts are disable here since an interrupt
         *  service routine may remove a watchdog from the chain.     
         */                                                           
        _ISR_Disable( level );                                        
30014220:	ebffff8a 	bl	30014050 <arm_interrupt_disable>               
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
30014224:	e59d3000 	ldr	r3, [sp]                                      
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
30014228:	e1530007 	cmp	r3, r7                                        
3001422c:	0a00000b 	beq	30014260 <_Timer_server_Body+0x148>           
{                                                                     
  Chain_Node  *return_node;                                           
  Chain_Node  *new_first;                                             
                                                                      
  return_node         = the_chain->first;                             
  new_first           = return_node->next;                            
30014230:	e5932000 	ldr	r2, [r3]                                      
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
30014234:	e3530000 	cmp	r3, #0                                        
  the_chain->first    = new_first;                                    
30014238:	e58d2000 	str	r2, [sp]                                      
  new_first->previous = _Chain_Head(the_chain);                       
3001423c:	e5825004 	str	r5, [r2, #4]                                  
30014240:	0a000006 	beq	30014260 <_Timer_server_Body+0x148>           
          watchdog->state = WATCHDOG_INACTIVE;                        
30014244:	e5836008 	str	r6, [r3, #8]                                  
30014248:	e129f000 	msr	CPSR_fc, r0                                   
        /*                                                            
         *  The timer server may block here and wait for resources or time.
         *  The system watchdogs are inactive and will remain inactive since
         *  the active flag of the timer server is true.              
         */                                                           
        (*watchdog->routine)( watchdog->id, watchdog->user_data );    
3001424c:	e5930020 	ldr	r0, [r3, #32]                                 
30014250:	e5931024 	ldr	r1, [r3, #36]	; 0x24                          
30014254:	e1a0e00f 	mov	lr, pc                                        
30014258:	e593f01c 	ldr	pc, [r3, #28]                                 
      }                                                               
3001425c:	eaffffef 	b	30014220 <_Timer_server_Body+0x108>             
30014260:	e129f000 	msr	CPSR_fc, r0                                   
30014264:	eaffffb9 	b	30014150 <_Timer_server_Body+0x38>              
    } else {                                                          
      ts->active = false;                                             
30014268:	e3a03000 	mov	r3, #0                                        
3001426c:	e5c4307c 	strb	r3, [r4, #124]	; 0x7c                        
                                                                      
      /*                                                              
       *  Block until there is something to do.                       
       */                                                             
      _Thread_Disable_dispatch();                                     
30014270:	ebffff7a 	bl	30014060 <_Thread_Disable_dispatch>            
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
30014274:	e3a01008 	mov	r1, #8                                        
30014278:	e5940000 	ldr	r0, [r4]                                      
3001427c:	eb000dcb 	bl	300179b0 <_Thread_Set_state>                   
        _Timer_server_Reset_interval_system_watchdog( ts );           
30014280:	e1a00004 	mov	r0, r4                                        
30014284:	ebffff7b 	bl	30014078 <_Timer_server_Reset_interval_system_watchdog>
        _Timer_server_Reset_tod_system_watchdog( ts );                
30014288:	e1a00004 	mov	r0, r4                                        
3001428c:	ebffff8d 	bl	300140c8 <_Timer_server_Reset_tod_system_watchdog>
      _Thread_Enable_dispatch();                                      
30014290:	eb000b53 	bl	30016fe4 <_Thread_Enable_dispatch>             
                                                                      
      ts->active = true;                                              
30014294:	e3a03001 	mov	r3, #1                                        
30014298:	e5c4307c 	strb	r3, [r4, #124]	; 0x7c                        
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
3001429c:	e2840008 	add	r0, r4, #8                                    
300142a0:	eb0010ab 	bl	30018554 <_Watchdog_Remove>                    
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
300142a4:	e2840040 	add	r0, r4, #64	; 0x40                            
300142a8:	eb0010a9 	bl	30018554 <_Watchdog_Remove>                    
300142ac:	eaffffa7 	b	30014150 <_Timer_server_Body+0x38>              
                                                                      

3000984c <_Timespec_Greater_than>: bool _Timespec_Greater_than( const struct timespec *lhs, const struct timespec *rhs ) { if ( lhs->tv_sec > rhs->tv_sec )
3000984c:	e5902000 	ldr	r2, [r0]                                      
30009850:	e5913000 	ldr	r3, [r1]                                      
30009854:	e1520003 	cmp	r2, r3                                        
    return true;                                                      
30009858:	c3a00001 	movgt	r0, #1                                      
bool _Timespec_Greater_than(                                          
  const struct timespec *lhs,                                         
  const struct timespec *rhs                                          
)                                                                     
{                                                                     
  if ( lhs->tv_sec > rhs->tv_sec )                                    
3000985c:	c12fff1e 	bxgt	lr                                           
    return true;                                                      
                                                                      
  if ( lhs->tv_sec < rhs->tv_sec )                                    
30009860:	ba000005 	blt	3000987c <_Timespec_Greater_than+0x30>        
                                                                      
#include <rtems/system.h>                                             
#include <rtems/score/timespec.h>                                     
#include <rtems/score/tod.h>                                          
                                                                      
bool _Timespec_Greater_than(                                          
30009864:	e5900004 	ldr	r0, [r0, #4]                                  
30009868:	e5913004 	ldr	r3, [r1, #4]                                  
3000986c:	e1500003 	cmp	r0, r3                                        
30009870:	d3a00000 	movle	r0, #0                                      
30009874:	c3a00001 	movgt	r0, #1                                      
30009878:	e12fff1e 	bx	lr                                             
{                                                                     
  if ( lhs->tv_sec > rhs->tv_sec )                                    
    return true;                                                      
                                                                      
  if ( lhs->tv_sec < rhs->tv_sec )                                    
    return false;                                                     
3000987c:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
  /* ASSERT: lhs->tv_sec == rhs->tv_sec */                            
  if ( lhs->tv_nsec > rhs->tv_nsec )                                  
    return true;                                                      
                                                                      
  return false;                                                       
}                                                                     
30009880:	e12fff1e 	bx	lr                                             <== NOT EXECUTED
                                                                      

30007d44 <_User_extensions_Fatal>: void _User_extensions_Fatal ( Internal_errors_Source the_source, bool is_internal, Internal_errors_t the_error ) {
30007d44:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
30007d48:	e59f503c 	ldr	r5, [pc, #60]	; 30007d8c <_User_extensions_Fatal+0x48>
void _User_extensions_Fatal (                                         
  Internal_errors_Source  the_source,                                 
  bool                    is_internal,                                
  Internal_errors_t       the_error                                   
)                                                                     
{                                                                     
30007d4c:	e1a08000 	mov	r8, r0                                        
30007d50:	e1a07002 	mov	r7, r2                                        
30007d54:	e20160ff 	and	r6, r1, #255	; 0xff                           
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
30007d58:	e5954008 	ldr	r4, [r5, #8]                                  
30007d5c:	ea000007 	b	30007d80 <_User_extensions_Fatal+0x3c>          
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
30007d60:	e5943030 	ldr	r3, [r4, #48]	; 0x30                          
30007d64:	e3530000 	cmp	r3, #0                                        
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
30007d68:	11a00008 	movne	r0, r8                                      
30007d6c:	11a01006 	movne	r1, r6                                      
30007d70:	11a02007 	movne	r2, r7                                      
30007d74:	11a0e00f 	movne	lr, pc                                      
30007d78:	112fff13 	bxne	r3                                           
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
30007d7c:	e5944004 	ldr	r4, [r4, #4]                                  
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _User_extensions_List.last ;                       
30007d80:	e1540005 	cmp	r4, r5                                        
30007d84:	1afffff5 	bne	30007d60 <_User_extensions_Fatal+0x1c>        
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  }                                                                   
}                                                                     
30007d88:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
                                                                      

30007be4 <rtems_iterate_over_all_threads>: #include <rtems/system.h> #include <rtems/score/thread.h> void rtems_iterate_over_all_threads(rtems_per_thread_routine routine) {
30007be4:	e92d41f0 	push	{r4, r5, r6, r7, r8, lr}                     
  uint32_t             i;                                             
  uint32_t             api_index;                                     
  Thread_Control      *the_thread;                                    
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
30007be8:	e2508000 	subs	r8, r0, #0                                   
30007bec:	08bd81f0 	popeq	{r4, r5, r6, r7, r8, pc}                    
30007bf0:	e59f4048 	ldr	r4, [pc, #72]	; 30007c40 <rtems_iterate_over_all_threads+0x5c>
#endif                                                                
                                                                      
#include <rtems/system.h>                                             
#include <rtems/score/thread.h>                                       
                                                                      
void rtems_iterate_over_all_threads(rtems_per_thread_routine routine) 
30007bf4:	e284700c 	add	r7, r4, #12                                   
    #if defined(RTEMS_DEBUG)                                          
      if ( !_Objects_Information_table[ api_index ] )                 
	continue;                                                            
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
30007bf8:	e5b43004 	ldr	r3, [r4, #4]!                                 
30007bfc:	e5936004 	ldr	r6, [r3, #4]                                  
    if ( !information )                                               
30007c00:	e3560000 	cmp	r6, #0                                        
30007c04:	13a05001 	movne	r5, #1                                      
30007c08:	1a000006 	bne	30007c28 <rtems_iterate_over_all_threads+0x44>
30007c0c:	ea000008 	b	30007c34 <rtems_iterate_over_all_threads+0x50>  
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
      the_thread = (Thread_Control *)information->local_table[ i ];   
30007c10:	e596301c 	ldr	r3, [r6, #28]                                 
30007c14:	e7930105 	ldr	r0, [r3, r5, lsl #2]                          
                                                                      
      if ( !the_thread )                                              
30007c18:	e3500000 	cmp	r0, #0                                        
	continue;                                                            
                                                                      
      (*routine)(the_thread);                                         
30007c1c:	11a0e00f 	movne	lr, pc                                      
30007c20:	112fff18 	bxne	r8                                           
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( !information )                                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
30007c24:	e2855001 	add	r5, r5, #1                                    
30007c28:	e1d631b0 	ldrh	r3, [r6, #16]                                
30007c2c:	e1550003 	cmp	r5, r3                                        
30007c30:	9afffff6 	bls	30007c10 <rtems_iterate_over_all_threads+0x2c>
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
30007c34:	e1540007 	cmp	r4, r7                                        
30007c38:	1affffee 	bne	30007bf8 <rtems_iterate_over_all_threads+0x14>
30007c3c:	e8bd81f0 	pop	{r4, r5, r6, r7, r8, pc}                      <== NOT EXECUTED
                                                                      

3000b898 <rtems_rate_monotonic_get_status>: rtems_status_code rtems_rate_monotonic_get_status( rtems_id id, rtems_rate_monotonic_period_status *status ) {
3000b898:	e92d4010 	push	{r4, lr}                                     
  Objects_Locations              location;                            
  Rate_monotonic_Period_time_t   since_last_period;                   
  Rate_monotonic_Control        *the_period;                          
  bool                           valid_status;                        
                                                                      
  if ( !status )                                                      
3000b89c:	e2514000 	subs	r4, r1, #0                                   
                                                                      
rtems_status_code rtems_rate_monotonic_get_status(                    
  rtems_id                            id,                             
  rtems_rate_monotonic_period_status *status                          
)                                                                     
{                                                                     
3000b8a0:	e1a03000 	mov	r3, r0                                        
3000b8a4:	e24dd014 	sub	sp, sp, #20                                   
  Rate_monotonic_Period_time_t   since_last_period;                   
  Rate_monotonic_Control        *the_period;                          
  bool                           valid_status;                        
                                                                      
  if ( !status )                                                      
    return RTEMS_INVALID_ADDRESS;                                     
3000b8a8:	03a00009 	moveq	r0, #9                                      
  Objects_Locations              location;                            
  Rate_monotonic_Period_time_t   since_last_period;                   
  Rate_monotonic_Control        *the_period;                          
  bool                           valid_status;                        
                                                                      
  if ( !status )                                                      
3000b8ac:	0a000023 	beq	3000b940 <rtems_rate_monotonic_get_status+0xa8>
3000b8b0:	e1a01003 	mov	r1, r3                                        
3000b8b4:	e28d2010 	add	r2, sp, #16                                   
3000b8b8:	e59f0088 	ldr	r0, [pc, #136]	; 3000b948 <rtems_rate_monotonic_get_status+0xb0>
3000b8bc:	ebfff222 	bl	3000814c <_Objects_Get>                        
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
  switch ( location ) {                                               
3000b8c0:	e59d2010 	ldr	r2, [sp, #16]                                 
3000b8c4:	e1a03000 	mov	r3, r0                                        
3000b8c8:	e3520000 	cmp	r2, #0                                        
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
3000b8cc:	13a00004 	movne	r0, #4                                      
                                                                      
  if ( !status )                                                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
  switch ( location ) {                                               
3000b8d0:	1a00001a 	bne	3000b940 <rtems_rate_monotonic_get_status+0xa8>
                                                                      
    case OBJECTS_LOCAL:                                               
      status->owner = the_period->owner->Object.id;                   
3000b8d4:	e5932040 	ldr	r2, [r3, #64]	; 0x40                          
      status->state = the_period->state;                              
3000b8d8:	e5933038 	ldr	r3, [r3, #56]	; 0x38                          
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      status->owner = the_period->owner->Object.id;                   
3000b8dc:	e5922008 	ldr	r2, [r2, #8]                                  
      status->state = the_period->state;                              
                                                                      
      /*                                                              
       *  If the period is inactive, there is no information.         
       */                                                             
      if ( status->state == RATE_MONOTONIC_INACTIVE ) {               
3000b8e0:	e3530000 	cmp	r3, #0                                        
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      status->owner = the_period->owner->Object.id;                   
3000b8e4:	e884000c 	stm	r4, {r2, r3}                                  
      /*                                                              
       *  If the period is inactive, there is no information.         
       */                                                             
      if ( status->state == RATE_MONOTONIC_INACTIVE ) {               
        #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                    
          _Timespec_Set_to_zero( &status->since_last_period );        
3000b8e8:	05843008 	streq	r3, [r4, #8]                                
3000b8ec:	0584300c 	streq	r3, [r4, #12]                               
          _Timespec_Set_to_zero( &status->executed_since_last_period );
3000b8f0:	05843010 	streq	r3, [r4, #16]                               
3000b8f4:	05843014 	streq	r3, [r4, #20]                               
3000b8f8:	0a00000e 	beq	3000b938 <rtems_rate_monotonic_get_status+0xa0>
      } else {                                                        
                                                                      
        /*                                                            
         *  Grab the current status.                                  
         */                                                           
        valid_status =                                                
3000b8fc:	e1a0100d 	mov	r1, sp                                        
3000b900:	e28d2008 	add	r2, sp, #8                                    
3000b904:	ebffe958 	bl	30005e6c <_Rate_monotonic_Get_status>          
          _Rate_monotonic_Get_status(                                 
            the_period, &since_last_period, &executed                 
          );                                                          
        if (!valid_status) {                                          
3000b908:	e3500000 	cmp	r0, #0                                        
3000b90c:	1a000002 	bne	3000b91c <rtems_rate_monotonic_get_status+0x84>
          _Thread_Enable_dispatch();                                  
3000b910:	ebfff42b 	bl	300089c4 <_Thread_Enable_dispatch>             <== NOT EXECUTED
          return RTEMS_NOT_DEFINED;                                   
3000b914:	e3a0000b 	mov	r0, #11                                       <== NOT EXECUTED
3000b918:	ea000008 	b	3000b940 <rtems_rate_monotonic_get_status+0xa8> <== NOT EXECUTED
        }                                                             
                                                                      
        #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                    
          _Timestamp_To_timespec(                                     
3000b91c:	e89d000c 	ldm	sp, {r2, r3}                                  
3000b920:	e5842008 	str	r2, [r4, #8]                                  
3000b924:	e584300c 	str	r3, [r4, #12]                                 
            &since_last_period, &status->since_last_period            
          );                                                          
          _Timestamp_To_timespec(                                     
3000b928:	e28d3008 	add	r3, sp, #8                                    
3000b92c:	e893000c 	ldm	r3, {r2, r3}                                  
3000b930:	e5842010 	str	r2, [r4, #16]                                 
3000b934:	e5843014 	str	r3, [r4, #20]                                 
          status->since_last_period = since_last_period;              
          status->executed_since_last_period = executed;              
        #endif                                                        
      }                                                               
                                                                      
      _Thread_Enable_dispatch();                                      
3000b938:	ebfff421 	bl	300089c4 <_Thread_Enable_dispatch>             
      return RTEMS_SUCCESSFUL;                                        
3000b93c:	e3a00000 	mov	r0, #0                                        
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
3000b940:	e28dd014 	add	sp, sp, #20                                   
3000b944:	e8bd8010 	pop	{r4, pc}                                      
                                                                      

3000b854 <rtems_task_mode>: rtems_status_code rtems_task_mode( rtems_mode mode_set, rtems_mode mask, rtems_mode *previous_mode_set ) {
3000b854:	e92d47f0 	push	{r4, r5, r6, r7, r8, r9, sl, lr}             
  ASR_Information    *asr;                                            
  bool                is_asr_enabled = false;                         
  bool                needs_asr_dispatching = false;                  
  rtems_mode          old_mode;                                       
                                                                      
  if ( !previous_mode_set )                                           
3000b858:	e252a000 	subs	sl, r2, #0                                   
rtems_status_code rtems_task_mode(                                    
  rtems_mode  mode_set,                                               
  rtems_mode  mask,                                                   
  rtems_mode *previous_mode_set                                       
)                                                                     
{                                                                     
3000b85c:	e1a04000 	mov	r4, r0                                        
3000b860:	e1a05001 	mov	r5, r1                                        
  bool                is_asr_enabled = false;                         
  bool                needs_asr_dispatching = false;                  
  rtems_mode          old_mode;                                       
                                                                      
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
3000b864:	03a00009 	moveq	r0, #9                                      
  ASR_Information    *asr;                                            
  bool                is_asr_enabled = false;                         
  bool                needs_asr_dispatching = false;                  
  rtems_mode          old_mode;                                       
                                                                      
  if ( !previous_mode_set )                                           
3000b868:	08bd87f0 	popeq	{r4, r5, r6, r7, r8, r9, sl, pc}            
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
3000b86c:	e59f313c 	ldr	r3, [pc, #316]	; 3000b9b0 <rtems_task_mode+0x15c>
3000b870:	e5937004 	ldr	r7, [r3, #4]                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
3000b874:	e5d78074 	ldrb	r8, [r7, #116]	; 0x74                        
                                                                      
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
3000b878:	e5976100 	ldr	r6, [r7, #256]	; 0x100                        
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
3000b87c:	e597307c 	ldr	r3, [r7, #124]	; 0x7c                         
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
3000b880:	e3580000 	cmp	r8, #0                                        
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
3000b884:	e5d69008 	ldrb	r9, [r6, #8]                                 
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
3000b888:	03a08c01 	moveq	r8, #256	; 0x100                            
3000b88c:	13a08000 	movne	r8, #0                                      
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
3000b890:	e3530000 	cmp	r3, #0                                        
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
3000b894:	13888c02 	orrne	r8, r8, #512	; 0x200                        
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
3000b898:	e3590000 	cmp	r9, #0                                        
3000b89c:	03a09b01 	moveq	r9, #1024	; 0x400                           
3000b8a0:	13a09000 	movne	r9, #0                                      
  old_mode |= _ISR_Get_level();                                       
3000b8a4:	ebfff334 	bl	3000857c <_CPU_ISR_Get_level>                  
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
3000b8a8:	e1899000 	orr	r9, r9, r0                                    
  old_mode |= _ISR_Get_level();                                       
3000b8ac:	e1898008 	orr	r8, r9, r8                                    
  *previous_mode_set = old_mode;                                      
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
  if ( mask & RTEMS_PREEMPT_MASK )                                    
3000b8b0:	e3150c01 	tst	r5, #256	; 0x100                              
    old_mode |= RTEMS_TIMESLICE;                                      
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
  old_mode |= _ISR_Get_level();                                       
                                                                      
  *previous_mode_set = old_mode;                                      
3000b8b4:	e58a8000 	str	r8, [sl]                                      
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
  if ( mask & RTEMS_PREEMPT_MASK )                                    
3000b8b8:	0a000003 	beq	3000b8cc <rtems_task_mode+0x78>               
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
3000b8bc:	e3140c01 	tst	r4, #256	; 0x100                              
3000b8c0:	13a03000 	movne	r3, #0                                      
3000b8c4:	03a03001 	moveq	r3, #1                                      
3000b8c8:	e5c73074 	strb	r3, [r7, #116]	; 0x74                        
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
3000b8cc:	e3150c02 	tst	r5, #512	; 0x200                              
3000b8d0:	0a000006 	beq	3000b8f0 <rtems_task_mode+0x9c>               
    if ( _Modes_Is_timeslice(mode_set) ) {                            
3000b8d4:	e2143c02 	ands	r3, r4, #512	; 0x200                         
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
3000b8d8:	13a03001 	movne	r3, #1                                      
3000b8dc:	1587307c 	strne	r3, [r7, #124]	; 0x7c                       
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
3000b8e0:	159f30cc 	ldrne	r3, [pc, #204]	; 3000b9b4 <rtems_task_mode+0x160>
    } else                                                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE; 
3000b8e4:	0587307c 	streq	r3, [r7, #124]	; 0x7c                       
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
    if ( _Modes_Is_timeslice(mode_set) ) {                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
3000b8e8:	15933000 	ldrne	r3, [r3]                                    
3000b8ec:	15873078 	strne	r3, [r7, #120]	; 0x78                       
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
3000b8f0:	e3150080 	tst	r5, #128	; 0x80                               
3000b8f4:	0a000001 	beq	3000b900 <rtems_task_mode+0xac>               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Modes_Set_interrupt_level (                
  Modes_Control mode_set                                              
)                                                                     
{                                                                     
  _ISR_Set_level( _Modes_Get_interrupt_level( mode_set ) );           
3000b8f8:	e2040080 	and	r0, r4, #128	; 0x80                           
3000b8fc:	ebfff319 	bl	30008568 <_CPU_ISR_Set_level>                  
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
3000b900:	e2150b01 	ands	r0, r5, #1024	; 0x400                        
3000b904:	0a000013 	beq	3000b958 <rtems_task_mode+0x104>              
 *  Output:                                                           
 *    *previous_mode_set - previous mode set                          
 *     always return RTEMS_SUCCESSFUL;                                
 */                                                                   
                                                                      
rtems_status_code rtems_task_mode(                                    
3000b908:	e3140b01 	tst	r4, #1024	; 0x400                             
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
    is_asr_enabled = _Modes_Is_asr_disabled( mode_set ) ? false : true;
    if ( is_asr_enabled != asr->is_enabled ) {                        
3000b90c:	e5d62008 	ldrb	r2, [r6, #8]                                 
 *  Output:                                                           
 *    *previous_mode_set - previous mode set                          
 *     always return RTEMS_SUCCESSFUL;                                
 */                                                                   
                                                                      
rtems_status_code rtems_task_mode(                                    
3000b910:	13a03000 	movne	r3, #0                                      
3000b914:	03a03001 	moveq	r3, #1                                      
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
    is_asr_enabled = _Modes_Is_asr_disabled( mode_set ) ? false : true;
    if ( is_asr_enabled != asr->is_enabled ) {                        
3000b918:	e1520003 	cmp	r2, r3                                        
                                                                      
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
3000b91c:	03a00000 	moveq	r0, #0                                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
    is_asr_enabled = _Modes_Is_asr_disabled( mode_set ) ? false : true;
    if ( is_asr_enabled != asr->is_enabled ) {                        
3000b920:	0a00000c 	beq	3000b958 <rtems_task_mode+0x104>              
      asr->is_enabled = is_asr_enabled;                               
3000b924:	e5c63008 	strb	r3, [r6, #8]                                 
static inline uint32_t arm_interrupt_disable( void )                  
{                                                                     
  uint32_t arm_switch_reg;                                            
  uint32_t level;                                                     
                                                                      
  asm volatile (                                                      
3000b928:	e10f3000 	mrs	r3, CPSR                                      
3000b92c:	e3832080 	orr	r2, r3, #128	; 0x80                           
3000b930:	e129f002 	msr	CPSR_fc, r2                                   
{                                                                     
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
    _signals                     = information->signals_pending;      
3000b934:	e5962018 	ldr	r2, [r6, #24]                                 
    information->signals_pending = information->signals_posted;       
3000b938:	e5961014 	ldr	r1, [r6, #20]                                 
    information->signals_posted  = _signals;                          
3000b93c:	e5862014 	str	r2, [r6, #20]                                 
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
    _signals                     = information->signals_pending;      
    information->signals_pending = information->signals_posted;       
3000b940:	e5861018 	str	r1, [r6, #24]                                 
                                                                      
static inline void arm_interrupt_enable( uint32_t level )             
{                                                                     
  ARM_SWITCH_REGISTERS;                                               
                                                                      
  asm volatile (                                                      
3000b944:	e129f003 	msr	CPSR_fc, r3                                   
      _ASR_Swap_signals( asr );                                       
      if ( _ASR_Are_signals_pending( asr ) ) {                        
3000b948:	e5960014 	ldr	r0, [r6, #20]                                 
                                                                      
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
3000b94c:	e3500000 	cmp	r0, #0                                        
3000b950:	13a00001 	movne	r0, #1                                      
3000b954:	03a00000 	moveq	r0, #0                                      
        needs_asr_dispatching = true;                                 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
3000b958:	e59f3058 	ldr	r3, [pc, #88]	; 3000b9b8 <rtems_task_mode+0x164>
3000b95c:	e5933000 	ldr	r3, [r3]                                      
3000b960:	e3530003 	cmp	r3, #3                                        
3000b964:	1a00000f 	bne	3000b9a8 <rtems_task_mode+0x154>              
  bool are_signals_pending                                            
)                                                                     
{                                                                     
  Thread_Control     *executing;                                      
                                                                      
  executing = _Thread_Executing;                                      
3000b968:	e59f2040 	ldr	r2, [pc, #64]	; 3000b9b0 <rtems_task_mode+0x15c>
                                                                      
  if ( are_signals_pending ||                                         
3000b96c:	e3500000 	cmp	r0, #0                                        
  bool are_signals_pending                                            
)                                                                     
{                                                                     
  Thread_Control     *executing;                                      
                                                                      
  executing = _Thread_Executing;                                      
3000b970:	e5923004 	ldr	r3, [r2, #4]                                  
                                                                      
  if ( are_signals_pending ||                                         
3000b974:	1a000005 	bne	3000b990 <rtems_task_mode+0x13c>              
3000b978:	e5922008 	ldr	r2, [r2, #8]                                  
3000b97c:	e1530002 	cmp	r3, r2                                        
3000b980:	08bd87f0 	popeq	{r4, r5, r6, r7, r8, r9, sl, pc}            
       (!_Thread_Is_heir( executing ) && executing->is_preemptible) ) {
3000b984:	e5d33074 	ldrb	r3, [r3, #116]	; 0x74                        
3000b988:	e3530000 	cmp	r3, #0                                        
3000b98c:	08bd87f0 	popeq	{r4, r5, r6, r7, r8, r9, sl, pc}            
    _Thread_Dispatch_necessary = true;                                
3000b990:	e59f3018 	ldr	r3, [pc, #24]	; 3000b9b0 <rtems_task_mode+0x15c>
3000b994:	e3a02001 	mov	r2, #1                                        
3000b998:	e5c32010 	strb	r2, [r3, #16]                                
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
3000b99c:	ebffed17 	bl	30006e00 <_Thread_Dispatch>                    
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
3000b9a0:	e3a00000 	mov	r0, #0                                        
3000b9a4:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              
3000b9a8:	e3a00000 	mov	r0, #0                                        <== NOT EXECUTED
}                                                                     
3000b9ac:	e8bd87f0 	pop	{r4, r5, r6, r7, r8, r9, sl, pc}              <== NOT EXECUTED