RTEMS 4.11
Annotated Report
Sat Oct 9 06:54:11 2010

ffc19c60 <_CORE_message_queue_Broadcast>:                             
    Objects_Id                                 id __attribute__((unused)),
    CORE_message_queue_API_mp_support_callout  api_message_queue_mp_support __attribute__((unused)),
  #endif                                                              
  uint32_t                                  *count                    
)                                                                     
{                                                                     
ffc19c60:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc19c64:	7c 08 02 a6 	mflr    r0                                     
ffc19c68:	90 01 00 24 	stw     r0,36(r1)                              
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
ffc19c6c:	80 03 00 4c 	lwz     r0,76(r3)                              
    Objects_Id                                 id __attribute__((unused)),
    CORE_message_queue_API_mp_support_callout  api_message_queue_mp_support __attribute__((unused)),
  #endif                                                              
  uint32_t                                  *count                    
)                                                                     
{                                                                     
ffc19c70:	bf 41 00 08 	stmw    r26,8(r1)                              
ffc19c74:	7c 7f 1b 78 	mr      r31,r3                                 
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
ffc19c78:	7f 85 00 40 	cmplw   cr7,r5,r0                              
    Objects_Id                                 id __attribute__((unused)),
    CORE_message_queue_API_mp_support_callout  api_message_queue_mp_support __attribute__((unused)),
  #endif                                                              
  uint32_t                                  *count                    
)                                                                     
{                                                                     
ffc19c7c:	7c 9d 23 78 	mr      r29,r4                                 
ffc19c80:	7c be 2b 78 	mr      r30,r5                                 
ffc19c84:	7d 1b 43 78 	mr      r27,r8                                 
  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;                    
ffc19c88:	38 60 00 01 	li      r3,1                                   
{                                                                     
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
ffc19c8c:	41 9d 00 54 	bgt-    cr7,ffc19ce0 <_CORE_message_queue_Broadcast+0x80><== NEVER TAKEN
   *  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 ) {         
ffc19c90:	80 1f 00 48 	lwz     r0,72(r31)                             
ffc19c94:	3b 80 00 00 	li      r28,0                                  
ffc19c98:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc19c9c:	41 be 00 30 	beq+    cr7,ffc19ccc <_CORE_message_queue_Broadcast+0x6c>
    *count = 0;                                                       
ffc19ca0:	38 00 00 00 	li      r0,0                                   
ffc19ca4:	90 08 00 00 	stw     r0,0(r8)                               
    return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                      
ffc19ca8:	38 60 00 00 	li      r3,0                                   
ffc19cac:	48 00 00 34 	b       ffc19ce0 <_CORE_message_queue_Broadcast+0x80>
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
ffc19cb0:	80 7a 00 2c 	lwz     r3,44(r26)                             
ffc19cb4:	7f a4 eb 78 	mr      r4,r29                                 
ffc19cb8:	7f c5 f3 78 	mr      r5,r30                                 
ffc19cbc:	48 00 87 65 	bl      ffc22420 <memcpy>                      
      buffer,                                                         
      waitp->return_argument_second.mutable_object,                   
      size                                                            
    );                                                                
                                                                      
    *(size_t *) the_thread->Wait.return_argument = size;              
ffc19cc0:	81 3a 00 28 	lwz     r9,40(r26)                             
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
          _Thread_queue_Dequeue(&the_message_queue->Wait_queue))) {   
    waitp = &the_thread->Wait;                                        
    number_broadcasted += 1;                                          
ffc19cc4:	3b 9c 00 01 	addi    r28,r28,1                              
      buffer,                                                         
      waitp->return_argument_second.mutable_object,                   
      size                                                            
    );                                                                
                                                                      
    *(size_t *) the_thread->Wait.return_argument = size;              
ffc19cc8:	93 c9 00 00 	stw     r30,0(r9)                              
  /*                                                                  
   *  There must be no pending messages if there is a thread waiting to
   *  receive a message.                                              
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
ffc19ccc:	7f e3 fb 78 	mr      r3,r31                                 
ffc19cd0:	48 00 2a 31 	bl      ffc1c700 <_Thread_queue_Dequeue>       
ffc19cd4:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc19cd8:	40 82 ff d8 	bne+    ffc19cb0 <_CORE_message_queue_Broadcast+0x50>
      if ( !_Objects_Is_local_id( the_thread->Object.id ) )           
        (*api_message_queue_mp_support) ( the_thread, id );           
    #endif                                                            
                                                                      
  }                                                                   
  *count = number_broadcasted;                                        
ffc19cdc:	93 9b 00 00 	stw     r28,0(r27)                             
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
}                                                                     
ffc19ce0:	39 61 00 20 	addi    r11,r1,32                              
ffc19ce4:	4b ff 45 c4 	b       ffc0e2a8 <_restgpr_26_x>               
                                                                      

ffc11a54 <_CORE_message_queue_Initialize>: CORE_message_queue_Control *the_message_queue, CORE_message_queue_Attributes *the_message_queue_attributes, uint32_t maximum_pending_messages, size_t maximum_message_size ) {
ffc11a54:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc11a58:	7c 08 02 a6 	mflr    r0                                     
  /*                                                                  
   *  Round size up to multiple of a pointer for chain init and       
   *  check for overflow on adding overhead to each message.          
   */                                                                 
  allocated_message_size = maximum_message_size;                      
  if (allocated_message_size & (sizeof(uint32_t) - 1)) {              
ffc11a5c:	7c c9 33 78 	mr      r9,r6                                  
  CORE_message_queue_Control    *the_message_queue,                   
  CORE_message_queue_Attributes *the_message_queue_attributes,        
  uint32_t                       maximum_pending_messages,            
  size_t                         maximum_message_size                 
)                                                                     
{                                                                     
ffc11a60:	90 01 00 24 	stw     r0,36(r1)                              
  size_t message_buffering_required;                                  
  size_t allocated_message_size;                                      
                                                                      
  the_message_queue->maximum_pending_messages   = maximum_pending_messages;
  the_message_queue->number_of_pending_messages = 0;                  
ffc11a64:	38 00 00 00 	li      r0,0                                   
  CORE_message_queue_Control    *the_message_queue,                   
  CORE_message_queue_Attributes *the_message_queue_attributes,        
  uint32_t                       maximum_pending_messages,            
  size_t                         maximum_message_size                 
)                                                                     
{                                                                     
ffc11a68:	bf 81 00 10 	stmw    r28,16(r1)                             
ffc11a6c:	7c 7f 1b 78 	mr      r31,r3                                 
ffc11a70:	7c 9d 23 78 	mr      r29,r4                                 
  size_t message_buffering_required;                                  
  size_t allocated_message_size;                                      
                                                                      
  the_message_queue->maximum_pending_messages   = maximum_pending_messages;
  the_message_queue->number_of_pending_messages = 0;                  
ffc11a74:	90 03 00 48 	stw     r0,72(r3)                              
  /*                                                                  
   *  Round size up to multiple of a pointer for chain init and       
   *  check for overflow on adding overhead to each message.          
   */                                                                 
  allocated_message_size = maximum_message_size;                      
  if (allocated_message_size & (sizeof(uint32_t) - 1)) {              
ffc11a78:	70 c0 00 03 	andi.   r0,r6,3                                
)                                                                     
{                                                                     
  size_t message_buffering_required;                                  
  size_t allocated_message_size;                                      
                                                                      
  the_message_queue->maximum_pending_messages   = maximum_pending_messages;
ffc11a7c:	90 a3 00 44 	stw     r5,68(r3)                              
  the_message_queue->number_of_pending_messages = 0;                  
  the_message_queue->maximum_message_size       = maximum_message_size;
ffc11a80:	90 c3 00 4c 	stw     r6,76(r3)                              
  /*                                                                  
   *  Round size up to multiple of a pointer for chain init and       
   *  check for overflow on adding overhead to each message.          
   */                                                                 
  allocated_message_size = maximum_message_size;                      
  if (allocated_message_size & (sizeof(uint32_t) - 1)) {              
ffc11a84:	41 82 00 18 	beq-    ffc11a9c <_CORE_message_queue_Initialize+0x48>
    allocated_message_size += sizeof(uint32_t);                       
ffc11a88:	39 26 00 04 	addi    r9,r6,4                                
    allocated_message_size &= ~(sizeof(uint32_t) - 1);                
ffc11a8c:	55 29 00 3a 	rlwinm  r9,r9,0,0,29                           
  }                                                                   
                                                                      
  if (allocated_message_size < maximum_message_size)                  
ffc11a90:	7f 89 30 40 	cmplw   cr7,r9,r6                              
    return false;                                                     
ffc11a94:	3b c0 00 00 	li      r30,0                                  
  if (allocated_message_size & (sizeof(uint32_t) - 1)) {              
    allocated_message_size += sizeof(uint32_t);                       
    allocated_message_size &= ~(sizeof(uint32_t) - 1);                
  }                                                                   
                                                                      
  if (allocated_message_size < maximum_message_size)                  
ffc11a98:	41 bc 00 78 	blt+    cr7,ffc11b10 <_CORE_message_queue_Initialize+0xbc><== NEVER TAKEN
  /*                                                                  
   *  Calculate how much total memory is required for message buffering and
   *  check for overflow on the multiplication.                       
   */                                                                 
  message_buffering_required = (size_t) maximum_pending_messages *    
       (allocated_message_size + sizeof(CORE_message_queue_Buffer_control));
ffc11a9c:	3b 89 00 10 	addi    r28,r9,16                              
                                                                      
  /*                                                                  
   *  Calculate how much total memory is required for message buffering and
   *  check for overflow on the multiplication.                       
   */                                                                 
  message_buffering_required = (size_t) maximum_pending_messages *    
ffc11aa0:	7c 7c 29 d6 	mullw   r3,r28,r5                              
       (allocated_message_size + sizeof(CORE_message_queue_Buffer_control));
                                                                      
  if (message_buffering_required < allocated_message_size)            
    return false;                                                     
ffc11aa4:	3b c0 00 00 	li      r30,0                                  
   *  check for overflow on the multiplication.                       
   */                                                                 
  message_buffering_required = (size_t) maximum_pending_messages *    
       (allocated_message_size + sizeof(CORE_message_queue_Buffer_control));
                                                                      
  if (message_buffering_required < allocated_message_size)            
ffc11aa8:	7f 83 48 40 	cmplw   cr7,r3,r9                              
ffc11aac:	41 bc 00 64 	blt+    cr7,ffc11b10 <_CORE_message_queue_Initialize+0xbc><== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
     _Workspace_Allocate( message_buffering_required );               
ffc11ab0:	90 a1 00 08 	stw     r5,8(r1)                               
ffc11ab4:	48 00 30 fd 	bl      ffc14bb0 <_Workspace_Allocate>         
                                                                      
  if (the_message_queue->message_buffers == 0)                        
ffc11ab8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
     _Workspace_Allocate( message_buffering_required );               
ffc11abc:	7c 64 1b 78 	mr      r4,r3                                  
    return false;                                                     
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
ffc11ac0:	90 7f 00 5c 	stw     r3,92(r31)                             
     _Workspace_Allocate( message_buffering_required );               
                                                                      
  if (the_message_queue->message_buffers == 0)                        
ffc11ac4:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc11ac8:	41 9e 00 48 	beq-    cr7,ffc11b10 <_CORE_message_queue_Initialize+0xbc>
                                                                      
  /*                                                                  
   *  Initialize the pool of inactive messages, pending messages,     
   *  and set of waiting threads.                                     
   */                                                                 
  _Chain_Initialize (                                                 
ffc11acc:	38 7f 00 60 	addi    r3,r31,96                              
ffc11ad0:	7f 86 e3 78 	mr      r6,r28                                 
ffc11ad4:	48 00 4d f1 	bl      ffc168c4 <_Chain_Initialize>           
    allocated_message_size + sizeof( CORE_message_queue_Buffer_control )
  );                                                                  
                                                                      
  _Chain_Initialize_empty( &the_message_queue->Pending_messages );    
                                                                      
  _Thread_queue_Initialize(                                           
ffc11ad8:	80 9d 00 00 	lwz     r4,0(r29)                              
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
ffc11adc:	38 1f 00 54 	addi    r0,r31,84                              
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
ffc11ae0:	93 df 00 54 	stw     r30,84(r31)                            
ffc11ae4:	68 84 00 01 	xori    r4,r4,1                                
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
ffc11ae8:	90 1f 00 50 	stw     r0,80(r31)                             
    the_message_queue->message_buffers,                               
    (size_t) maximum_pending_messages,                                
    allocated_message_size + sizeof( CORE_message_queue_Buffer_control )
  );                                                                  
                                                                      
  _Chain_Initialize_empty( &the_message_queue->Pending_messages );    
ffc11aec:	38 1f 00 50 	addi    r0,r31,80                              
                                                                      
  _Thread_queue_Initialize(                                           
ffc11af0:	7c 84 00 34 	cntlzw  r4,r4                                  
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
ffc11af4:	90 1f 00 58 	stw     r0,88(r31)                             
ffc11af8:	7f e3 fb 78 	mr      r3,r31                                 
ffc11afc:	54 84 d9 7e 	rlwinm  r4,r4,27,5,31                          
ffc11b00:	38 a0 00 80 	li      r5,128                                 
ffc11b04:	38 c0 00 06 	li      r6,6                                   
ffc11b08:	48 00 22 e1 	bl      ffc13de8 <_Thread_queue_Initialize>    
       THREAD_QUEUE_DISCIPLINE_PRIORITY : THREAD_QUEUE_DISCIPLINE_FIFO,
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
ffc11b0c:	3b c0 00 01 	li      r30,1                                  
}                                                                     
ffc11b10:	39 61 00 20 	addi    r11,r1,32                              
ffc11b14:	7f c3 f3 78 	mr      r3,r30                                 
ffc11b18:	4b ff 3e b8 	b       ffc059d0 <_restgpr_28_x>               
                                                                      

ffc11b1c <_CORE_message_queue_Seize>: void *buffer, size_t *size_p, bool wait, Watchdog_Interval timeout ) {
ffc11b1c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc11b20:	7c 08 02 a6 	mflr    r0                                     
  ISR_Level                          level;                           
  CORE_message_queue_Buffer_control *the_message;                     
  Thread_Control                    *executing;                       
                                                                      
  executing = _Thread_Executing;                                      
ffc11b24:	3d 20 00 00 	lis     r9,0                                   
  void                            *buffer,                            
  size_t                          *size_p,                            
  bool                             wait,                              
  Watchdog_Interval                timeout                            
)                                                                     
{                                                                     
ffc11b28:	90 01 00 14 	stw     r0,20(r1)                              
  ISR_Level                          level;                           
  CORE_message_queue_Buffer_control *the_message;                     
  Thread_Control                    *executing;                       
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL; 
ffc11b2c:	39 60 00 00 	li      r11,0                                  
  void                            *buffer,                            
  size_t                          *size_p,                            
  bool                             wait,                              
  Watchdog_Interval                timeout                            
)                                                                     
{                                                                     
ffc11b30:	7c 80 23 78 	mr      r0,r4                                  
  ISR_Level                          level;                           
  CORE_message_queue_Buffer_control *the_message;                     
  Thread_Control                    *executing;                       
                                                                      
  executing = _Thread_Executing;                                      
ffc11b34:	81 29 2f 30 	lwz     r9,12080(r9)                           
  void                            *buffer,                            
  size_t                          *size_p,                            
  bool                             wait,                              
  Watchdog_Interval                timeout                            
)                                                                     
{                                                                     
ffc11b38:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc11b3c:	7c 7f 1b 78 	mr      r31,r3                                 
ffc11b40:	7c a3 2b 78 	mr      r3,r5                                  
  ISR_Level                          level;                           
  CORE_message_queue_Buffer_control *the_message;                     
  Thread_Control                    *executing;                       
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL; 
ffc11b44:	91 69 00 34 	stw     r11,52(r9)                             
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc11b48:	7d 60 00 a6 	mfmsr   r11                                    
ffc11b4c:	7d 50 42 a6 	mfsprg  r10,0                                  
ffc11b50:	7d 6a 50 78 	andc    r10,r11,r10                            
ffc11b54:	7d 40 01 24 	mtmsr   r10                                    
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
ffc11b58:	83 df 00 50 	lwz     r30,80(r31)                            
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
ffc11b5c:	39 5f 00 54 	addi    r10,r31,84                             
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
ffc11b60:	7f 9e 50 00 	cmpw    cr7,r30,r10                            
ffc11b64:	41 9e 00 5c 	beq-    cr7,ffc11bc0 <_CORE_message_queue_Seize+0xa4>
  _ISR_Disable( level );                                              
  the_message = _CORE_message_queue_Get_pending_message( the_message_queue );
  if ( the_message != NULL ) {                                        
ffc11b68:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
{                                                                     
  Chain_Node  *return_node;                                           
  Chain_Node  *new_first;                                             
                                                                      
  return_node         = the_chain->first;                             
  new_first           = return_node->next;                            
ffc11b6c:	80 be 00 00 	lwz     r5,0(r30)                              
  the_chain->first    = new_first;                                    
ffc11b70:	7f ea fb 78 	mr      r10,r31                                
ffc11b74:	94 aa 00 50 	stwu    r5,80(r10)                             
  new_first->previous = _Chain_Head(the_chain);                       
ffc11b78:	91 45 00 04 	stw     r10,4(r5)                              
ffc11b7c:	41 9e 00 44 	beq-    cr7,ffc11bc0 <_CORE_message_queue_Seize+0xa4><== NEVER TAKEN
    the_message_queue->number_of_pending_messages -= 1;               
ffc11b80:	81 3f 00 48 	lwz     r9,72(r31)                             
ffc11b84:	38 09 ff ff 	addi    r0,r9,-1                               
ffc11b88:	90 1f 00 48 	stw     r0,72(r31)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc11b8c:	7d 60 01 24 	mtmsr   r11                                    
    _ISR_Enable( level );                                             
                                                                      
    *size_p = the_message->Contents.size;                             
    _Thread_Executing->Wait.count =                                   
ffc11b90:	3d 20 00 00 	lis     r9,0                                   
  the_message = _CORE_message_queue_Get_pending_message( the_message_queue );
  if ( the_message != NULL ) {                                        
    the_message_queue->number_of_pending_messages -= 1;               
    _ISR_Enable( level );                                             
                                                                      
    *size_p = the_message->Contents.size;                             
ffc11b94:	80 be 00 08 	lwz     r5,8(r30)                              
    _Thread_Executing->Wait.count =                                   
ffc11b98:	81 29 2f 30 	lwz     r9,12080(r9)                           
ffc11b9c:	38 00 00 00 	li      r0,0                                   
  the_message = _CORE_message_queue_Get_pending_message( the_message_queue );
  if ( the_message != NULL ) {                                        
    the_message_queue->number_of_pending_messages -= 1;               
    _ISR_Enable( level );                                             
                                                                      
    *size_p = the_message->Contents.size;                             
ffc11ba0:	90 a6 00 00 	stw     r5,0(r6)                               
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
ffc11ba4:	38 9e 00 0c 	addi    r4,r30,12                              
    _Thread_Executing->Wait.count =                                   
ffc11ba8:	90 09 00 24 	stw     r0,36(r9)                              
ffc11bac:	48 00 7a 99 	bl      ffc19644 <memcpy>                      
RTEMS_INLINE_ROUTINE void _CORE_message_queue_Free_message_buffer (   
  CORE_message_queue_Control        *the_message_queue,               
  CORE_message_queue_Buffer_control *the_message                      
)                                                                     
{                                                                     
  _Chain_Append( &the_message_queue->Inactive_messages, &the_message->Node );
ffc11bb0:	38 7f 00 60 	addi    r3,r31,96                              
ffc11bb4:	7f c4 f3 78 	mr      r4,r30                                 
ffc11bb8:	4b ff fd d9 	bl      ffc11990 <_Chain_Append>               
      /*                                                              
       *  There is not an API with blocking sends enabled.            
       *  So return immediately.                                      
       */                                                             
      _CORE_message_queue_Free_message_buffer(the_message_queue, the_message);
      return;                                                         
ffc11bbc:	48 00 00 4c 	b       ffc11c08 <_CORE_message_queue_Seize+0xec>
      return;                                                         
    }                                                                 
    #endif                                                            
  }                                                                   
                                                                      
  if ( !wait ) {                                                      
ffc11bc0:	2f 87 00 00 	cmpwi   cr7,r7,0                               
ffc11bc4:	40 9e 00 14 	bne-    cr7,ffc11bd8 <_CORE_message_queue_Seize+0xbc>
ffc11bc8:	7d 60 01 24 	mtmsr   r11                                    
    _ISR_Enable( level );                                             
    executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_NOWAIT;
ffc11bcc:	38 00 00 04 	li      r0,4                                   
ffc11bd0:	90 09 00 34 	stw     r0,52(r9)                              
    return;                                                           
ffc11bd4:	48 00 00 34 	b       ffc11c08 <_CORE_message_queue_Seize+0xec>
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_queue_Enter_critical_section (      
  Thread_queue_Control *the_thread_queue                              
)                                                                     
{                                                                     
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;
ffc11bd8:	39 40 00 01 	li      r10,1                                  
ffc11bdc:	91 5f 00 30 	stw     r10,48(r31)                            
  }                                                                   
                                                                      
  _Thread_queue_Enter_critical_section( &the_message_queue->Wait_queue );
  executing->Wait.queue = &the_message_queue->Wait_queue;             
ffc11be0:	93 e9 00 44 	stw     r31,68(r9)                             
  executing->Wait.id = id;                                            
ffc11be4:	90 09 00 20 	stw     r0,32(r9)                              
  executing->Wait.return_argument_second.mutable_object = buffer;     
ffc11be8:	90 69 00 2c 	stw     r3,44(r9)                              
  executing->Wait.return_argument = size_p;                           
ffc11bec:	90 c9 00 28 	stw     r6,40(r9)                              
ffc11bf0:	7d 60 01 24 	mtmsr   r11                                    
  /* Wait.count will be filled in with the message priority */        
  _ISR_Enable( level );                                               
                                                                      
  _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );   
ffc11bf4:	3c a0 ff c1 	lis     r5,-63                                 
ffc11bf8:	7f e3 fb 78 	mr      r3,r31                                 
ffc11bfc:	7d 04 43 78 	mr      r4,r8                                  
ffc11c00:	38 a5 3e c4 	addi    r5,r5,16068                            
ffc11c04:	48 00 1f 09 	bl      ffc13b0c <_Thread_queue_Enqueue_with_handler>
}                                                                     
ffc11c08:	39 61 00 10 	addi    r11,r1,16                              
ffc11c0c:	4b ff 3d cc 	b       ffc059d8 <_restgpr_30_x>               
                                                                      

ffc099c0 <_CORE_mutex_Seize>: Objects_Id _id, bool _wait, Watchdog_Interval _timeout, ISR_Level _level ) {
ffc099c0:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc099c4:	7c 08 02 a6 	mflr    r0                                     
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
ffc099c8:	3d 20 00 00 	lis     r9,0                                   
  Objects_Id           _id,                                           
  bool                 _wait,                                         
  Watchdog_Interval    _timeout,                                      
  ISR_Level            _level                                         
)                                                                     
{                                                                     
ffc099cc:	90 01 00 24 	stw     r0,36(r1)                              
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
ffc099d0:	80 09 27 48 	lwz     r0,10056(r9)                           
  Objects_Id           _id,                                           
  bool                 _wait,                                         
  Watchdog_Interval    _timeout,                                      
  ISR_Level            _level                                         
)                                                                     
{                                                                     
ffc099d4:	bf 81 00 10 	stmw    r28,16(r1)                             
ffc099d8:	7c 7f 1b 78 	mr      r31,r3                                 
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
ffc099dc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
  Objects_Id           _id,                                           
  bool                 _wait,                                         
  Watchdog_Interval    _timeout,                                      
  ISR_Level            _level                                         
)                                                                     
{                                                                     
ffc099e0:	7c 9e 23 78 	mr      r30,r4                                 
ffc099e4:	90 e1 00 08 	stw     r7,8(r1)                               
ffc099e8:	7c bd 2b 78 	mr      r29,r5                                 
ffc099ec:	7c dc 33 78 	mr      r28,r6                                 
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
ffc099f0:	41 9e 00 2c 	beq-    cr7,ffc09a1c <_CORE_mutex_Seize+0x5c>  
ffc099f4:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc099f8:	41 9e 00 24 	beq-    cr7,ffc09a1c <_CORE_mutex_Seize+0x5c>  <== NEVER TAKEN
ffc099fc:	3d 20 00 00 	lis     r9,0                                   
ffc09a00:	80 09 27 90 	lwz     r0,10128(r9)                           
ffc09a04:	2b 80 00 01 	cmplwi  cr7,r0,1                               
ffc09a08:	40 bd 00 14 	ble+    cr7,ffc09a1c <_CORE_mutex_Seize+0x5c>  
ffc09a0c:	38 60 00 00 	li      r3,0                                   
ffc09a10:	38 80 00 00 	li      r4,0                                   
ffc09a14:	38 a0 00 12 	li      r5,18                                  
ffc09a18:	48 00 07 25 	bl      ffc0a13c <_Internal_error_Occurred>    
ffc09a1c:	7f e3 fb 78 	mr      r3,r31                                 
ffc09a20:	38 81 00 08 	addi    r4,r1,8                                
ffc09a24:	48 00 78 09 	bl      ffc1122c <_CORE_mutex_Seize_interrupt_trylock>
ffc09a28:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc09a2c:	41 9e 00 64 	beq-    cr7,ffc09a90 <_CORE_mutex_Seize+0xd0>  
ffc09a30:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc09a34:	3d 20 00 00 	lis     r9,0                                   
ffc09a38:	39 29 2e 24 	addi    r9,r9,11812                            
ffc09a3c:	40 9e 00 1c 	bne-    cr7,ffc09a58 <_CORE_mutex_Seize+0x98>  
ffc09a40:	80 01 00 08 	lwz     r0,8(r1)                               
ffc09a44:	7c 00 01 24 	mtmsr   r0                                     
ffc09a48:	81 29 00 0c 	lwz     r9,12(r9)                              
ffc09a4c:	38 00 00 01 	li      r0,1                                   
ffc09a50:	90 09 00 34 	stw     r0,52(r9)                              
ffc09a54:	48 00 00 3c 	b       ffc09a90 <_CORE_mutex_Seize+0xd0>      
ffc09a58:	81 29 00 0c 	lwz     r9,12(r9)                              
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_queue_Enter_critical_section (      
  Thread_queue_Control *the_thread_queue                              
)                                                                     
{                                                                     
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;
ffc09a5c:	38 00 00 01 	li      r0,1                                   
ffc09a60:	90 1f 00 30 	stw     r0,48(r31)                             
ffc09a64:	93 e9 00 44 	stw     r31,68(r9)                             
ffc09a68:	93 c9 00 20 	stw     r30,32(r9)                             
ffc09a6c:	3d 20 00 00 	lis     r9,0                                   
ffc09a70:	81 69 27 48 	lwz     r11,10056(r9)                          
ffc09a74:	38 0b 00 01 	addi    r0,r11,1                               
ffc09a78:	90 09 27 48 	stw     r0,10056(r9)                           
ffc09a7c:	80 01 00 08 	lwz     r0,8(r1)                               
ffc09a80:	7c 00 01 24 	mtmsr   r0                                     
ffc09a84:	7f e3 fb 78 	mr      r3,r31                                 
ffc09a88:	7f 84 e3 78 	mr      r4,r28                                 
ffc09a8c:	4b ff fe c1 	bl      ffc0994c <_CORE_mutex_Seize_interrupt_blocking>
}                                                                     
ffc09a90:	39 61 00 20 	addi    r11,r1,32                              
ffc09a94:	48 00 e6 f4 	b       ffc18188 <_restgpr_28_x>               
                                                                      

ffc1122c <_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 ) {
ffc1122c:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc11230:	7c 08 02 a6 	mflr    r0                                     
{                                                                     
  Thread_Control   *executing;                                        
                                                                      
  /* disabled when you get here */                                    
                                                                      
  executing = _Thread_Executing;                                      
ffc11234:	3d 60 00 00 	lis     r11,0                                  
ffc11238:	90 01 00 0c 	stw     r0,12(r1)                              
  executing->Wait.return_code = CORE_MUTEX_STATUS_SUCCESSFUL;         
ffc1123c:	38 00 00 00 	li      r0,0                                   
ffc11240:	7c 69 1b 78 	mr      r9,r3                                  
  if ( !_CORE_mutex_Is_locked( the_mutex ) ) {                        
ffc11244:	81 43 00 50 	lwz     r10,80(r3)                             
{                                                                     
  Thread_Control   *executing;                                        
                                                                      
  /* disabled when you get here */                                    
                                                                      
  executing = _Thread_Executing;                                      
ffc11248:	81 6b 2e 30 	lwz     r11,11824(r11)                         
  executing->Wait.return_code = CORE_MUTEX_STATUS_SUCCESSFUL;         
  if ( !_CORE_mutex_Is_locked( the_mutex ) ) {                        
ffc1124c:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
  Thread_Control   *executing;                                        
                                                                      
  /* disabled when you get here */                                    
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_MUTEX_STATUS_SUCCESSFUL;         
ffc11250:	90 0b 00 34 	stw     r0,52(r11)                             
  if ( !_CORE_mutex_Is_locked( the_mutex ) ) {                        
ffc11254:	41 9e 00 b4 	beq-    cr7,ffc11308 <_CORE_mutex_Seize_interrupt_trylock+0xdc>
    the_mutex->lock       = CORE_MUTEX_LOCKED;                        
ffc11258:	90 03 00 50 	stw     r0,80(r3)                              
    the_mutex->holder     = executing;                                
    the_mutex->holder_id  = executing->Object.id;                     
ffc1125c:	80 0b 00 08 	lwz     r0,8(r11)                              
                                                                      
  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;                                
ffc11260:	91 63 00 5c 	stw     r11,92(r3)                             
    the_mutex->holder_id  = executing->Object.id;                     
ffc11264:	90 03 00 60 	stw     r0,96(r3)                              
    the_mutex->nest_count = 1;                                        
ffc11268:	38 00 00 01 	li      r0,1                                   
ffc1126c:	90 03 00 54 	stw     r0,84(r3)                              
  return _CORE_mutex_Seize_interrupt_trylock_body( the_mutex, level_p );
}                                                                     
ffc11270:	80 03 00 48 	lwz     r0,72(r3)                              
    if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) || 
ffc11274:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc11278:	41 9e 00 0c 	beq-    cr7,ffc11284 <_CORE_mutex_Seize_interrupt_trylock+0x58>
ffc1127c:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc11280:	40 be 00 18 	bne+    cr7,ffc11298 <_CORE_mutex_Seize_interrupt_trylock+0x6c>
#endif                                                                
                                                                      
      executing->resource_count++;                                    
    }                                                                 
                                                                      
    if ( !_CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ) {
ffc11284:	2f 80 00 03 	cmpwi   cr7,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++;                                    
ffc11288:	81 4b 00 1c 	lwz     r10,28(r11)                            
ffc1128c:	39 0a 00 01 	addi    r8,r10,1                               
ffc11290:	91 0b 00 1c 	stw     r8,28(r11)                             
    }                                                                 
                                                                      
    if ( !_CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ) {
ffc11294:	41 be 00 08 	beq+    cr7,ffc1129c <_CORE_mutex_Seize_interrupt_trylock+0x70>
      _ISR_Enable( *level_p );                                        
ffc11298:	48 00 00 b0 	b       ffc11348 <_CORE_mutex_Seize_interrupt_trylock+0x11c>
       */                                                             
    {                                                                 
      Priority_Control  ceiling;                                      
      Priority_Control  current;                                      
                                                                      
      ceiling = the_mutex->Attributes.priority_ceiling;               
ffc1129c:	80 09 00 4c 	lwz     r0,76(r9)                              
      current = executing->current_priority;                          
ffc112a0:	81 0b 00 14 	lwz     r8,20(r11)                             
      if ( current == ceiling ) {                                     
ffc112a4:	7f 88 00 00 	cmpw    cr7,r8,r0                              
ffc112a8:	40 be 00 08 	bne+    cr7,ffc112b0 <_CORE_mutex_Seize_interrupt_trylock+0x84>
        _ISR_Enable( *level_p );                                      
ffc112ac:	48 00 00 9c 	b       ffc11348 <_CORE_mutex_Seize_interrupt_trylock+0x11c>
        return 0;                                                     
      }                                                               
                                                                      
      if ( current > ceiling ) {                                      
ffc112b0:	7f 88 00 40 	cmplw   cr7,r8,r0                              
ffc112b4:	40 bd 00 34 	ble+    cr7,ffc112e8 <_CORE_mutex_Seize_interrupt_trylock+0xbc>
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
ffc112b8:	3d 60 00 00 	lis     r11,0                                  
ffc112bc:	81 4b 27 48 	lwz     r10,10056(r11)                         
ffc112c0:	38 0a 00 01 	addi    r0,r10,1                               
ffc112c4:	90 0b 27 48 	stw     r0,10056(r11)                          
ffc112c8:	80 04 00 00 	lwz     r0,0(r4)                               
ffc112cc:	7c 00 01 24 	mtmsr   r0                                     
        _Thread_Disable_dispatch();                                   
        _ISR_Enable( *level_p );                                      
        _Thread_Change_priority(                                      
ffc112d0:	80 69 00 5c 	lwz     r3,92(r9)                              
ffc112d4:	38 a0 00 00 	li      r5,0                                   
ffc112d8:	80 89 00 4c 	lwz     r4,76(r9)                              
ffc112dc:	4b ff 98 61 	bl      ffc0ab3c <_Thread_Change_priority>     
          the_mutex->holder,                                          
          the_mutex->Attributes.priority_ceiling,                     
         false                                                        
        );                                                            
        _Thread_Enable_dispatch();                                    
ffc112e0:	4b ff 9e 09 	bl      ffc0b0e8 <_Thread_Enable_dispatch>     
ffc112e4:	48 00 00 6c 	b       ffc11350 <_CORE_mutex_Seize_interrupt_trylock+0x124>
        return 0;                                                     
      }                                                               
      /* if ( current < ceiling ) */ {                                
        executing->Wait.return_code = CORE_MUTEX_STATUS_CEILING_VIOLATED;
ffc112e8:	38 00 00 06 	li      r0,6                                   
ffc112ec:	90 0b 00 34 	stw     r0,52(r11)                             
        the_mutex->lock       = CORE_MUTEX_UNLOCKED;                  
ffc112f0:	38 00 00 01 	li      r0,1                                   
ffc112f4:	90 09 00 50 	stw     r0,80(r9)                              
        the_mutex->nest_count = 0;     /* undo locking above */       
ffc112f8:	38 00 00 00 	li      r0,0                                   
ffc112fc:	90 09 00 54 	stw     r0,84(r9)                              
        executing->resource_count--;   /* undo locking above */       
ffc11300:	91 4b 00 1c 	stw     r10,28(r11)                            
        _ISR_Enable( *level_p );                                      
ffc11304:	48 00 00 44 	b       ffc11348 <_CORE_mutex_Seize_interrupt_trylock+0x11c>
  /*                                                                  
   *  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 ) ) {                  
ffc11308:	81 43 00 5c 	lwz     r10,92(r3)                             
                                                                      
  /*                                                                  
   *  The mutex is not available and the caller must deal with the possibility
   *  of blocking.                                                    
   */                                                                 
  return 1;                                                           
ffc1130c:	38 60 00 01 	li      r3,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 ) ) {                  
ffc11310:	7f 8a 58 00 	cmpw    cr7,r10,r11                            
ffc11314:	40 be 00 40 	bne+    cr7,ffc11354 <_CORE_mutex_Seize_interrupt_trylock+0x128>
    switch ( the_mutex->Attributes.lock_nesting_behavior ) {          
ffc11318:	80 09 00 40 	lwz     r0,64(r9)                              
ffc1131c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc11320:	41 9e 00 10 	beq-    cr7,ffc11330 <_CORE_mutex_Seize_interrupt_trylock+0x104>
ffc11324:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc11328:	40 be 00 2c 	bne+    cr7,ffc11354 <_CORE_mutex_Seize_interrupt_trylock+0x128><== ALWAYS TAKEN
ffc1132c:	48 00 00 14 	b       ffc11340 <_CORE_mutex_Seize_interrupt_trylock+0x114><== NOT EXECUTED
      case CORE_MUTEX_NESTING_ACQUIRES:                               
        the_mutex->nest_count++;                                      
ffc11330:	81 69 00 54 	lwz     r11,84(r9)                             
ffc11334:	38 0b 00 01 	addi    r0,r11,1                               
ffc11338:	90 09 00 54 	stw     r0,84(r9)                              
        _ISR_Enable( *level_p );                                      
ffc1133c:	48 00 00 0c 	b       ffc11348 <_CORE_mutex_Seize_interrupt_trylock+0x11c>
        return 0;                                                     
      case CORE_MUTEX_NESTING_IS_ERROR:                               
        executing->Wait.return_code = CORE_MUTEX_STATUS_NESTING_NOT_ALLOWED;
ffc11340:	38 00 00 02 	li      r0,2                                   <== NOT EXECUTED
ffc11344:	90 0a 00 34 	stw     r0,52(r10)                             <== NOT EXECUTED
ffc11348:	80 04 00 00 	lwz     r0,0(r4)                               
ffc1134c:	7c 00 01 24 	mtmsr   r0                                     
        _ISR_Enable( *level_p );                                      
        return 0;                                                     
ffc11350:	38 60 00 00 	li      r3,0                                   
ffc11354:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc11358:	38 21 00 08 	addi    r1,r1,8                                
ffc1135c:	7c 08 03 a6 	mtlr    r0                                     
ffc11360:	4e 80 00 20 	blr                                            
                                                                      

ffc09c38 <_CORE_semaphore_Surrender>: CORE_semaphore_Status _CORE_semaphore_Surrender( CORE_semaphore_Control *the_semaphore, Objects_Id id, CORE_semaphore_API_mp_support_callout api_semaphore_mp_support ) {
ffc09c38:	7c 08 02 a6 	mflr    r0                                     
ffc09c3c:	7c 2b 0b 78 	mr      r11,r1                                 
ffc09c40:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc09c44:	90 01 00 14 	stw     r0,20(r1)                              
ffc09c48:	48 00 e5 01 	bl      ffc18148 <_savegpr_31>                 
ffc09c4c:	7c 7f 1b 78 	mr      r31,r3                                 
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
                                                                      
  if ( (the_thread = _Thread_queue_Dequeue(&the_semaphore->Wait_queue)) ) {
ffc09c50:	48 00 18 41 	bl      ffc0b490 <_Thread_queue_Dequeue>       
ffc09c54:	2f 83 00 00 	cmpwi   cr7,r3,0                               
{                                                                     
  Thread_Control *the_thread;                                         
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
ffc09c58:	38 00 00 00 	li      r0,0                                   
                                                                      
  if ( (the_thread = _Thread_queue_Dequeue(&the_semaphore->Wait_queue)) ) {
ffc09c5c:	40 be 00 38 	bne+    cr7,ffc09c94 <_CORE_semaphore_Surrender+0x5c>
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc09c60:	7d 60 00 a6 	mfmsr   r11                                    
ffc09c64:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc09c68:	7d 60 00 78 	andc    r0,r11,r0                              
ffc09c6c:	7c 00 01 24 	mtmsr   r0                                     
      (*api_semaphore_mp_support) ( the_thread, id );                 
#endif                                                                
                                                                      
  } else {                                                            
    _ISR_Disable( level );                                            
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
ffc09c70:	81 3f 00 48 	lwz     r9,72(r31)                             
        the_semaphore->count += 1;                                    
      else                                                            
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
ffc09c74:	38 00 00 04 	li      r0,4                                   
      (*api_semaphore_mp_support) ( the_thread, id );                 
#endif                                                                
                                                                      
  } else {                                                            
    _ISR_Disable( level );                                            
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
ffc09c78:	81 5f 00 40 	lwz     r10,64(r31)                            
ffc09c7c:	7f 89 50 40 	cmplw   cr7,r9,r10                             
ffc09c80:	40 9c 00 10 	bge-    cr7,ffc09c90 <_CORE_semaphore_Surrender+0x58><== NEVER TAKEN
        the_semaphore->count += 1;                                    
ffc09c84:	39 29 00 01 	addi    r9,r9,1                                
ffc09c88:	91 3f 00 48 	stw     r9,72(r31)                             
{                                                                     
  Thread_Control *the_thread;                                         
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
ffc09c8c:	38 00 00 00 	li      r0,0                                   
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc09c90:	7d 60 01 24 	mtmsr   r11                                    
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
    _ISR_Enable( level );                                             
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
ffc09c94:	39 61 00 10 	addi    r11,r1,16                              
ffc09c98:	7c 03 03 78 	mr      r3,r0                                  
ffc09c9c:	48 00 e4 f8 	b       ffc18194 <_restgpr_31_x>               
                                                                      

ffc08cbc <_Chain_Get_with_empty_check>: static inline uint32_t ppc_interrupt_disable( void ) { uint32_t level; uint32_t mask; asm volatile (
ffc08cbc:	7d 40 00 a6 	mfmsr   r10                                    
ffc08cc0:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc08cc4:	7d 40 00 78 	andc    r0,r10,r0                              
ffc08cc8:	7c 00 01 24 	mtmsr   r0                                     
  Chain_Control *the_chain,                                           
  Chain_Node **the_node                                               
)                                                                     
{                                                                     
  bool is_empty_now = true;                                           
  Chain_Node *first = the_chain->first;                               
ffc08ccc:	81 63 00 00 	lwz     r11,0(r3)                              
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
ffc08cd0:	38 03 00 04 	addi    r0,r3,4                                
)                                                                     
{                                                                     
  bool is_empty_now = true;                                           
  Chain_Node *first = the_chain->first;                               
                                                                      
  if ( first != _Chain_Tail( the_chain ) ) {                          
ffc08cd4:	7f 8b 00 00 	cmpw    cr7,r11,r0                             
ffc08cd8:	41 9e 00 24 	beq-    cr7,ffc08cfc <_Chain_Get_with_empty_check+0x40><== NEVER TAKEN
    Chain_Node *new_first = first->next;                              
ffc08cdc:	81 2b 00 00 	lwz     r9,0(r11)                              
                                                                      
    the_chain->first = new_first;                                     
ffc08ce0:	91 23 00 00 	stw     r9,0(r3)                               
    new_first->previous = _Chain_Head( the_chain );                   
ffc08ce4:	90 69 00 04 	stw     r3,4(r9)                               
                                                                      
    *the_node = first;                                                
                                                                      
    is_empty_now = new_first == _Chain_Tail( the_chain );             
ffc08ce8:	7d 23 02 78 	xor     r3,r9,r0                               
ffc08cec:	7c 63 00 34 	cntlzw  r3,r3                                  
    Chain_Node *new_first = first->next;                              
                                                                      
    the_chain->first = new_first;                                     
    new_first->previous = _Chain_Head( the_chain );                   
                                                                      
    *the_node = first;                                                
ffc08cf0:	91 64 00 00 	stw     r11,0(r4)                              
                                                                      
    is_empty_now = new_first == _Chain_Tail( the_chain );             
ffc08cf4:	54 63 d9 7e 	rlwinm  r3,r3,27,5,31                          
ffc08cf8:	48 00 00 10 	b       ffc08d08 <_Chain_Get_with_empty_check+0x4c>
  } else                                                              
    *the_node = NULL;                                                 
ffc08cfc:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc08d00:	90 04 00 00 	stw     r0,0(r4)                               <== NOT EXECUTED
RTEMS_INLINE_ROUTINE bool _Chain_Get_with_empty_check_unprotected(    
  Chain_Control *the_chain,                                           
  Chain_Node **the_node                                               
)                                                                     
{                                                                     
  bool is_empty_now = true;                                           
ffc08d04:	38 60 00 01 	li      r3,1                                   <== NOT EXECUTED
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc08d08:	7d 40 01 24 	mtmsr   r10                                    
  _ISR_Disable( level );                                              
  is_empty_now = _Chain_Get_with_empty_check_unprotected( chain, node );
  _ISR_Enable( level );                                               
                                                                      
  return is_empty_now;                                                
}                                                                     
ffc08d0c:	4e 80 00 20 	blr                                            
                                                                      

ffc086b0 <_Event_Surrender>: */ void _Event_Surrender( Thread_Control *the_thread ) {
ffc086b0:	7c 2b 0b 78 	mr      r11,r1                                 
ffc086b4:	7c 08 02 a6 	mflr    r0                                     
ffc086b8:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc086bc:	90 01 00 14 	stw     r0,20(r1)                              
ffc086c0:	48 00 fa 89 	bl      ffc18148 <_savegpr_31>                 
ffc086c4:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_event_set     event_condition;                                
  rtems_event_set     seized_events;                                  
  rtems_option        option_set;                                     
  RTEMS_API_Control  *api;                                            
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_RTEMS ];               
ffc086c8:	81 03 01 40 	lwz     r8,320(r3)                             
                                                                      
  option_set = (rtems_option) the_thread->Wait.option;                
ffc086cc:	80 e3 00 30 	lwz     r7,48(r3)                              
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc086d0:	7c 00 00 a6 	mfmsr   r0                                     
ffc086d4:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc086d8:	7c 09 48 78 	andc    r9,r0,r9                               
ffc086dc:	7d 20 01 24 	mtmsr   r9                                     
                                                                      
  _ISR_Disable( level );                                              
  pending_events  = api->pending_events;                              
ffc086e0:	81 68 00 00 	lwz     r11,0(r8)                              
  event_condition = (rtems_event_set) the_thread->Wait.count;         
ffc086e4:	81 43 00 24 	lwz     r10,36(r3)                             
  seized_events = _Event_sets_Get( pending_events, event_condition ); 
                                                                      
  /*                                                                  
   *  No events were seized in this operation                         
   */                                                                 
  if ( _Event_sets_Is_empty( seized_events ) ) {                      
ffc086e8:	7d 49 58 39 	and.    r9,r10,r11                             
ffc086ec:	40 a2 00 08 	bne+    ffc086f4 <_Event_Surrender+0x44>       
    _ISR_Enable( level );                                             
ffc086f0:	48 00 00 f4 	b       ffc087e4 <_Event_Surrender+0x134>      
                                                                      
  /*                                                                  
   *  If we are in an ISR and sending to the current thread, then     
   *  we have a critical section issue to deal with.                  
   */                                                                 
  if ( _ISR_Is_in_progress() &&                                       
ffc086f4:	3c c0 00 00 	lis     r6,0                                   
ffc086f8:	38 c6 2e 24 	addi    r6,r6,11812                            
ffc086fc:	80 a6 00 08 	lwz     r5,8(r6)                               
ffc08700:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc08704:	41 9e 00 64 	beq-    cr7,ffc08768 <_Event_Surrender+0xb8>   
ffc08708:	80 c6 00 0c 	lwz     r6,12(r6)                              
ffc0870c:	7f 83 30 00 	cmpw    cr7,r3,r6                              
ffc08710:	40 be 00 58 	bne+    cr7,ffc08768 <_Event_Surrender+0xb8>   
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
ffc08714:	3c c0 00 00 	lis     r6,0                                   
ffc08718:	80 a6 27 98 	lwz     r5,10136(r6)                           
  /*                                                                  
   *  If we are in an ISR and sending to the current thread, then     
   *  we have a critical section issue to deal with.                  
   */                                                                 
  if ( _ISR_Is_in_progress() &&                                       
       _Thread_Is_executing( the_thread ) &&                          
ffc0871c:	2f 85 00 02 	cmpwi   cr7,r5,2                               
ffc08720:	41 9e 00 10 	beq-    cr7,ffc08730 <_Event_Surrender+0x80>   <== NEVER TAKEN
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
ffc08724:	80 c6 27 98 	lwz     r6,10136(r6)                           
   *  If we are in an ISR and sending to the current thread, then     
   *  we have a critical section issue to deal with.                  
   */                                                                 
  if ( _ISR_Is_in_progress() &&                                       
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
ffc08728:	2f 86 00 01 	cmpwi   cr7,r6,1                               
ffc0872c:	40 be 00 3c 	bne+    cr7,ffc08768 <_Event_Surrender+0xb8>   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
ffc08730:	7f 89 50 00 	cmpw    cr7,r9,r10                             
ffc08734:	41 9e 00 0c 	beq-    cr7,ffc08740 <_Event_Surrender+0x90>   
ffc08738:	70 e5 00 02 	andi.   r5,r7,2                                
ffc0873c:	41 82 00 28 	beq-    ffc08764 <_Event_Surrender+0xb4>       <== NEVER TAKEN
RTEMS_INLINE_ROUTINE rtems_event_set _Event_sets_Clear(               
 rtems_event_set the_event_set,                                       
 rtems_event_set the_mask                                             
)                                                                     
{                                                                     
   return ( the_event_set & ~(the_mask) );                            
ffc08740:	7d 6b 48 78 	andc    r11,r11,r9                             
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
ffc08744:	91 68 00 00 	stw     r11,0(r8)                              
      the_thread->Wait.count = 0;                                     
ffc08748:	39 60 00 00 	li      r11,0                                  
ffc0874c:	91 7f 00 24 	stw     r11,36(r31)                            
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
ffc08750:	81 7f 00 28 	lwz     r11,40(r31)                            
ffc08754:	91 2b 00 00 	stw     r9,0(r11)                              
      _Event_Sync_state = THREAD_BLOCKING_OPERATION_SATISFIED;        
ffc08758:	39 60 00 03 	li      r11,3                                  
ffc0875c:	3d 20 00 00 	lis     r9,0                                   
ffc08760:	91 69 27 98 	stw     r11,10136(r9)                          
    }                                                                 
    _ISR_Enable( level );                                             
ffc08764:	48 00 00 80 	b       ffc087e4 <_Event_Surrender+0x134>      
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_event (              
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_WAITING_FOR_EVENT);                    
ffc08768:	80 df 00 10 	lwz     r6,16(r31)                             
  }                                                                   
                                                                      
  /*                                                                  
   *  Otherwise, this is a normal send to another thread              
   */                                                                 
  if ( _States_Is_waiting_for_event( the_thread->current_state ) ) {  
ffc0876c:	70 c5 01 00 	andi.   r5,r6,256                              
ffc08770:	41 82 00 74 	beq-    ffc087e4 <_Event_Surrender+0x134>      
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
ffc08774:	7f 89 50 00 	cmpw    cr7,r9,r10                             
ffc08778:	41 9e 00 0c 	beq-    cr7,ffc08784 <_Event_Surrender+0xd4>   
ffc0877c:	70 ea 00 02 	andi.   r10,r7,2                               
ffc08780:	41 82 00 64 	beq-    ffc087e4 <_Event_Surrender+0x134>      <== NEVER TAKEN
ffc08784:	7d 6b 48 78 	andc    r11,r11,r9                             
      api->pending_events = _Event_sets_Clear( pending_events, seized_events );
ffc08788:	91 68 00 00 	stw     r11,0(r8)                              
      the_thread->Wait.count = 0;                                     
ffc0878c:	39 60 00 00 	li      r11,0                                  
ffc08790:	91 7f 00 24 	stw     r11,36(r31)                            
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
ffc08794:	81 7f 00 28 	lwz     r11,40(r31)                            
ffc08798:	91 2b 00 00 	stw     r9,0(r11)                              
                                                                      
static inline void ppc_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t current_level;                                             
                                                                      
  asm volatile (                                                      
ffc0879c:	7d 20 00 a6 	mfmsr   r9                                     
ffc087a0:	7c 00 01 24 	mtmsr   r0                                     
ffc087a4:	7d 20 01 24 	mtmsr   r9                                     
                                                                      
      _ISR_Flash( level );                                            
                                                                      
      if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {             
ffc087a8:	81 3f 00 50 	lwz     r9,80(r31)                             
ffc087ac:	2f 89 00 02 	cmpwi   cr7,r9,2                               
ffc087b0:	41 9e 00 0c 	beq-    cr7,ffc087bc <_Event_Surrender+0x10c>  
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc087b4:	7c 00 01 24 	mtmsr   r0                                     
ffc087b8:	48 00 00 18 	b       ffc087d0 <_Event_Surrender+0x120>      
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
ffc087bc:	39 20 00 03 	li      r9,3                                   
ffc087c0:	91 3f 00 50 	stw     r9,80(r31)                             
ffc087c4:	7c 00 01 24 	mtmsr   r0                                     
        _ISR_Enable( level );                                         
        _Thread_Unblock( the_thread );                                
      } else {                                                        
        _Watchdog_Deactivate( &the_thread->Timer );                   
        _ISR_Enable( level );                                         
        (void) _Watchdog_Remove( &the_thread->Timer );                
ffc087c8:	38 7f 00 48 	addi    r3,r31,72                              
ffc087cc:	48 00 3c cd 	bl      ffc0c498 <_Watchdog_Remove>            
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
ffc087d0:	3c 80 10 03 	lis     r4,4099                                
ffc087d4:	7f e3 fb 78 	mr      r3,r31                                 
ffc087d8:	60 84 ff f8 	ori     r4,r4,65528                            
ffc087dc:	48 00 24 e5 	bl      ffc0acc0 <_Thread_Clear_state>         
ffc087e0:	48 00 00 08 	b       ffc087e8 <_Event_Surrender+0x138>      
ffc087e4:	7c 00 01 24 	mtmsr   r0                                     
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
}                                                                     
ffc087e8:	39 61 00 10 	addi    r11,r1,16                              
ffc087ec:	48 00 f9 a8 	b       ffc18194 <_restgpr_31_x>               
                                                                      

ffc087f0 <_Event_Timeout>: void _Event_Timeout( Objects_Id id, void *ignored ) {
ffc087f0:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc087f4:	7c 08 02 a6 	mflr    r0                                     
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
  ISR_Level          level;                                           
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc087f8:	38 81 00 08 	addi    r4,r1,8                                
                                                                      
void _Event_Timeout(                                                  
  Objects_Id  id,                                                     
  void       *ignored                                                 
)                                                                     
{                                                                     
ffc087fc:	90 01 00 1c 	stw     r0,28(r1)                              
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
  ISR_Level          level;                                           
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc08800:	48 00 29 09 	bl      ffc0b108 <_Thread_Get>                 
  switch ( location ) {                                               
ffc08804:	80 01 00 08 	lwz     r0,8(r1)                               
ffc08808:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0880c:	40 9e 00 68 	bne-    cr7,ffc08874 <_Event_Timeout+0x84>     <== NEVER TAKEN
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc08810:	7d 60 00 a6 	mfmsr   r11                                    
ffc08814:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc08818:	7d 69 48 78 	andc    r9,r11,r9                              
ffc0881c:	7d 20 01 24 	mtmsr   r9                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing (                      
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Executing );                         
ffc08820:	3d 20 00 00 	lis     r9,0                                   
            _ISR_Enable( level );                                     
            return;                                                   
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
ffc08824:	90 03 00 24 	stw     r0,36(r3)                              
        if ( _Thread_Is_executing( the_thread ) ) {                   
ffc08828:	80 09 2e 30 	lwz     r0,11824(r9)                           
ffc0882c:	7f 83 00 00 	cmpw    cr7,r3,r0                              
ffc08830:	40 be 00 1c 	bne+    cr7,ffc0884c <_Event_Timeout+0x5c>     
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
ffc08834:	3d 20 00 00 	lis     r9,0                                   
ffc08838:	80 09 27 98 	lwz     r0,10136(r9)                           
ffc0883c:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc08840:	40 be 00 0c 	bne+    cr7,ffc0884c <_Event_Timeout+0x5c>     
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
ffc08844:	38 00 00 02 	li      r0,2                                   
ffc08848:	90 09 27 98 	stw     r0,10136(r9)                           
        }                                                             
                                                                      
        the_thread->Wait.return_code = RTEMS_TIMEOUT;                 
ffc0884c:	38 00 00 06 	li      r0,6                                   
ffc08850:	90 03 00 34 	stw     r0,52(r3)                              
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc08854:	7d 60 01 24 	mtmsr   r11                                    
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
ffc08858:	3c 80 10 03 	lis     r4,4099                                
ffc0885c:	60 84 ff f8 	ori     r4,r4,65528                            
ffc08860:	48 00 24 61 	bl      ffc0acc0 <_Thread_Clear_state>         
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
ffc08864:	3d 20 00 00 	lis     r9,0                                   
ffc08868:	81 69 27 48 	lwz     r11,10056(r9)                          
ffc0886c:	38 0b ff ff 	addi    r0,r11,-1                              
ffc08870:	90 09 27 48 	stw     r0,10056(r9)                           
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
ffc08874:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc08878:	38 21 00 18 	addi    r1,r1,24                               
ffc0887c:	7c 08 03 a6 	mtlr    r0                                     
ffc08880:	4e 80 00 20 	blr                                            
                                                                      

ffc0d8c4 <_Heap_Extend>: Heap_Control *heap, void *extend_area_begin_ptr, uintptr_t extend_area_size, uintptr_t *extended_size_ptr ) {
ffc0d8c4:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc0d8c8:	7c 08 02 a6 	mflr    r0                                     
ffc0d8cc:	be c1 00 18 	stmw    r22,24(r1)                             
  Heap_Block *extend_first_block = NULL;                              
  Heap_Block *extend_last_block = NULL;                               
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
  uintptr_t const extend_area_begin = (uintptr_t) extend_area_begin_ptr;
  uintptr_t const extend_area_end = extend_area_begin + extend_area_size;
ffc0d8d0:	7f c4 2a 14 	add     r30,r4,r5                              
  uintptr_t const free_size = stats->free_size;                       
  uintptr_t extend_first_block_size = 0;                              
  uintptr_t extended_size = 0;                                        
  bool extend_area_ok = false;                                        
                                                                      
  if ( extend_area_end < extend_area_begin ) {                        
ffc0d8d4:	7f 9e 20 40 	cmplw   cr7,r30,r4                             
  Heap_Control *heap,                                                 
  void *extend_area_begin_ptr,                                        
  uintptr_t extend_area_size,                                         
  uintptr_t *extended_size_ptr                                        
)                                                                     
{                                                                     
ffc0d8d8:	90 01 00 44 	stw     r0,68(r1)                              
  Heap_Block *start_block = first_block;                              
  Heap_Block *merge_below_block = NULL;                               
  Heap_Block *merge_above_block = NULL;                               
  Heap_Block *link_below_block = NULL;                                
  Heap_Block *link_above_block = NULL;                                
  Heap_Block *extend_first_block = NULL;                              
ffc0d8dc:	3b 40 00 00 	li      r26,0                                  
  Heap_Control *heap,                                                 
  void *extend_area_begin_ptr,                                        
  uintptr_t extend_area_size,                                         
  uintptr_t *extended_size_ptr                                        
)                                                                     
{                                                                     
ffc0d8e0:	7c d9 33 78 	mr      r25,r6                                 
ffc0d8e4:	7c 7f 1b 78 	mr      r31,r3                                 
  Heap_Statistics *const stats = &heap->stats;                        
  Heap_Block *const first_block = heap->first_block;                  
ffc0d8e8:	83 83 00 20 	lwz     r28,32(r3)                             
  Heap_Control *heap,                                                 
  void *extend_area_begin_ptr,                                        
  uintptr_t extend_area_size,                                         
  uintptr_t *extended_size_ptr                                        
)                                                                     
{                                                                     
ffc0d8ec:	7c 9d 23 78 	mr      r29,r4                                 
  Heap_Block *start_block = first_block;                              
  Heap_Block *merge_below_block = NULL;                               
  Heap_Block *merge_above_block = NULL;                               
  Heap_Block *link_below_block = NULL;                                
  Heap_Block *link_above_block = NULL;                                
  Heap_Block *extend_first_block = NULL;                              
ffc0d8f0:	93 41 00 08 	stw     r26,8(r1)                              
  uintptr_t extend_first_block_size = 0;                              
  uintptr_t extended_size = 0;                                        
  bool extend_area_ok = false;                                        
                                                                      
  if ( extend_area_end < extend_area_begin ) {                        
    return false;                                                     
ffc0d8f4:	38 00 00 00 	li      r0,0                                   
  Heap_Block *merge_below_block = NULL;                               
  Heap_Block *merge_above_block = NULL;                               
  Heap_Block *link_below_block = NULL;                                
  Heap_Block *link_above_block = NULL;                                
  Heap_Block *extend_first_block = NULL;                              
  Heap_Block *extend_last_block = NULL;                               
ffc0d8f8:	93 41 00 0c 	stw     r26,12(r1)                             
  uintptr_t const page_size = heap->page_size;                        
ffc0d8fc:	83 63 00 10 	lwz     r27,16(r3)                             
  uintptr_t const min_block_size = heap->min_block_size;              
ffc0d900:	80 c3 00 14 	lwz     r6,20(r3)                              
  uintptr_t const extend_area_begin = (uintptr_t) extend_area_begin_ptr;
  uintptr_t const extend_area_end = extend_area_begin + extend_area_size;
  uintptr_t const free_size = stats->free_size;                       
ffc0d904:	83 03 00 30 	lwz     r24,48(r3)                             
  uintptr_t extend_first_block_size = 0;                              
  uintptr_t extended_size = 0;                                        
  bool extend_area_ok = false;                                        
                                                                      
  if ( extend_area_end < extend_area_begin ) {                        
ffc0d908:	41 bc 02 70 	blt+    cr7,ffc0db78 <_Heap_Extend+0x2b4>      
    return false;                                                     
  }                                                                   
                                                                      
  extend_area_ok = _Heap_Get_first_and_last_block(                    
ffc0d90c:	7c 83 23 78 	mr      r3,r4                                  
ffc0d910:	38 e1 00 08 	addi    r7,r1,8                                
ffc0d914:	7c a4 2b 78 	mr      r4,r5                                  
ffc0d918:	39 01 00 0c 	addi    r8,r1,12                               
ffc0d91c:	7f 65 db 78 	mr      r5,r27                                 
ffc0d920:	4b ff b6 e5 	bl      ffc09004 <_Heap_Get_first_and_last_block>
    &extend_first_block,                                              
    &extend_last_block                                                
  );                                                                  
  if (!extend_area_ok ) {                                             
    /* For simplicity we reject extend areas that are too small */    
    return false;                                                     
ffc0d924:	7f 40 d3 78 	mr      r0,r26                                 
    page_size,                                                        
    min_block_size,                                                   
    &extend_first_block,                                              
    &extend_last_block                                                
  );                                                                  
  if (!extend_area_ok ) {                                             
ffc0d928:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0d92c:	41 9e 02 4c 	beq-    cr7,ffc0db78 <_Heap_Extend+0x2b4>      
ffc0d930:	7f 89 e3 78 	mr      r9,r28                                 
ffc0d934:	3a c0 00 00 	li      r22,0                                  
ffc0d938:	39 40 00 00 	li      r10,0                                  
ffc0d93c:	3a e0 00 00 	li      r23,0                                  
    return false;                                                     
  }                                                                   
                                                                      
  do {                                                                
    uintptr_t const sub_area_begin = (start_block != first_block) ?   
      (uintptr_t) start_block : heap->area_begin;                     
ffc0d940:	7f 89 e0 00 	cmpw    cr7,r9,r28                             
ffc0d944:	7d 2b 4b 78 	mr      r11,r9                                 
ffc0d948:	40 be 00 08 	bne+    cr7,ffc0d950 <_Heap_Extend+0x8c>       
ffc0d94c:	81 7f 00 18 	lwz     r11,24(r31)                            
    uintptr_t const sub_area_end = start_block->prev_size;            
ffc0d950:	80 09 00 00 	lwz     r0,0(r9)                               
    Heap_Block *const end_block =                                     
      _Heap_Block_of_alloc_area( sub_area_end, page_size );           
                                                                      
    if (                                                              
ffc0d954:	7f 80 e8 40 	cmplw   cr7,r0,r29                             
ffc0d958:	40 9d 00 0c 	ble-    cr7,ffc0d964 <_Heap_Extend+0xa0>       
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
ffc0d95c:	7f 9e 58 40 	cmplw   cr7,r30,r11                            
ffc0d960:	41 9d 02 14 	bgt-    cr7,ffc0db74 <_Heap_Extend+0x2b0>      
    ) {                                                               
      return false;                                                   
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
ffc0d964:	7f 9e 58 00 	cmpw    cr7,r30,r11                            
ffc0d968:	41 9e 00 10 	beq-    cr7,ffc0d978 <_Heap_Extend+0xb4>       
      merge_below_block = start_block;                                
    } else if ( extend_area_end < sub_area_end ) {                    
ffc0d96c:	7f 9e 00 40 	cmplw   cr7,r30,r0                             
ffc0d970:	41 9c 00 10 	blt-    cr7,ffc0d980 <_Heap_Extend+0xbc>       
ffc0d974:	48 00 00 10 	b       ffc0d984 <_Heap_Extend+0xc0>           
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
    ) {                                                               
      return false;                                                   
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
ffc0d978:	7d 37 4b 78 	mr      r23,r9                                 
ffc0d97c:	48 00 00 08 	b       ffc0d984 <_Heap_Extend+0xc0>           
      merge_below_block = start_block;                                
    } else if ( extend_area_end < sub_area_end ) {                    
ffc0d980:	7d 2a 4b 78 	mr      r10,r9                                 
ffc0d984:	7d 60 db 96 	divwu   r11,r0,r27                             
      link_below_block = start_block;                                 
    }                                                                 
                                                                      
    if ( sub_area_end == extend_area_begin ) {                        
ffc0d988:	7f 80 e8 00 	cmpw    cr7,r0,r29                             
ffc0d98c:	7d 6b d9 d6 	mullw   r11,r11,r27                            
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
ffc0d990:	39 6b ff f8 	addi    r11,r11,-8                             
ffc0d994:	40 be 00 10 	bne+    cr7,ffc0d9a4 <_Heap_Extend+0xe0>       
      start_block->prev_size = extend_area_end;                       
ffc0d998:	93 c9 00 00 	stw     r30,0(r9)                              
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_of_alloc_area(           
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
ffc0d99c:	7d 7a 5b 78 	mr      r26,r11                                
ffc0d9a0:	48 00 00 10 	b       ffc0d9b0 <_Heap_Extend+0xec>           
                                                                      
      merge_above_block = end_block;                                  
    } else if ( sub_area_end < extend_area_begin ) {                  
ffc0d9a4:	7f 80 e8 40 	cmplw   cr7,r0,r29                             
ffc0d9a8:	40 9c 00 08 	bge-    cr7,ffc0d9b0 <_Heap_Extend+0xec>       
ffc0d9ac:	7d 76 5b 78 	mr      r22,r11                                
    - 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;                
ffc0d9b0:	81 2b 00 04 	lwz     r9,4(r11)                              
ffc0d9b4:	55 29 00 3c 	rlwinm  r9,r9,0,0,30                           
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
ffc0d9b8:	7d 2b 4a 14 	add     r9,r11,r9                              
      link_above_block = end_block;                                   
    }                                                                 
                                                                      
    start_block = _Heap_Block_at( end_block, _Heap_Block_size( end_block ) );
  } while ( start_block != first_block );                             
ffc0d9bc:	7f 89 e0 00 	cmpw    cr7,r9,r28                             
ffc0d9c0:	40 9e ff 80 	bne+    cr7,ffc0d940 <_Heap_Extend+0x7c>       
                                                                      
  if ( extend_area_begin < heap->area_begin ) {                       
ffc0d9c4:	80 1f 00 18 	lwz     r0,24(r31)                             
ffc0d9c8:	7f 9d 00 40 	cmplw   cr7,r29,r0                             
ffc0d9cc:	40 9c 00 0c 	bge-    cr7,ffc0d9d8 <_Heap_Extend+0x114>      
    heap->area_begin = extend_area_begin;                             
ffc0d9d0:	93 bf 00 18 	stw     r29,24(r31)                            
ffc0d9d4:	48 00 00 14 	b       ffc0d9e8 <_Heap_Extend+0x124>          
  } else if ( heap->area_end < extend_area_end ) {                    
ffc0d9d8:	80 1f 00 1c 	lwz     r0,28(r31)                             
ffc0d9dc:	7f 80 f0 40 	cmplw   cr7,r0,r30                             
ffc0d9e0:	40 9c 00 08 	bge-    cr7,ffc0d9e8 <_Heap_Extend+0x124>      
    heap->area_end = extend_area_end;                                 
ffc0d9e4:	93 df 00 1c 	stw     r30,28(r31)                            
  }                                                                   
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
ffc0d9e8:	81 61 00 08 	lwz     r11,8(r1)                              
ffc0d9ec:	81 21 00 0c 	lwz     r9,12(r1)                              
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
ffc0d9f0:	93 cb 00 00 	stw     r30,0(r11)                             
    heap->area_begin = extend_area_begin;                             
  } else if ( heap->area_end < extend_area_end ) {                    
    heap->area_end = extend_area_end;                                 
  }                                                                   
                                                                      
  extend_first_block_size =                                           
ffc0d9f4:	7c 0b 48 50 	subf    r0,r11,r9                              
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
  extend_first_block->size_and_flag =                                 
    extend_first_block_size | HEAP_PREV_BLOCK_USED;                   
ffc0d9f8:	60 08 00 01 	ori     r8,r0,1                                
  _Heap_Protection_block_initialize( heap, extend_first_block );      
                                                                      
  extend_last_block->prev_size = extend_first_block_size;             
ffc0d9fc:	90 09 00 00 	stw     r0,0(r9)                               
  extend_last_block->size_and_flag = 0;                               
ffc0da00:	38 00 00 00 	li      r0,0                                   
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
  extend_first_block->size_and_flag =                                 
ffc0da04:	91 0b 00 04 	stw     r8,4(r11)                              
    extend_first_block_size | HEAP_PREV_BLOCK_USED;                   
  _Heap_Protection_block_initialize( heap, extend_first_block );      
                                                                      
  extend_last_block->prev_size = extend_first_block_size;             
  extend_last_block->size_and_flag = 0;                               
ffc0da08:	90 09 00 04 	stw     r0,4(r9)                               
  _Heap_Protection_block_initialize( heap, extend_last_block );       
                                                                      
  if ( (uintptr_t) extend_first_block < (uintptr_t) heap->first_block ) {
ffc0da0c:	80 1f 00 20 	lwz     r0,32(r31)                             
ffc0da10:	7f 80 58 40 	cmplw   cr7,r0,r11                             
ffc0da14:	40 9d 00 0c 	ble-    cr7,ffc0da20 <_Heap_Extend+0x15c>      
    heap->first_block = extend_first_block;                           
ffc0da18:	91 7f 00 20 	stw     r11,32(r31)                            
ffc0da1c:	48 00 00 14 	b       ffc0da30 <_Heap_Extend+0x16c>          
  } else if ( (uintptr_t) extend_last_block > (uintptr_t) heap->last_block ) {
ffc0da20:	80 1f 00 24 	lwz     r0,36(r31)                             
ffc0da24:	7f 80 48 40 	cmplw   cr7,r0,r9                              
ffc0da28:	40 9c 00 08 	bge-    cr7,ffc0da30 <_Heap_Extend+0x16c>      
    heap->last_block = extend_last_block;                             
ffc0da2c:	91 3f 00 24 	stw     r9,36(r31)                             
  }                                                                   
                                                                      
  if ( merge_below_block != NULL ) {                                  
ffc0da30:	2f 97 00 00 	cmpwi   cr7,r23,0                              
ffc0da34:	41 9e 00 48 	beq-    cr7,ffc0da7c <_Heap_Extend+0x1b8>      
  Heap_Control *heap,                                                 
  uintptr_t extend_area_begin,                                        
  Heap_Block *first_block                                             
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
ffc0da38:	80 1f 00 10 	lwz     r0,16(r31)                             
  uintptr_t const new_first_block_alloc_begin =                       
    _Heap_Align_up( extend_area_begin + HEAP_BLOCK_HEADER_SIZE, page_size );
ffc0da3c:	3b bd 00 08 	addi    r29,r29,8                              
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_up(                        
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  uintptr_t remainder = value % alignment;                            
ffc0da40:	7d 3d 03 96 	divwu   r9,r29,r0                              
ffc0da44:	7d 29 01 d6 	mullw   r9,r9,r0                               
                                                                      
  if ( remainder != 0 ) {                                             
ffc0da48:	7d 29 e8 51 	subf.   r9,r9,r29                              
ffc0da4c:	41 82 00 0c 	beq-    ffc0da58 <_Heap_Extend+0x194>          <== ALWAYS TAKEN
    return value - remainder + alignment;                             
ffc0da50:	7f bd 02 14 	add     r29,r29,r0                             <== NOT EXECUTED
ffc0da54:	7f a9 e8 50 	subf    r29,r9,r29                             <== NOT EXECUTED
  uintptr_t const first_block_begin = (uintptr_t) first_block;        
  uintptr_t const new_first_block_size =                              
    first_block_begin - new_first_block_begin;                        
  Heap_Block *const new_first_block = (Heap_Block *) new_first_block_begin;
                                                                      
  new_first_block->prev_size = first_block->prev_size;                
ffc0da58:	80 17 00 00 	lwz     r0,0(r23)                              
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const new_first_block_alloc_begin =                       
    _Heap_Align_up( extend_area_begin + HEAP_BLOCK_HEADER_SIZE, page_size );
  uintptr_t const new_first_block_begin =                             
ffc0da5c:	38 9d ff f8 	addi    r4,r29,-8                              
  Heap_Block *const new_first_block = (Heap_Block *) new_first_block_begin;
                                                                      
  new_first_block->prev_size = first_block->prev_size;                
  new_first_block->size_and_flag = new_first_block_size | HEAP_PREV_BLOCK_USED;
                                                                      
  _Heap_Free_block( heap, new_first_block );                          
ffc0da60:	7f e3 fb 78 	mr      r3,r31                                 
  uintptr_t const first_block_begin = (uintptr_t) first_block;        
  uintptr_t const new_first_block_size =                              
    first_block_begin - new_first_block_begin;                        
  Heap_Block *const new_first_block = (Heap_Block *) new_first_block_begin;
                                                                      
  new_first_block->prev_size = first_block->prev_size;                
ffc0da64:	90 1d ff f8 	stw     r0,-8(r29)                             
  uintptr_t const new_first_block_alloc_begin =                       
    _Heap_Align_up( extend_area_begin + HEAP_BLOCK_HEADER_SIZE, page_size );
  uintptr_t const new_first_block_begin =                             
    new_first_block_alloc_begin - HEAP_BLOCK_HEADER_SIZE;             
  uintptr_t const first_block_begin = (uintptr_t) first_block;        
  uintptr_t const new_first_block_size =                              
ffc0da68:	7c 04 b8 50 	subf    r0,r4,r23                              
    first_block_begin - new_first_block_begin;                        
  Heap_Block *const new_first_block = (Heap_Block *) new_first_block_begin;
                                                                      
  new_first_block->prev_size = first_block->prev_size;                
  new_first_block->size_and_flag = new_first_block_size | HEAP_PREV_BLOCK_USED;
ffc0da6c:	60 00 00 01 	ori     r0,r0,1                                
ffc0da70:	90 04 00 04 	stw     r0,4(r4)                               
                                                                      
  _Heap_Free_block( heap, new_first_block );                          
ffc0da74:	4b ff fe 15 	bl      ffc0d888 <_Heap_Free_block>            
ffc0da78:	48 00 00 1c 	b       ffc0da94 <_Heap_Extend+0x1d0>          
    heap->last_block = extend_last_block;                             
  }                                                                   
                                                                      
  if ( merge_below_block != NULL ) {                                  
    _Heap_Merge_below( heap, extend_area_begin, merge_below_block );  
  } else if ( link_below_block != NULL ) {                            
ffc0da7c:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0da80:	41 9e 00 14 	beq-    cr7,ffc0da94 <_Heap_Extend+0x1d0>      
    _Heap_Link_below(                                                 
ffc0da84:	81 21 00 0c 	lwz     r9,12(r1)                              
{                                                                     
  uintptr_t const last_block_begin = (uintptr_t) last_block;          
  uintptr_t const link_begin = (uintptr_t) link;                      
                                                                      
  last_block->size_and_flag =                                         
    (link_begin - last_block_begin) | HEAP_PREV_BLOCK_USED;           
ffc0da88:	7d 49 50 50 	subf    r10,r9,r10                             
ffc0da8c:	61 4a 00 01 	ori     r10,r10,1                              
)                                                                     
{                                                                     
  uintptr_t const last_block_begin = (uintptr_t) last_block;          
  uintptr_t const link_begin = (uintptr_t) link;                      
                                                                      
  last_block->size_and_flag =                                         
ffc0da90:	91 49 00 04 	stw     r10,4(r9)                              
      link_below_block,                                               
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
ffc0da94:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc0da98:	41 9e 00 4c 	beq-    cr7,ffc0dae4 <_Heap_Extend+0x220>      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
ffc0da9c:	80 1f 00 10 	lwz     r0,16(r31)                             
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const last_block_begin = (uintptr_t) last_block;          
  uintptr_t const last_block_new_size = _Heap_Align_down(             
    extend_area_end - last_block_begin - HEAP_BLOCK_HEADER_SIZE,      
ffc0daa0:	3b de ff f8 	addi    r30,r30,-8                             
  uintptr_t extend_area_end                                           
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const last_block_begin = (uintptr_t) last_block;          
  uintptr_t const last_block_new_size = _Heap_Align_down(             
ffc0daa4:	7f da f0 50 	subf    r30,r26,r30                            
ffc0daa8:	7f de 03 96 	divwu   r30,r30,r0                             
ffc0daac:	7f de 01 d6 	mullw   r30,r30,r0                             
  );                                                                  
  Heap_Block *const new_last_block =                                  
    _Heap_Block_at( last_block, last_block_new_size );                
                                                                      
  new_last_block->size_and_flag =                                     
    (last_block->size_and_flag - last_block_new_size)                 
ffc0dab0:	80 1a 00 04 	lwz     r0,4(r26)                              
      | HEAP_PREV_BLOCK_USED;                                         
                                                                      
  _Heap_Block_set_size( last_block, last_block_new_size );            
                                                                      
  _Heap_Free_block( heap, last_block );                               
ffc0dab4:	7f e3 fb 78 	mr      r3,r31                                 
  );                                                                  
  Heap_Block *const new_last_block =                                  
    _Heap_Block_at( last_block, last_block_new_size );                
                                                                      
  new_last_block->size_and_flag =                                     
    (last_block->size_and_flag - last_block_new_size)                 
ffc0dab8:	7c 1e 00 50 	subf    r0,r30,r0                              
    page_size                                                         
  );                                                                  
  Heap_Block *const new_last_block =                                  
    _Heap_Block_at( last_block, last_block_new_size );                
                                                                      
  new_last_block->size_and_flag =                                     
ffc0dabc:	7d 3e d2 14 	add     r9,r30,r26                             
    (last_block->size_and_flag - last_block_new_size)                 
      | HEAP_PREV_BLOCK_USED;                                         
ffc0dac0:	60 00 00 01 	ori     r0,r0,1                                
    page_size                                                         
  );                                                                  
  Heap_Block *const new_last_block =                                  
    _Heap_Block_at( last_block, last_block_new_size );                
                                                                      
  new_last_block->size_and_flag =                                     
ffc0dac4:	90 09 00 04 	stw     r0,4(r9)                               
    (last_block->size_and_flag - last_block_new_size)                 
      | HEAP_PREV_BLOCK_USED;                                         
                                                                      
  _Heap_Block_set_size( last_block, last_block_new_size );            
                                                                      
  _Heap_Free_block( heap, last_block );                               
ffc0dac8:	7f 44 d3 78 	mr      r4,r26                                 
RTEMS_INLINE_ROUTINE void _Heap_Block_set_size(                       
  Heap_Block *block,                                                  
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
ffc0dacc:	80 1a 00 04 	lwz     r0,4(r26)                              
ffc0dad0:	54 00 07 fe 	clrlwi  r0,r0,31                               
                                                                      
  block->size_and_flag = size | flag;                                 
ffc0dad4:	7f de 03 78 	or      r30,r30,r0                             
ffc0dad8:	93 da 00 04 	stw     r30,4(r26)                             
ffc0dadc:	4b ff fd ad 	bl      ffc0d888 <_Heap_Free_block>            
ffc0dae0:	48 00 00 34 	b       ffc0db14 <_Heap_Extend+0x250>          
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
    _Heap_Merge_above( heap, merge_above_block, extend_area_end );    
  } else if ( link_above_block != NULL ) {                            
ffc0dae4:	2f 96 00 00 	cmpwi   cr7,r22,0                              
ffc0dae8:	41 9e 00 2c 	beq-    cr7,ffc0db14 <_Heap_Extend+0x250>      
RTEMS_INLINE_ROUTINE void _Heap_Block_set_size(                       
  Heap_Block *block,                                                  
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
ffc0daec:	80 16 00 04 	lwz     r0,4(r22)                              
)                                                                     
{                                                                     
  uintptr_t const link_begin = (uintptr_t) link;                      
  uintptr_t const first_block_begin = (uintptr_t) first_block;        
                                                                      
  _Heap_Block_set_size( link, first_block_begin - link_begin );       
ffc0daf0:	81 61 00 08 	lwz     r11,8(r1)                              
ffc0daf4:	54 00 07 fe 	clrlwi  r0,r0,31                               
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
    _Heap_Merge_above( heap, merge_above_block, extend_area_end );    
  } else if ( link_above_block != NULL ) {                            
    _Heap_Link_above(                                                 
ffc0daf8:	81 21 00 0c 	lwz     r9,12(r1)                              
)                                                                     
{                                                                     
  uintptr_t const link_begin = (uintptr_t) link;                      
  uintptr_t const first_block_begin = (uintptr_t) first_block;        
                                                                      
  _Heap_Block_set_size( link, first_block_begin - link_begin );       
ffc0dafc:	7d 76 58 50 	subf    r11,r22,r11                            
                                                                      
  block->size_and_flag = size | flag;                                 
ffc0db00:	7d 60 03 78 	or      r0,r11,r0                              
ffc0db04:	90 16 00 04 	stw     r0,4(r22)                              
                                                                      
  last_block->size_and_flag |= HEAP_PREV_BLOCK_USED;                  
ffc0db08:	80 09 00 04 	lwz     r0,4(r9)                               
ffc0db0c:	60 00 00 01 	ori     r0,r0,1                                
ffc0db10:	90 09 00 04 	stw     r0,4(r9)                               
      extend_first_block,                                             
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_below_block == NULL && merge_above_block == NULL ) {     
ffc0db14:	2f 97 00 00 	cmpwi   cr7,r23,0                              
ffc0db18:	40 be 00 18 	bne+    cr7,ffc0db30 <_Heap_Extend+0x26c>      
ffc0db1c:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc0db20:	40 be 00 10 	bne+    cr7,ffc0db30 <_Heap_Extend+0x26c>      
    _Heap_Free_block( heap, extend_first_block );                     
ffc0db24:	80 81 00 08 	lwz     r4,8(r1)                               
ffc0db28:	7f e3 fb 78 	mr      r3,r31                                 
ffc0db2c:	4b ff fd 5d 	bl      ffc0d888 <_Heap_Free_block>            
 */                                                                   
RTEMS_INLINE_ROUTINE void _Heap_Set_last_block_size( Heap_Control *heap )
{                                                                     
  _Heap_Block_set_size(                                               
    heap->last_block,                                                 
    (uintptr_t) heap->first_block - (uintptr_t) heap->last_block      
ffc0db30:	81 3f 00 24 	lwz     r9,36(r31)                             
  extended_size = stats->free_size - free_size;                       
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
                                                                      
  if ( extended_size_ptr != NULL )                                    
ffc0db34:	2f 99 00 00 	cmpwi   cr7,r25,0                              
 * This feature will be used to terminate the scattered heap area list.  See
 * also _Heap_Extend().                                               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Heap_Set_last_block_size( Heap_Control *heap )
{                                                                     
  _Heap_Block_set_size(                                               
ffc0db38:	81 7f 00 20 	lwz     r11,32(r31)                            
RTEMS_INLINE_ROUTINE void _Heap_Block_set_size(                       
  Heap_Block *block,                                                  
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
ffc0db3c:	80 09 00 04 	lwz     r0,4(r9)                               
 * This feature will be used to terminate the scattered heap area list.  See
 * also _Heap_Extend().                                               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Heap_Set_last_block_size( Heap_Control *heap )
{                                                                     
  _Heap_Block_set_size(                                               
ffc0db40:	7d 69 58 50 	subf    r11,r9,r11                             
RTEMS_INLINE_ROUTINE void _Heap_Block_set_size(                       
  Heap_Block *block,                                                  
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
ffc0db44:	54 00 07 fe 	clrlwi  r0,r0,31                               
                                                                      
  block->size_and_flag = size | flag;                                 
ffc0db48:	7d 60 03 78 	or      r0,r11,r0                              
ffc0db4c:	90 09 00 04 	stw     r0,4(r9)                               
    _Heap_Free_block( heap, extend_first_block );                     
  }                                                                   
                                                                      
  _Heap_Set_last_block_size( heap );                                  
                                                                      
  extended_size = stats->free_size - free_size;                       
ffc0db50:	80 1f 00 30 	lwz     r0,48(r31)                             
ffc0db54:	7f 18 00 50 	subf    r24,r24,r0                             
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
ffc0db58:	80 1f 00 2c 	lwz     r0,44(r31)                             
ffc0db5c:	7c 00 c2 14 	add     r0,r0,r24                              
ffc0db60:	90 1f 00 2c 	stw     r0,44(r31)                             
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
ffc0db64:	38 00 00 01 	li      r0,1                                   
  extended_size = stats->free_size - free_size;                       
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
                                                                      
  if ( extended_size_ptr != NULL )                                    
ffc0db68:	41 9e 00 10 	beq-    cr7,ffc0db78 <_Heap_Extend+0x2b4>      <== NEVER TAKEN
    *extended_size_ptr = extended_size;                               
ffc0db6c:	93 19 00 00 	stw     r24,0(r25)                             
ffc0db70:	48 00 00 08 	b       ffc0db78 <_Heap_Extend+0x2b4>          
      _Heap_Block_of_alloc_area( sub_area_end, page_size );           
                                                                      
    if (                                                              
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
    ) {                                                               
      return false;                                                   
ffc0db74:	38 00 00 00 	li      r0,0                                   
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
}                                                                     
ffc0db78:	39 61 00 40 	addi    r11,r1,64                              
ffc0db7c:	7c 03 03 78 	mr      r3,r0                                  
ffc0db80:	4b ff 2a 20 	b       ffc005a0 <_restgpr_22_x>               
                                                                      

ffc1157c <_Heap_Free>:
ffc1157c:	80 03 00 10 	lwz     r0,16(r3)                              
    return do_free;                                                   
  }                                                                   
#endif                                                                
                                                                      
bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr )          
{                                                                     
ffc11580:	7c 69 1b 78 	mr      r9,r3                                  
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
ffc11584:	80 a3 00 20 	lwz     r5,32(r3)                              
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
ffc11588:	7d 64 03 96 	divwu   r11,r4,r0                              
ffc1158c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc11590:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc11594:	7d 6b 01 d6 	mullw   r11,r11,r0                             
  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;             
ffc11598:	38 00 00 00 	li      r0,0                                   
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
ffc1159c:	39 6b ff f8 	addi    r11,r11,-8                             
  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;             
ffc115a0:	7f 8b 28 40 	cmplw   cr7,r11,r5                             
ffc115a4:	41 9c 00 14 	blt-    cr7,ffc115b8 <_Heap_Free+0x3c>         
ffc115a8:	80 03 00 24 	lwz     r0,36(r3)                              
ffc115ac:	7c 0b 00 10 	subfc   r0,r11,r0                              
ffc115b0:	38 00 00 00 	li      r0,0                                   
ffc115b4:	7c 00 01 14 	adde    r0,r0,r0                               
  uintptr_t next_block_size = 0;                                      
  bool next_is_free = false;                                          
                                                                      
  _Heap_Protection_block_check( heap, block );                        
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, block ) ) {                     
ffc115b8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    return false;                                                     
ffc115bc:	38 60 00 00 	li      r3,0                                   
  uintptr_t next_block_size = 0;                                      
  bool next_is_free = false;                                          
                                                                      
  _Heap_Protection_block_check( heap, block );                        
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, block ) ) {                     
ffc115c0:	41 9e 01 b0 	beq-    cr7,ffc11770 <_Heap_Free+0x1f4>        
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
ffc115c4:	80 cb 00 04 	lwz     r6,4(r11)                              
ffc115c8:	38 00 00 00 	li      r0,0                                   
    - 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;                
ffc115cc:	54 c8 00 3c 	rlwinm  r8,r6,0,0,30                           
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
ffc115d0:	7d 4b 42 14 	add     r10,r11,r8                             
  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;             
ffc115d4:	7f 8a 28 40 	cmplw   cr7,r10,r5                             
ffc115d8:	41 9c 00 14 	blt-    cr7,ffc115ec <_Heap_Free+0x70>         <== NEVER TAKEN
ffc115dc:	80 09 00 24 	lwz     r0,36(r9)                              
ffc115e0:	7c 0a 00 10 	subfc   r0,r10,r0                              
ffc115e4:	38 00 00 00 	li      r0,0                                   
ffc115e8:	7c 00 01 14 	adde    r0,r0,r0                               
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  _Heap_Protection_block_check( heap, next_block );                   
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {                
ffc115ec:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    _HAssert( false );                                                
    return false;                                                     
ffc115f0:	38 60 00 00 	li      r3,0                                   
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  _Heap_Protection_block_check( heap, next_block );                   
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {                
ffc115f4:	41 9e 01 7c 	beq-    cr7,ffc11770 <_Heap_Free+0x1f4>        <== NEVER TAKEN
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
ffc115f8:	80 0a 00 04 	lwz     r0,4(r10)                              
  if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {                
    _HAssert( false );                                                
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( next_block ) ) {                          
ffc115fc:	70 04 00 01 	andi.   r4,r0,1                                
ffc11600:	41 82 01 70 	beq-    ffc11770 <_Heap_Free+0x1f4>            
  if ( !_Heap_Protection_determine_block_free( heap, block ) ) {      
    return true;                                                      
  }                                                                   
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
ffc11604:	80 69 00 24 	lwz     r3,36(r9)                              
    - 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;                
ffc11608:	54 00 00 3c 	rlwinm  r0,r0,0,0,30                           
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
ffc1160c:	38 80 00 00 	li      r4,0                                   
ffc11610:	7f 8a 18 00 	cmpw    cr7,r10,r3                             
ffc11614:	41 9e 00 18 	beq-    cr7,ffc1162c <_Heap_Free+0xb0>         
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
ffc11618:	7c ea 02 14 	add     r7,r10,r0                              
  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;                 
ffc1161c:	80 e7 00 04 	lwz     r7,4(r7)                               
                                                                      
    return do_free;                                                   
  }                                                                   
#endif                                                                
                                                                      
bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr )          
ffc11620:	70 ff 00 01 	andi.   r31,r7,1                               
ffc11624:	7c 80 00 26 	mfcr    r4                                     
ffc11628:	54 84 1f fe 	rlwinm  r4,r4,3,31,31                          
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
                                                                      
  if ( !_Heap_Is_prev_used( block ) ) {                               
ffc1162c:	70 c7 00 01 	andi.   r7,r6,1                                
  if ( !_Heap_Protection_determine_block_free( heap, block ) ) {      
    return true;                                                      
  }                                                                   
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
ffc11630:	54 84 06 3e 	clrlwi  r4,r4,24                               
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
                                                                      
  if ( !_Heap_Is_prev_used( block ) ) {                               
ffc11634:	40 82 00 98 	bne-    ffc116cc <_Heap_Free+0x150>            
    uintptr_t const prev_size = block->prev_size;                     
ffc11638:	80 cb 00 00 	lwz     r6,0(r11)                              
  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;             
ffc1163c:	39 80 00 00 	li      r12,0                                  
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
ffc11640:	7c e6 58 50 	subf    r7,r6,r11                              
  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;             
ffc11644:	7f 87 28 40 	cmplw   cr7,r7,r5                              
ffc11648:	41 9c 00 10 	blt-    cr7,ffc11658 <_Heap_Free+0xdc>         <== NEVER TAKEN
ffc1164c:	7d 87 18 10 	subfc   r12,r7,r3                              
ffc11650:	39 80 00 00 	li      r12,0                                  
ffc11654:	7d 8c 61 14 	adde    r12,r12,r12                            
    Heap_Block * const prev_block = _Heap_Block_at( block, -prev_size );
                                                                      
    if ( !_Heap_Is_block_in_heap( heap, prev_block ) ) {              
ffc11658:	2f 8c 00 00 	cmpwi   cr7,r12,0                              
      _HAssert( false );                                              
      return( false );                                                
ffc1165c:	38 60 00 00 	li      r3,0                                   
                                                                      
  if ( !_Heap_Is_prev_used( block ) ) {                               
    uintptr_t const prev_size = block->prev_size;                     
    Heap_Block * const prev_block = _Heap_Block_at( block, -prev_size );
                                                                      
    if ( !_Heap_Is_block_in_heap( heap, prev_block ) ) {              
ffc11660:	41 9e 01 10 	beq-    cr7,ffc11770 <_Heap_Free+0x1f4>        <== NEVER TAKEN
  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;                 
ffc11664:	80 a7 00 04 	lwz     r5,4(r7)                               
      return( false );                                                
    }                                                                 
                                                                      
    /* As we always coalesce free blocks, the block that preceedes prev_block
       must have been used. */                                        
    if ( !_Heap_Is_prev_used ( prev_block) ) {                        
ffc11668:	70 bf 00 01 	andi.   r31,r5,1                               
ffc1166c:	41 82 01 04 	beq-    ffc11770 <_Heap_Free+0x1f4>            <== NEVER TAKEN
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
ffc11670:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc11674:	41 9e 00 38 	beq-    cr7,ffc116ac <_Heap_Free+0x130>        
  return _Heap_Free_list_tail(heap)->prev;                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE void _Heap_Free_list_remove( Heap_Block *block ) 
{                                                                     
  Heap_Block *next = block->next;                                     
ffc11678:	81 6a 00 08 	lwz     r11,8(r10)                             
      uintptr_t const size = block_size + prev_size + next_block_size;
ffc1167c:	7c 08 02 14 	add     r0,r8,r0                               
  Heap_Block *prev = block->prev;                                     
ffc11680:	81 4a 00 0c 	lwz     r10,12(r10)                            
ffc11684:	7c c0 32 14 	add     r6,r0,r6                               
                                                                      
  prev->next = next;                                                  
ffc11688:	91 6a 00 08 	stw     r11,8(r10)                             
  next->prev = prev;                                                  
ffc1168c:	91 4b 00 0c 	stw     r10,12(r11)                            
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
ffc11690:	81 69 00 38 	lwz     r11,56(r9)                             
ffc11694:	38 0b ff ff 	addi    r0,r11,-1                              
ffc11698:	90 09 00 38 	stw     r0,56(r9)                              
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
ffc1169c:	60 c0 00 01 	ori     r0,r6,1                                
ffc116a0:	90 07 00 04 	stw     r0,4(r7)                               
      next_block = _Heap_Block_at( prev_block, size );                
      _HAssert(!_Heap_Is_prev_used( next_block));                     
      next_block->prev_size = size;                                   
ffc116a4:	7c c7 31 2e 	stwx    r6,r7,r6                               
ffc116a8:	48 00 00 a0 	b       ffc11748 <_Heap_Free+0x1cc>            
    } else {                      /* coalesce prev */                 
      uintptr_t const size = block_size + prev_size;                  
ffc116ac:	7c c8 32 14 	add     r6,r8,r6                               
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
ffc116b0:	60 c0 00 01 	ori     r0,r6,1                                
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
      next_block->prev_size = size;                                   
ffc116b4:	7c cb 41 2e 	stwx    r6,r11,r8                              
      next_block = _Heap_Block_at( prev_block, size );                
      _HAssert(!_Heap_Is_prev_used( next_block));                     
      next_block->prev_size = size;                                   
    } else {                      /* coalesce prev */                 
      uintptr_t const size = block_size + prev_size;                  
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
ffc116b8:	90 07 00 04 	stw     r0,4(r7)                               
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
ffc116bc:	80 0a 00 04 	lwz     r0,4(r10)                              
ffc116c0:	54 00 00 3c 	rlwinm  r0,r0,0,0,30                           
ffc116c4:	90 0a 00 04 	stw     r0,4(r10)                              
ffc116c8:	48 00 00 80 	b       ffc11748 <_Heap_Free+0x1cc>            
      next_block->prev_size = size;                                   
    }                                                                 
  } else if ( next_is_free ) {    /* coalesce next */                 
ffc116cc:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc116d0:	41 9e 00 30 	beq-    cr7,ffc11700 <_Heap_Free+0x184>        
RTEMS_INLINE_ROUTINE void _Heap_Free_list_replace(                    
  Heap_Block *old_block,                                              
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = old_block->next;                                 
ffc116d4:	80 ca 00 08 	lwz     r6,8(r10)                              
    uintptr_t const size = block_size + next_block_size;              
ffc116d8:	7c e0 42 14 	add     r7,r0,r8                               
  Heap_Block *prev = old_block->prev;                                 
ffc116dc:	81 4a 00 0c 	lwz     r10,12(r10)                            
    _Heap_Free_list_replace( next_block, block );                     
    block->size_and_flag = size | HEAP_PREV_BLOCK_USED;               
ffc116e0:	60 e0 00 01 	ori     r0,r7,1                                
                                                                      
  new_block->next = next;                                             
ffc116e4:	90 cb 00 08 	stw     r6,8(r11)                              
  new_block->prev = prev;                                             
ffc116e8:	91 4b 00 0c 	stw     r10,12(r11)                            
                                                                      
  next->prev = new_block;                                             
  prev->next = new_block;                                             
ffc116ec:	91 6a 00 08 	stw     r11,8(r10)                             
  Heap_Block *prev = old_block->prev;                                 
                                                                      
  new_block->next = next;                                             
  new_block->prev = prev;                                             
                                                                      
  next->prev = new_block;                                             
ffc116f0:	91 66 00 0c 	stw     r11,12(r6)                             
ffc116f4:	90 0b 00 04 	stw     r0,4(r11)                              
    next_block  = _Heap_Block_at( block, size );                      
    next_block->prev_size = size;                                     
ffc116f8:	7c eb 39 2e 	stwx    r7,r11,r7                              
ffc116fc:	48 00 00 4c 	b       ffc11748 <_Heap_Free+0x1cc>            
  } else {                        /* no coalesce */                   
    /* Add 'block' to the head of the free blocks list as it tends to 
       produce less fragmentation than adding to the tail. */         
    _Heap_Free_list_insert_after( _Heap_Free_list_head( heap), block );
    block->size_and_flag = block_size | HEAP_PREV_BLOCK_USED;         
ffc11700:	61 00 00 01 	ori     r0,r8,1                                
RTEMS_INLINE_ROUTINE void _Heap_Free_list_insert_after(               
  Heap_Block *block_before,                                           
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
ffc11704:	80 e9 00 08 	lwz     r7,8(r9)                               
ffc11708:	90 0b 00 04 	stw     r0,4(r11)                              
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
ffc1170c:	80 0a 00 04 	lwz     r0,4(r10)                              
                                                                      
  new_block->next = next;                                             
ffc11710:	90 eb 00 08 	stw     r7,8(r11)                              
ffc11714:	54 00 00 3c 	rlwinm  r0,r0,0,0,30                           
  new_block->prev = block_before;                                     
ffc11718:	91 2b 00 0c 	stw     r9,12(r11)                             
    next_block->prev_size = block_size;                               
ffc1171c:	7d 0b 41 2e 	stwx    r8,r11,r8                              
  block_before->next = new_block;                                     
  next->prev = new_block;                                             
ffc11720:	91 67 00 0c 	stw     r11,12(r7)                             
{                                                                     
  Heap_Block *next = block_before->next;                              
                                                                      
  new_block->next = next;                                             
  new_block->prev = block_before;                                     
  block_before->next = new_block;                                     
ffc11724:	91 69 00 08 	stw     r11,8(r9)                              
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
ffc11728:	81 69 00 38 	lwz     r11,56(r9)                             
  } else {                        /* no coalesce */                   
    /* Add 'block' to the head of the free blocks list as it tends to 
       produce less fragmentation than adding to the tail. */         
    _Heap_Free_list_insert_after( _Heap_Free_list_head( heap), block );
    block->size_and_flag = block_size | HEAP_PREV_BLOCK_USED;         
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
ffc1172c:	90 0a 00 04 	stw     r0,4(r10)                              
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
ffc11730:	38 0b 00 01 	addi    r0,r11,1                               
    if ( stats->max_free_blocks < stats->free_blocks ) {              
ffc11734:	81 69 00 3c 	lwz     r11,60(r9)                             
    block->size_and_flag = block_size | HEAP_PREV_BLOCK_USED;         
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
ffc11738:	90 09 00 38 	stw     r0,56(r9)                              
    if ( stats->max_free_blocks < stats->free_blocks ) {              
ffc1173c:	7f 8b 00 40 	cmplw   cr7,r11,r0                             
ffc11740:	40 9c 00 08 	bge-    cr7,ffc11748 <_Heap_Free+0x1cc>        
      stats->max_free_blocks = stats->free_blocks;                    
ffc11744:	90 09 00 3c 	stw     r0,60(r9)                              
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
ffc11748:	81 69 00 40 	lwz     r11,64(r9)                             
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
ffc1174c:	38 60 00 01 	li      r3,1                                   
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
ffc11750:	38 0b ff ff 	addi    r0,r11,-1                              
  ++stats->frees;                                                     
ffc11754:	81 69 00 50 	lwz     r11,80(r9)                             
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
ffc11758:	90 09 00 40 	stw     r0,64(r9)                              
  ++stats->frees;                                                     
ffc1175c:	38 0b 00 01 	addi    r0,r11,1                               
ffc11760:	90 09 00 50 	stw     r0,80(r9)                              
  stats->free_size += block_size;                                     
ffc11764:	80 09 00 30 	lwz     r0,48(r9)                              
ffc11768:	7d 00 42 14 	add     r8,r0,r8                               
ffc1176c:	91 09 00 30 	stw     r8,48(r9)                              
                                                                      
  return( true );                                                     
}                                                                     
ffc11770:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc11774:	38 21 00 10 	addi    r1,r1,16                               
ffc11778:	4e 80 00 20 	blr                                            
                                                                      

ffc118b0 <_Heap_Size_of_alloc_area>: RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down( uintptr_t value, uintptr_t alignment ) { return value - (value % alignment);
ffc118b0:	80 03 00 10 	lwz     r0,16(r3)                              
bool _Heap_Size_of_alloc_area(                                        
  Heap_Control *heap,                                                 
  void *alloc_begin_ptr,                                              
  uintptr_t *alloc_size                                               
)                                                                     
{                                                                     
ffc118b4:	7c 69 1b 78 	mr      r9,r3                                  
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
ffc118b8:	81 03 00 20 	lwz     r8,32(r3)                              
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
ffc118bc:	7d 44 03 96 	divwu   r10,r4,r0                              
ffc118c0:	7d 4a 01 d6 	mullw   r10,r10,r0                             
  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;             
ffc118c4:	38 00 00 00 	li      r0,0                                   
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
ffc118c8:	39 4a ff f8 	addi    r10,r10,-8                             
  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;             
ffc118cc:	7f 8a 40 40 	cmplw   cr7,r10,r8                             
ffc118d0:	41 9c 00 14 	blt-    cr7,ffc118e4 <_Heap_Size_of_alloc_area+0x34>
ffc118d4:	80 03 00 24 	lwz     r0,36(r3)                              
ffc118d8:	7c 0a 00 10 	subfc   r0,r10,r0                              
ffc118dc:	38 00 00 00 	li      r0,0                                   
ffc118e0:	7c 00 01 14 	adde    r0,r0,r0                               
  uintptr_t const alloc_begin = (uintptr_t) alloc_begin_ptr;          
  Heap_Block *block = _Heap_Block_of_alloc_area( alloc_begin, page_size );
  Heap_Block *next_block = NULL;                                      
  uintptr_t block_size = 0;                                           
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, block ) ) {                     
ffc118e4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    return false;                                                     
ffc118e8:	38 60 00 00 	li      r3,0                                   
  uintptr_t const alloc_begin = (uintptr_t) alloc_begin_ptr;          
  Heap_Block *block = _Heap_Block_of_alloc_area( alloc_begin, page_size );
  Heap_Block *next_block = NULL;                                      
  uintptr_t block_size = 0;                                           
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, block ) ) {                     
ffc118ec:	4d 9e 00 20 	beqlr   cr7                                    
    - 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;                
ffc118f0:	81 6a 00 04 	lwz     r11,4(r10)                             
  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;             
ffc118f4:	38 00 00 00 	li      r0,0                                   
    - 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;                
ffc118f8:	55 6b 00 3c 	rlwinm  r11,r11,0,0,30                         
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
ffc118fc:	7d 6a 5a 14 	add     r11,r10,r11                            
  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;             
ffc11900:	7f 8b 40 40 	cmplw   cr7,r11,r8                             
ffc11904:	41 9c 00 14 	blt-    cr7,ffc11918 <_Heap_Size_of_alloc_area+0x68><== NEVER TAKEN
ffc11908:	80 09 00 24 	lwz     r0,36(r9)                              
ffc1190c:	7c 0b 00 10 	subfc   r0,r11,r0                              
ffc11910:	38 00 00 00 	li      r0,0                                   
ffc11914:	7c 00 01 14 	adde    r0,r0,r0                               
  }                                                                   
                                                                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if (                                                                
ffc11918:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    !_Heap_Is_block_in_heap( heap, next_block )                       
      || !_Heap_Is_prev_used( next_block )                            
  ) {                                                                 
    return false;                                                     
ffc1191c:	38 60 00 00 	li      r3,0                                   
  }                                                                   
                                                                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if (                                                                
ffc11920:	4d 9e 00 20 	beqlr   cr7                                    
  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;                 
ffc11924:	80 0b 00 04 	lwz     r0,4(r11)                              
    !_Heap_Is_block_in_heap( heap, next_block )                       
      || !_Heap_Is_prev_used( next_block )                            
ffc11928:	70 09 00 01 	andi.   r9,r0,1                                
ffc1192c:	4d 82 00 20 	beqlr                                          
  ) {                                                                 
    return false;                                                     
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_ALLOC_BONUS - alloc_begin;
ffc11930:	20 84 00 04 	subfic  r4,r4,4                                
ffc11934:	7d 64 5a 14 	add     r11,r4,r11                             
ffc11938:	91 65 00 00 	stw     r11,0(r5)                              
                                                                      
  return true;                                                        
ffc1193c:	38 60 00 01 	li      r3,1                                   
}                                                                     
ffc11940:	4e 80 00 20 	blr                                            
                                                                      

ffc09b48 <_Heap_Walk>: 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; Heap_Block *block = first_block; Heap_Walk_printer printer = dump ? _Heap_Walk_print : _Heap_Walk_print_nothing;
ffc09b48:	2f 85 00 00 	cmpwi   cr7,r5,0                               
bool _Heap_Walk(                                                      
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
ffc09b4c:	94 21 ff 98 	stwu    r1,-104(r1)                            
ffc09b50:	7c 08 02 a6 	mflr    r0                                     
ffc09b54:	bd c1 00 20 	stmw    r14,32(r1)                             
ffc09b58:	7c 7e 1b 78 	mr      r30,r3                                 
ffc09b5c:	7c 9f 23 78 	mr      r31,r4                                 
ffc09b60:	90 01 00 6c 	stw     r0,108(r1)                             
  uintptr_t const page_size = heap->page_size;                        
ffc09b64:	83 43 00 10 	lwz     r26,16(r3)                             
  uintptr_t const min_block_size = heap->min_block_size;              
ffc09b68:	83 23 00 14 	lwz     r25,20(r3)                             
  Heap_Block *const first_block = heap->first_block;                  
ffc09b6c:	83 03 00 20 	lwz     r24,32(r3)                             
  Heap_Block *const last_block = heap->last_block;                    
ffc09b70:	82 e3 00 24 	lwz     r23,36(r3)                             
  Heap_Block *block = first_block;                                    
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
ffc09b74:	41 9e 00 10 	beq-    cr7,ffc09b84 <_Heap_Walk+0x3c>         
ffc09b78:	3d 20 ff c1 	lis     r9,-63                                 
ffc09b7c:	39 29 9a 98 	addi    r9,r9,-25960                           
ffc09b80:	48 00 00 0c 	b       ffc09b8c <_Heap_Walk+0x44>             
ffc09b84:	3d 20 ff c1 	lis     r9,-63                                 
ffc09b88:	39 29 9a 94 	addi    r9,r9,-25964                           
ffc09b8c:	91 21 00 18 	stw     r9,24(r1)                              
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
ffc09b90:	3d 20 00 00 	lis     r9,0                                   
    return true;                                                      
ffc09b94:	38 60 00 01 	li      r3,1                                   
  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() ) ) {                
ffc09b98:	80 09 27 74 	lwz     r0,10100(r9)                           
ffc09b9c:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc09ba0:	40 be 04 c4 	bne+    cr7,ffc0a064 <_Heap_Walk+0x51c>        
  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)(                                                         
ffc09ba4:	80 1e 00 08 	lwz     r0,8(r30)                              
ffc09ba8:	3c a0 ff c1 	lis     r5,-63                                 
ffc09bac:	81 1e 00 18 	lwz     r8,24(r30)                             
ffc09bb0:	7f e3 fb 78 	mr      r3,r31                                 
ffc09bb4:	90 01 00 0c 	stw     r0,12(r1)                              
ffc09bb8:	38 80 00 00 	li      r4,0                                   
ffc09bbc:	38 a5 70 a1 	addi    r5,r5,28833                            
ffc09bc0:	80 1e 00 0c 	lwz     r0,12(r30)                             
ffc09bc4:	7f 46 d3 78 	mr      r6,r26                                 
ffc09bc8:	81 3e 00 1c 	lwz     r9,28(r30)                             
ffc09bcc:	7f 27 cb 78 	mr      r7,r25                                 
ffc09bd0:	90 01 00 10 	stw     r0,16(r1)                              
ffc09bd4:	7f 0a c3 78 	mr      r10,r24                                
ffc09bd8:	80 01 00 18 	lwz     r0,24(r1)                              
ffc09bdc:	92 e1 00 08 	stw     r23,8(r1)                              
ffc09be0:	7c 09 03 a6 	mtctr   r0                                     
ffc09be4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09be8:	4e 80 04 21 	bctrl                                          
    heap->area_begin, heap->area_end,                                 
    first_block, last_block,                                          
    first_free_block, last_free_block                                 
  );                                                                  
                                                                      
  if ( page_size == 0 ) {                                             
ffc09bec:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc09bf0:	40 be 00 18 	bne+    cr7,ffc09c08 <_Heap_Walk+0xc0>         
    (*printer)( source, true, "page size is zero\n" );                
ffc09bf4:	3c a0 ff c1 	lis     r5,-63                                 
ffc09bf8:	7f e3 fb 78 	mr      r3,r31                                 
ffc09bfc:	38 80 00 01 	li      r4,1                                   
ffc09c00:	38 a5 71 32 	addi    r5,r5,28978                            
ffc09c04:	48 00 00 94 	b       ffc09c98 <_Heap_Walk+0x150>            
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
ffc09c08:	73 49 00 07 	andi.   r9,r26,7                               
ffc09c0c:	41 a2 00 1c 	beq+    ffc09c28 <_Heap_Walk+0xe0>             
    (*printer)(                                                       
ffc09c10:	3c a0 ff c1 	lis     r5,-63                                 
ffc09c14:	7f e3 fb 78 	mr      r3,r31                                 
ffc09c18:	38 80 00 01 	li      r4,1                                   
ffc09c1c:	38 a5 71 45 	addi    r5,r5,28997                            
ffc09c20:	7f 46 d3 78 	mr      r6,r26                                 
ffc09c24:	48 00 04 5c 	b       ffc0a080 <_Heap_Walk+0x538>            
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
ffc09c28:	7c 19 d3 96 	divwu   r0,r25,r26                             
ffc09c2c:	7c 00 d1 d6 	mullw   r0,r0,r26                              
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
ffc09c30:	7f 99 00 00 	cmpw    cr7,r25,r0                             
ffc09c34:	41 be 00 1c 	beq+    cr7,ffc09c50 <_Heap_Walk+0x108>        
    (*printer)(                                                       
ffc09c38:	3c a0 ff c1 	lis     r5,-63                                 
ffc09c3c:	7f e3 fb 78 	mr      r3,r31                                 
ffc09c40:	38 80 00 01 	li      r4,1                                   
ffc09c44:	38 a5 71 63 	addi    r5,r5,29027                            
ffc09c48:	7f 26 cb 78 	mr      r6,r25                                 
ffc09c4c:	48 00 04 34 	b       ffc0a080 <_Heap_Walk+0x538>            
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
ffc09c50:	38 18 00 08 	addi    r0,r24,8                               
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
ffc09c54:	7d 20 d3 96 	divwu   r9,r0,r26                              
ffc09c58:	7d 29 d1 d6 	mullw   r9,r9,r26                              
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
ffc09c5c:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc09c60:	41 be 00 1c 	beq+    cr7,ffc09c7c <_Heap_Walk+0x134>        
    !_Heap_Is_aligned( _Heap_Alloc_area_of_block( first_block ), page_size )
  ) {                                                                 
    (*printer)(                                                       
ffc09c64:	3c a0 ff c1 	lis     r5,-63                                 
ffc09c68:	7f e3 fb 78 	mr      r3,r31                                 
ffc09c6c:	38 80 00 01 	li      r4,1                                   
ffc09c70:	38 a5 71 87 	addi    r5,r5,29063                            
ffc09c74:	7f 06 c3 78 	mr      r6,r24                                 
ffc09c78:	48 00 04 08 	b       ffc0a080 <_Heap_Walk+0x538>            
  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;                 
ffc09c7c:	80 18 00 04 	lwz     r0,4(r24)                              
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
ffc09c80:	70 09 00 01 	andi.   r9,r0,1                                
ffc09c84:	40 a2 00 28 	bne+    ffc09cac <_Heap_Walk+0x164>            
    (*printer)(                                                       
ffc09c88:	3c a0 ff c1 	lis     r5,-63                                 
ffc09c8c:	7f e3 fb 78 	mr      r3,r31                                 
ffc09c90:	38 80 00 01 	li      r4,1                                   
ffc09c94:	38 a5 71 b8 	addi    r5,r5,29112                            
ffc09c98:	80 01 00 18 	lwz     r0,24(r1)                              
ffc09c9c:	7c 09 03 a6 	mtctr   r0                                     
ffc09ca0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09ca4:	4e 80 04 21 	bctrl                                          
ffc09ca8:	48 00 01 18 	b       ffc09dc0 <_Heap_Walk+0x278>            
    - 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;                
ffc09cac:	83 b7 00 04 	lwz     r29,4(r23)                             
ffc09cb0:	57 bd 00 3c 	rlwinm  r29,r29,0,0,30                         
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
ffc09cb4:	7f b7 ea 14 	add     r29,r23,r29                            
  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;                 
ffc09cb8:	80 1d 00 04 	lwz     r0,4(r29)                              
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
ffc09cbc:	70 09 00 01 	andi.   r9,r0,1                                
ffc09cc0:	40 a2 00 18 	bne+    ffc09cd8 <_Heap_Walk+0x190>            
    (*printer)(                                                       
ffc09cc4:	3c a0 ff c1 	lis     r5,-63                                 
ffc09cc8:	7f e3 fb 78 	mr      r3,r31                                 
ffc09ccc:	38 80 00 01 	li      r4,1                                   
ffc09cd0:	38 a5 71 e6 	addi    r5,r5,29158                            
ffc09cd4:	4b ff ff c4 	b       ffc09c98 <_Heap_Walk+0x150>            
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
ffc09cd8:	7f 9d c0 00 	cmpw    cr7,r29,r24                            
ffc09cdc:	41 9e 00 18 	beq-    cr7,ffc09cf4 <_Heap_Walk+0x1ac>        <== ALWAYS TAKEN
    _Heap_Block_at( last_block, _Heap_Block_size( last_block ) ) != first_block
  ) {                                                                 
    (*printer)(                                                       
ffc09ce0:	3c a0 ff c1 	lis     r5,-63                                 <== NOT EXECUTED
ffc09ce4:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc09ce8:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc09cec:	38 a5 71 fb 	addi    r5,r5,29179                            <== NOT EXECUTED
ffc09cf0:	4b ff ff a8 	b       ffc09c98 <_Heap_Walk+0x150>            <== NOT EXECUTED
  int source,                                                         
  Heap_Walk_printer printer,                                          
  Heap_Control *heap                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
ffc09cf4:	81 3e 00 10 	lwz     r9,16(r30)                             
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
ffc09cf8:	7f c0 f3 78 	mr      r0,r30                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
ffc09cfc:	80 de 00 08 	lwz     r6,8(r30)                              
ffc09d00:	48 00 00 d0 	b       ffc09dd0 <_Heap_Walk+0x288>            
  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;             
ffc09d04:	81 5e 00 20 	lwz     r10,32(r30)                            
ffc09d08:	39 60 00 00 	li      r11,0                                  
ffc09d0c:	7f 8a 30 40 	cmplw   cr7,r10,r6                             
ffc09d10:	41 9d 00 14 	bgt-    cr7,ffc09d24 <_Heap_Walk+0x1dc>        
ffc09d14:	81 7e 00 24 	lwz     r11,36(r30)                            
ffc09d18:	7d 66 58 10 	subfc   r11,r6,r11                             
ffc09d1c:	39 60 00 00 	li      r11,0                                  
ffc09d20:	7d 6b 59 14 	adde    r11,r11,r11                            
  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 ) ) {              
ffc09d24:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc09d28:	40 be 00 18 	bne+    cr7,ffc09d40 <_Heap_Walk+0x1f8>        
      (*printer)(                                                     
ffc09d2c:	3c a0 ff c1 	lis     r5,-63                                 
ffc09d30:	7f e3 fb 78 	mr      r3,r31                                 
ffc09d34:	38 80 00 01 	li      r4,1                                   
ffc09d38:	38 a5 72 2a 	addi    r5,r5,29226                            
ffc09d3c:	48 00 03 44 	b       ffc0a080 <_Heap_Walk+0x538>            
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
ffc09d40:	39 66 00 08 	addi    r11,r6,8                               
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
ffc09d44:	7d 4b 4b 96 	divwu   r10,r11,r9                             
ffc09d48:	7d 4a 49 d6 	mullw   r10,r10,r9                             
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
ffc09d4c:	7f 8b 50 00 	cmpw    cr7,r11,r10                            
ffc09d50:	41 be 00 18 	beq+    cr7,ffc09d68 <_Heap_Walk+0x220>        
      !_Heap_Is_aligned( _Heap_Alloc_area_of_block( free_block ), page_size )
    ) {                                                               
      (*printer)(                                                     
ffc09d54:	3c a0 ff c1 	lis     r5,-63                                 
ffc09d58:	7f e3 fb 78 	mr      r3,r31                                 
ffc09d5c:	38 80 00 01 	li      r4,1                                   
ffc09d60:	38 a5 72 4a 	addi    r5,r5,29258                            
ffc09d64:	48 00 03 1c 	b       ffc0a080 <_Heap_Walk+0x538>            
    - 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;                
ffc09d68:	81 66 00 04 	lwz     r11,4(r6)                              
ffc09d6c:	55 6b 00 3c 	rlwinm  r11,r11,0,0,30                         
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
ffc09d70:	7d 66 5a 14 	add     r11,r6,r11                             
  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;                 
ffc09d74:	81 6b 00 04 	lwz     r11,4(r11)                             
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
ffc09d78:	71 6a 00 01 	andi.   r10,r11,1                              
ffc09d7c:	41 a2 00 18 	beq+    ffc09d94 <_Heap_Walk+0x24c>            
      (*printer)(                                                     
ffc09d80:	3c a0 ff c1 	lis     r5,-63                                 
ffc09d84:	7f e3 fb 78 	mr      r3,r31                                 
ffc09d88:	38 80 00 01 	li      r4,1                                   
ffc09d8c:	38 a5 72 7a 	addi    r5,r5,29306                            
ffc09d90:	48 00 02 f0 	b       ffc0a080 <_Heap_Walk+0x538>            
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
ffc09d94:	80 e6 00 0c 	lwz     r7,12(r6)                              
ffc09d98:	7f 87 00 00 	cmpw    cr7,r7,r0                              
ffc09d9c:	41 be 00 2c 	beq+    cr7,ffc09dc8 <_Heap_Walk+0x280>        
      (*printer)(                                                     
ffc09da0:	3c a0 ff c1 	lis     r5,-63                                 
ffc09da4:	7f e3 fb 78 	mr      r3,r31                                 
ffc09da8:	38 80 00 01 	li      r4,1                                   
ffc09dac:	38 a5 72 96 	addi    r5,r5,29334                            
ffc09db0:	80 01 00 18 	lwz     r0,24(r1)                              
ffc09db4:	7c 09 03 a6 	mtctr   r0                                     
ffc09db8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09dbc:	4e 80 04 21 	bctrl                                          
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
ffc09dc0:	38 60 00 00 	li      r3,0                                   
ffc09dc4:	48 00 02 a0 	b       ffc0a064 <_Heap_Walk+0x51c>            
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    prev_block = free_block;                                          
    free_block = free_block->next;                                    
ffc09dc8:	7c c0 33 78 	mr      r0,r6                                  
ffc09dcc:	80 c6 00 08 	lwz     r6,8(r6)                               
  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 ) {                            
ffc09dd0:	7f 86 f0 00 	cmpw    cr7,r6,r30                             
ffc09dd4:	40 9e ff 30 	bne+    cr7,ffc09d04 <_Heap_Walk+0x1bc>        
ffc09dd8:	48 00 00 0c 	b       ffc09de4 <_Heap_Walk+0x29c>            
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
ffc09ddc:	7f 7d db 78 	mr      r29,r27                                
ffc09de0:	48 00 00 30 	b       ffc09e10 <_Heap_Walk+0x2c8>            
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
ffc09de4:	3e 60 ff c1 	lis     r19,-63                                
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
      }                                                               
    } else if (prev_used) {                                           
      (*printer)(                                                     
ffc09de8:	3e 80 ff c1 	lis     r20,-63                                
  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)(                                                         
ffc09dec:	3e 40 ff c1 	lis     r18,-63                                
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
ffc09df0:	3a 73 74 36 	addi    r19,r19,29750                          
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
      }                                                               
    } else if (prev_used) {                                           
      (*printer)(                                                     
ffc09df4:	3a 94 74 1f 	addi    r20,r20,29727                          
  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)(                                                         
ffc09df8:	3a 52 73 82 	addi    r18,r18,29570                          
ffc09dfc:	3e 20 ff c1 	lis     r17,-63                                
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
ffc09e00:	3e c0 ff c1 	lis     r22,-63                                
ffc09e04:	3e 00 ff c1 	lis     r16,-63                                
  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)(                                                         
ffc09e08:	3d e0 ff c1 	lis     r15,-63                                
    block,                                                            
    block_size,                                                       
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
ffc09e0c:	3d c0 ff c1 	lis     r14,-63                                
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
ffc09e10:	82 bd 00 04 	lwz     r21,4(r29)                             
  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;             
ffc09e14:	38 00 00 00 	li      r0,0                                   
ffc09e18:	81 3e 00 20 	lwz     r9,32(r30)                             
    - 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;                
ffc09e1c:	56 bc 00 3c 	rlwinm  r28,r21,0,0,30                         
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
ffc09e20:	7f 7d e2 14 	add     r27,r29,r28                            
  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;             
ffc09e24:	7f 89 d8 40 	cmplw   cr7,r9,r27                             
ffc09e28:	41 9d 00 14 	bgt-    cr7,ffc09e3c <_Heap_Walk+0x2f4>        <== NEVER TAKEN
ffc09e2c:	80 1e 00 24 	lwz     r0,36(r30)                             
ffc09e30:	7c 1b 00 10 	subfc   r0,r27,r0                              
ffc09e34:	38 00 00 00 	li      r0,0                                   
ffc09e38:	7c 00 01 14 	adde    r0,r0,r0                               
    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 ) ) {              
ffc09e3c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc09e40:	40 be 00 18 	bne+    cr7,ffc09e58 <_Heap_Walk+0x310>        
      (*printer)(                                                     
ffc09e44:	3c a0 ff c1 	lis     r5,-63                                 
ffc09e48:	7f e3 fb 78 	mr      r3,r31                                 
ffc09e4c:	38 80 00 01 	li      r4,1                                   
ffc09e50:	38 a5 72 c8 	addi    r5,r5,29384                            
ffc09e54:	48 00 00 a8 	b       ffc09efc <_Heap_Walk+0x3b4>            
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
ffc09e58:	7d 3c d3 96 	divwu   r9,r28,r26                             
ffc09e5c:	7d 29 d1 d6 	mullw   r9,r9,r26                              
    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;               
ffc09e60:	7f a0 ba 78 	xor     r0,r29,r23                             
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) && is_not_last_block ) {
ffc09e64:	7f 9c 48 00 	cmpw    cr7,r28,r9                             
    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;               
ffc09e68:	7c 00 00 34 	cntlzw  r0,r0                                  
ffc09e6c:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          
ffc09e70:	68 00 00 01 	xori    r0,r0,1                                
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) && is_not_last_block ) {
ffc09e74:	41 9e 00 28 	beq-    cr7,ffc09e9c <_Heap_Walk+0x354>        
ffc09e78:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc09e7c:	41 be 00 20 	beq+    cr7,ffc09e9c <_Heap_Walk+0x354>        
      (*printer)(                                                     
ffc09e80:	3c a0 ff c1 	lis     r5,-63                                 
ffc09e84:	7f e3 fb 78 	mr      r3,r31                                 
ffc09e88:	38 80 00 01 	li      r4,1                                   
ffc09e8c:	38 a5 72 f5 	addi    r5,r5,29429                            
ffc09e90:	7f a6 eb 78 	mr      r6,r29                                 
ffc09e94:	7f 87 e3 78 	mr      r7,r28                                 
ffc09e98:	4b ff ff 18 	b       ffc09db0 <_Heap_Walk+0x268>            
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( block_size < min_block_size && is_not_last_block ) {         
ffc09e9c:	7f 9c c8 40 	cmplw   cr7,r28,r25                            
ffc09ea0:	40 9c 00 3c 	bge-    cr7,ffc09edc <_Heap_Walk+0x394>        
ffc09ea4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc09ea8:	41 be 00 34 	beq+    cr7,ffc09edc <_Heap_Walk+0x394>        <== NEVER TAKEN
      (*printer)(                                                     
ffc09eac:	80 01 00 18 	lwz     r0,24(r1)                              
ffc09eb0:	3c a0 ff c1 	lis     r5,-63                                 
ffc09eb4:	7f e3 fb 78 	mr      r3,r31                                 
ffc09eb8:	38 80 00 01 	li      r4,1                                   
ffc09ebc:	7c 09 03 a6 	mtctr   r0                                     
ffc09ec0:	38 a5 73 23 	addi    r5,r5,29475                            
ffc09ec4:	7f a6 eb 78 	mr      r6,r29                                 
ffc09ec8:	7f 87 e3 78 	mr      r7,r28                                 
ffc09ecc:	7f 28 cb 78 	mr      r8,r25                                 
ffc09ed0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09ed4:	4e 80 04 21 	bctrl                                          
ffc09ed8:	4b ff fe e8 	b       ffc09dc0 <_Heap_Walk+0x278>            
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin && is_not_last_block ) {     
ffc09edc:	7f 9b e8 40 	cmplw   cr7,r27,r29                            
ffc09ee0:	41 9d 00 28 	bgt-    cr7,ffc09f08 <_Heap_Walk+0x3c0>        
ffc09ee4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc09ee8:	41 be 00 20 	beq+    cr7,ffc09f08 <_Heap_Walk+0x3c0>        
      (*printer)(                                                     
ffc09eec:	3c a0 ff c1 	lis     r5,-63                                 
ffc09ef0:	7f e3 fb 78 	mr      r3,r31                                 
ffc09ef4:	38 80 00 01 	li      r4,1                                   
ffc09ef8:	38 a5 73 4e 	addi    r5,r5,29518                            
ffc09efc:	7f a6 eb 78 	mr      r6,r29                                 
ffc09f00:	7f 67 db 78 	mr      r7,r27                                 
ffc09f04:	4b ff fe ac 	b       ffc09db0 <_Heap_Walk+0x268>            
  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;                 
ffc09f08:	80 1b 00 04 	lwz     r0,4(r27)                              
ffc09f0c:	56 b5 07 fe 	clrlwi  r21,r21,31                             
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
ffc09f10:	70 09 00 01 	andi.   r9,r0,1                                
ffc09f14:	40 a2 00 ec 	bne+    ffc0a000 <_Heap_Walk+0x4b8>            
    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 ?                                 
ffc09f18:	81 1d 00 0c 	lwz     r8,12(r29)                             
  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)(                                                         
ffc09f1c:	39 2f 70 6e 	addi    r9,r15,28782                           
ffc09f20:	80 1e 00 08 	lwz     r0,8(r30)                              
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
ffc09f24:	81 7e 00 0c 	lwz     r11,12(r30)                            
  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)(                                                         
ffc09f28:	7f 88 00 00 	cmpw    cr7,r8,r0                              
ffc09f2c:	41 9e 00 14 	beq-    cr7,ffc09f40 <_Heap_Walk+0x3f8>        
    block,                                                            
    block_size,                                                       
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
ffc09f30:	7f 88 f0 00 	cmpw    cr7,r8,r30                             
ffc09f34:	39 36 6f a3 	addi    r9,r22,28579                           
ffc09f38:	40 be 00 08 	bne+    cr7,ffc09f40 <_Heap_Walk+0x3f8>        
ffc09f3c:	39 2e 70 7e 	addi    r9,r14,28798                           
    block->next,                                                      
    block->next == last_free_block ?                                  
ffc09f40:	81 5d 00 08 	lwz     r10,8(r29)                             
  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)(                                                         
ffc09f44:	38 11 70 88 	addi    r0,r17,28808                           
ffc09f48:	7f 8a 58 00 	cmpw    cr7,r10,r11                            
ffc09f4c:	41 9e 00 14 	beq-    cr7,ffc09f60 <_Heap_Walk+0x418>        
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
ffc09f50:	7f 8a f0 00 	cmpw    cr7,r10,r30                            
ffc09f54:	38 16 6f a3 	addi    r0,r22,28579                           
ffc09f58:	40 be 00 08 	bne+    cr7,ffc09f60 <_Heap_Walk+0x418>        
ffc09f5c:	38 10 70 97 	addi    r0,r16,28823                           
  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)(                                                         
ffc09f60:	90 01 00 08 	stw     r0,8(r1)                               
ffc09f64:	7f e3 fb 78 	mr      r3,r31                                 
ffc09f68:	38 80 00 00 	li      r4,0                                   
ffc09f6c:	80 01 00 18 	lwz     r0,24(r1)                              
ffc09f70:	7e 45 93 78 	mr      r5,r18                                 
ffc09f74:	7f a6 eb 78 	mr      r6,r29                                 
ffc09f78:	7f 87 e3 78 	mr      r7,r28                                 
ffc09f7c:	7c 09 03 a6 	mtctr   r0                                     
ffc09f80:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09f84:	4e 80 04 21 	bctrl                                          
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
  );                                                                  
                                                                      
  if ( block_size != next_block->prev_size ) {                        
ffc09f88:	81 1b 00 00 	lwz     r8,0(r27)                              
ffc09f8c:	7f 9c 40 00 	cmpw    cr7,r28,r8                             
ffc09f90:	41 be 00 34 	beq+    cr7,ffc09fc4 <_Heap_Walk+0x47c>        
    (*printer)(                                                       
ffc09f94:	80 01 00 18 	lwz     r0,24(r1)                              
ffc09f98:	3c a0 ff c1 	lis     r5,-63                                 
ffc09f9c:	7f e3 fb 78 	mr      r3,r31                                 
ffc09fa0:	38 80 00 01 	li      r4,1                                   
ffc09fa4:	7c 09 03 a6 	mtctr   r0                                     
ffc09fa8:	38 a5 73 b7 	addi    r5,r5,29623                            
ffc09fac:	7f a6 eb 78 	mr      r6,r29                                 
ffc09fb0:	7f 87 e3 78 	mr      r7,r28                                 
ffc09fb4:	7f 69 db 78 	mr      r9,r27                                 
ffc09fb8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09fbc:	4e 80 04 21 	bctrl                                          
ffc09fc0:	4b ff fe 00 	b       ffc09dc0 <_Heap_Walk+0x278>            
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
ffc09fc4:	2f 95 00 00 	cmpwi   cr7,r21,0                              
ffc09fc8:	40 be 00 18 	bne+    cr7,ffc09fe0 <_Heap_Walk+0x498>        
    (*printer)(                                                       
ffc09fcc:	3c a0 ff c1 	lis     r5,-63                                 
ffc09fd0:	7f e3 fb 78 	mr      r3,r31                                 
ffc09fd4:	38 80 00 01 	li      r4,1                                   
ffc09fd8:	38 a5 73 f0 	addi    r5,r5,29680                            
ffc09fdc:	48 00 00 a0 	b       ffc0a07c <_Heap_Walk+0x534>            
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
ffc09fe0:	81 3e 00 08 	lwz     r9,8(r30)                              
ffc09fe4:	48 00 00 10 	b       ffc09ff4 <_Heap_Walk+0x4ac>            
{                                                                     
  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 ) {                                      
ffc09fe8:	7f 89 e8 00 	cmpw    cr7,r9,r29                             
ffc09fec:	41 9e 00 6c 	beq-    cr7,ffc0a058 <_Heap_Walk+0x510>        
      return true;                                                    
    }                                                                 
    free_block = free_block->next;                                    
ffc09ff0:	81 29 00 08 	lwz     r9,8(r9)                               
)                                                                     
{                                                                     
  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 ) {                            
ffc09ff4:	7f 89 f0 00 	cmpw    cr7,r9,r30                             
ffc09ff8:	40 9e ff f0 	bne+    cr7,ffc09fe8 <_Heap_Walk+0x4a0>        
ffc09ffc:	48 00 00 70 	b       ffc0a06c <_Heap_Walk+0x524>            
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
      }                                                               
    } else if (prev_used) {                                           
ffc0a000:	2f 95 00 00 	cmpwi   cr7,r21,0                              
ffc0a004:	41 9e 00 2c 	beq-    cr7,ffc0a030 <_Heap_Walk+0x4e8>        
      (*printer)(                                                     
ffc0a008:	80 01 00 18 	lwz     r0,24(r1)                              
ffc0a00c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a010:	38 80 00 00 	li      r4,0                                   
ffc0a014:	7e 85 a3 78 	mr      r5,r20                                 
ffc0a018:	7c 09 03 a6 	mtctr   r0                                     
ffc0a01c:	7f a6 eb 78 	mr      r6,r29                                 
ffc0a020:	7f 87 e3 78 	mr      r7,r28                                 
ffc0a024:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0a028:	4e 80 04 21 	bctrl                                          
ffc0a02c:	48 00 00 2c 	b       ffc0a058 <_Heap_Walk+0x510>            
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
ffc0a030:	80 01 00 18 	lwz     r0,24(r1)                              
ffc0a034:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a038:	38 80 00 00 	li      r4,0                                   
ffc0a03c:	81 1d 00 00 	lwz     r8,0(r29)                              
ffc0a040:	7e 65 9b 78 	mr      r5,r19                                 
ffc0a044:	7c 09 03 a6 	mtctr   r0                                     
ffc0a048:	7f a6 eb 78 	mr      r6,r29                                 
ffc0a04c:	7f 87 e3 78 	mr      r7,r28                                 
ffc0a050:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0a054:	4e 80 04 21 	bctrl                                          
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
ffc0a058:	7f 9b c0 00 	cmpw    cr7,r27,r24                            
ffc0a05c:	40 9e fd 80 	bne+    cr7,ffc09ddc <_Heap_Walk+0x294>        
                                                                      
  return true;                                                        
ffc0a060:	38 60 00 01 	li      r3,1                                   
}                                                                     
ffc0a064:	39 61 00 68 	addi    r11,r1,104                             
ffc0a068:	4b ff 6a 58 	b       ffc00ac0 <_restgpr_14_x>               
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
ffc0a06c:	3c a0 ff c1 	lis     r5,-63                                 
ffc0a070:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a074:	38 80 00 01 	li      r4,1                                   
ffc0a078:	38 a5 74 5b 	addi    r5,r5,29787                            
ffc0a07c:	7f a6 eb 78 	mr      r6,r29                                 
ffc0a080:	80 01 00 18 	lwz     r0,24(r1)                              
ffc0a084:	7c 09 03 a6 	mtctr   r0                                     
ffc0a088:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0a08c:	4e 80 04 21 	bctrl                                          
ffc0a090:	4b ff fd 30 	b       ffc09dc0 <_Heap_Walk+0x278>            
                                                                      

ffc09a98 <_Heap_Walk_print>: static void _Heap_Walk_print( int source, bool error, const char *fmt, ... ) {
ffc09a98:	7c 08 02 a6 	mflr    r0                                     
ffc09a9c:	7c 2b 0b 78 	mr      r11,r1                                 
ffc09aa0:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc09aa4:	90 01 00 7c 	stw     r0,124(r1)                             
ffc09aa8:	4b ff 70 11 	bl      ffc00ab8 <_savegpr_31>                 
ffc09aac:	7c 60 1b 78 	mr      r0,r3                                  
ffc09ab0:	90 c1 00 1c 	stw     r6,28(r1)                              
ffc09ab4:	90 e1 00 20 	stw     r7,32(r1)                              
ffc09ab8:	91 01 00 24 	stw     r8,36(r1)                              
ffc09abc:	91 21 00 28 	stw     r9,40(r1)                              
ffc09ac0:	91 41 00 2c 	stw     r10,44(r1)                             
ffc09ac4:	40 86 00 24 	bne-    cr1,ffc09ae8 <_Heap_Walk_print+0x50>   <== ALWAYS TAKEN
ffc09ac8:	d8 21 00 30 	stfd    f1,48(r1)                              <== NOT EXECUTED
ffc09acc:	d8 41 00 38 	stfd    f2,56(r1)                              <== NOT EXECUTED
ffc09ad0:	d8 61 00 40 	stfd    f3,64(r1)                              <== NOT EXECUTED
ffc09ad4:	d8 81 00 48 	stfd    f4,72(r1)                              <== NOT EXECUTED
ffc09ad8:	d8 a1 00 50 	stfd    f5,80(r1)                              <== NOT EXECUTED
ffc09adc:	d8 c1 00 58 	stfd    f6,88(r1)                              <== NOT EXECUTED
ffc09ae0:	d8 e1 00 60 	stfd    f7,96(r1)                              <== NOT EXECUTED
ffc09ae4:	d9 01 00 68 	stfd    f8,104(r1)                             <== NOT EXECUTED
  va_list ap;                                                         
                                                                      
  if ( error ) {                                                      
ffc09ae8:	2f 84 00 00 	cmpwi   cr7,r4,0                               
{                                                                     
  /* Do nothing */                                                    
}                                                                     
                                                                      
static void _Heap_Walk_print( int source, bool error, const char *fmt, ... )
{                                                                     
ffc09aec:	7c bf 2b 78 	mr      r31,r5                                 
  va_list ap;                                                         
                                                                      
  if ( error ) {                                                      
ffc09af0:	41 be 00 10 	beq+    cr7,ffc09b00 <_Heap_Walk_print+0x68>   
    printk( "FAIL[%d]: ", source );                                   
ffc09af4:	3c 60 ff c1 	lis     r3,-63                                 
ffc09af8:	38 63 70 58 	addi    r3,r3,28760                            
ffc09afc:	48 00 00 0c 	b       ffc09b08 <_Heap_Walk_print+0x70>       
  } else {                                                            
    printk( "PASS[%d]: ", source );                                   
ffc09b00:	3c 60 ff c1 	lis     r3,-63                                 
ffc09b04:	38 63 70 63 	addi    r3,r3,28771                            
ffc09b08:	7c 04 03 78 	mr      r4,r0                                  
ffc09b0c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09b10:	4b ff bf 11 	bl      ffc05a20 <printk>                      
  }                                                                   
                                                                      
  va_start( ap, fmt );                                                
ffc09b14:	38 00 00 03 	li      r0,3                                   
ffc09b18:	98 01 00 08 	stb     r0,8(r1)                               
ffc09b1c:	38 00 00 00 	li      r0,0                                   
  vprintk( fmt, ap );                                                 
ffc09b20:	7f e3 fb 78 	mr      r3,r31                                 
    printk( "FAIL[%d]: ", source );                                   
  } else {                                                            
    printk( "PASS[%d]: ", source );                                   
  }                                                                   
                                                                      
  va_start( ap, fmt );                                                
ffc09b24:	98 01 00 09 	stb     r0,9(r1)                               
ffc09b28:	38 01 00 80 	addi    r0,r1,128                              
  vprintk( fmt, ap );                                                 
ffc09b2c:	38 81 00 08 	addi    r4,r1,8                                
    printk( "FAIL[%d]: ", source );                                   
  } else {                                                            
    printk( "PASS[%d]: ", source );                                   
  }                                                                   
                                                                      
  va_start( ap, fmt );                                                
ffc09b30:	90 01 00 0c 	stw     r0,12(r1)                              
ffc09b34:	38 01 00 10 	addi    r0,r1,16                               
ffc09b38:	90 01 00 10 	stw     r0,16(r1)                              
  vprintk( fmt, ap );                                                 
ffc09b3c:	4b ff dc a9 	bl      ffc077e4 <vprintk>                     
  va_end( ap );                                                       
}                                                                     
ffc09b40:	39 61 00 78 	addi    r11,r1,120                             
ffc09b44:	4b ff 6f c0 	b       ffc00b04 <_restgpr_31_x>               
                                                                      

ffc09288 <_IO_Manager_initialization>: * workspace. * */ void _IO_Manager_initialization(void) {
ffc09288:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0928c:	7c 08 02 a6 	mflr    r0                                     
  uint32_t                    index;                                  
  rtems_driver_address_table *driver_table;                           
  uint32_t                    drivers_in_table;                       
  uint32_t                    number_of_drivers;                      
                                                                      
  driver_table      = Configuration.Device_driver_table;              
ffc09290:	3d 20 00 00 	lis     r9,0                                   
 *  workspace.                                                        
 *                                                                    
 */                                                                   
                                                                      
void _IO_Manager_initialization(void)                                 
{                                                                     
ffc09294:	90 01 00 24 	stw     r0,36(r1)                              
  uint32_t                    index;                                  
  rtems_driver_address_table *driver_table;                           
  uint32_t                    drivers_in_table;                       
  uint32_t                    number_of_drivers;                      
                                                                      
  driver_table      = Configuration.Device_driver_table;              
ffc09298:	39 29 20 88 	addi    r9,r9,8328                             
 *  workspace.                                                        
 *                                                                    
 */                                                                   
                                                                      
void _IO_Manager_initialization(void)                                 
{                                                                     
ffc0929c:	bf 41 00 08 	stmw    r26,8(r1)                              
ffc092a0:	3f a0 00 00 	lis     r29,0                                  
ffc092a4:	3f 40 00 00 	lis     r26,0                                  
  rtems_driver_address_table *driver_table;                           
  uint32_t                    drivers_in_table;                       
  uint32_t                    number_of_drivers;                      
                                                                      
  driver_table      = Configuration.Device_driver_table;              
  drivers_in_table  = Configuration.number_of_device_drivers;         
ffc092a8:	83 c9 00 30 	lwz     r30,48(r9)                             
  number_of_drivers = Configuration.maximum_drivers;                  
ffc092ac:	83 69 00 2c 	lwz     r27,44(r9)                             
  uint32_t                    index;                                  
  rtems_driver_address_table *driver_table;                           
  uint32_t                    drivers_in_table;                       
  uint32_t                    number_of_drivers;                      
                                                                      
  driver_table      = Configuration.Device_driver_table;              
ffc092b0:	83 e9 00 34 	lwz     r31,52(r9)                             
                                                                      
  /*                                                                  
   *  If the user claims there are less drivers than are actually in  
   *  the table, then let's just go with the table's count.           
   */                                                                 
  if ( number_of_drivers <= drivers_in_table )                        
ffc092b4:	7f 9b f0 40 	cmplw   cr7,r27,r30                            
ffc092b8:	40 9d 00 40 	ble-    cr7,ffc092f8 <_IO_Manager_initialization+0x70>
   *  have to allocate a new driver table and copy theirs to it.      
   */                                                                 
                                                                      
  _IO_Driver_address_table = (rtems_driver_address_table *)           
      _Workspace_Allocate_or_fatal_error(                             
        sizeof( rtems_driver_address_table ) * ( number_of_drivers )  
ffc092bc:	1f 9b 00 18 	mulli   r28,r27,24                             
   *  The application requested extra slots in the driver table, so we
   *  have to allocate a new driver table and copy theirs to it.      
   */                                                                 
                                                                      
  _IO_Driver_address_table = (rtems_driver_address_table *)           
      _Workspace_Allocate_or_fatal_error(                             
ffc092c0:	7f 83 e3 78 	mr      r3,r28                                 
ffc092c4:	48 00 33 4d 	bl      ffc0c610 <_Workspace_Allocate_or_fatal_error>
        sizeof( rtems_driver_address_table ) * ( number_of_drivers )  
      );                                                              
  _IO_Number_of_drivers = number_of_drivers;                          
                                                                      
  memset(                                                             
ffc092c8:	38 80 00 00 	li      r4,0                                   
ffc092cc:	7f 85 e3 78 	mr      r5,r28                                 
  /*                                                                  
   *  The application requested extra slots in the driver table, so we
   *  have to allocate a new driver table and copy theirs to it.      
   */                                                                 
                                                                      
  _IO_Driver_address_table = (rtems_driver_address_table *)           
ffc092d0:	90 7d 27 a0 	stw     r3,10144(r29)                          
      _Workspace_Allocate_or_fatal_error(                             
        sizeof( rtems_driver_address_table ) * ( number_of_drivers )  
      );                                                              
  _IO_Number_of_drivers = number_of_drivers;                          
ffc092d4:	93 7a 27 9c 	stw     r27,10140(r26)                         
                                                                      
  memset(                                                             
ffc092d8:	48 00 ae 25 	bl      ffc140fc <memset>                      
ffc092dc:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
ffc092e0:	39 60 00 00 	li      r11,0                                  
    _IO_Driver_address_table[index] = driver_table[index];            
ffc092e4:	7f a4 eb 78 	mr      r4,r29                                 
ffc092e8:	38 1e 00 01 	addi    r0,r30,1                               
ffc092ec:	40 be 00 30 	bne+    cr7,ffc0931c <_IO_Manager_initialization+0x94><== ALWAYS TAKEN
ffc092f0:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc092f4:	48 00 00 28 	b       ffc0931c <_IO_Manager_initialization+0x94><== NOT EXECUTED
   *  If the maximum number of driver is the same as the number in the
   *  table, then we do not have to copy the driver table.  They can't
   *  register any dynamically.                                       
   */                                                                 
  if ( number_of_drivers == drivers_in_table ) {                      
    _IO_Driver_address_table = driver_table;                          
ffc092f8:	93 fd 27 a0 	stw     r31,10144(r29)                         
    _IO_Number_of_drivers = number_of_drivers;                        
ffc092fc:	93 da 27 9c 	stw     r30,10140(r26)                         
    return;                                                           
ffc09300:	48 00 00 24 	b       ffc09324 <_IO_Manager_initialization+0x9c>
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
    _IO_Driver_address_table[index] = driver_table[index];            
ffc09304:	80 64 27 a0 	lwz     r3,10144(r4)                           
ffc09308:	7d 9f 5a 14 	add     r12,r31,r11                            
ffc0930c:	7c 63 5a 14 	add     r3,r3,r11                              
ffc09310:	7c ac c4 aa 	lswi    r5,r12,24                              
ffc09314:	7c a3 c5 aa 	stswi   r5,r3,24                               
  memset(                                                             
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
ffc09318:	39 6b 00 18 	addi    r11,r11,24                             
ffc0931c:	34 00 ff ff 	addic.  r0,r0,-1                               
ffc09320:	40 82 ff e4 	bne+    ffc09304 <_IO_Manager_initialization+0x7c>
    _IO_Driver_address_table[index] = driver_table[index];            
  number_of_drivers = drivers_in_table;                               
}                                                                     
ffc09324:	39 61 00 20 	addi    r11,r1,32                              
ffc09328:	48 00 ee 58 	b       ffc18180 <_restgpr_26_x>               
                                                                      

ffc0a13c <_Internal_error_Occurred>: void _Internal_error_Occurred( Internal_errors_Source the_source, bool is_internal, Internal_errors_t the_error ) {
ffc0a13c:	7c 2b 0b 78 	mr      r11,r1                                 
ffc0a140:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0a144:	7c 08 02 a6 	mflr    r0                                     
ffc0a148:	48 00 e0 01 	bl      ffc18148 <_savegpr_31>                 
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
ffc0a14c:	3d 60 00 00 	lis     r11,0                                  
ffc0a150:	39 2b 2c f0 	addi    r9,r11,11504                           
void _Internal_error_Occurred(                                        
  Internal_errors_Source  the_source,                                 
  bool                    is_internal,                                
  Internal_errors_t       the_error                                   
)                                                                     
{                                                                     
ffc0a154:	90 01 00 14 	stw     r0,20(r1)                              
ffc0a158:	7c bf 2b 78 	mr      r31,r5                                 
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
  _Internal_errors_What_happened.is_internal = is_internal;           
ffc0a15c:	98 89 00 04 	stb     r4,4(r9)                               
  _Internal_errors_What_happened.the_error   = the_error;             
ffc0a160:	90 a9 00 08 	stw     r5,8(r9)                               
  bool                    is_internal,                                
  Internal_errors_t       the_error                                   
)                                                                     
{                                                                     
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
ffc0a164:	90 6b 2c f0 	stw     r3,11504(r11)                          
  _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 );       
ffc0a168:	48 00 1f f9 	bl      ffc0c160 <_User_extensions_Fatal>      
                                                                      
RTEMS_INLINE_ROUTINE void _System_state_Set (                         
  System_state_Codes state                                            
)                                                                     
{                                                                     
  _System_state_Current = state;                                      
ffc0a16c:	38 00 00 05 	li      r0,5                                   
ffc0a170:	3d 20 00 00 	lis     r9,0                                   
                                                                      
  _System_state_Set( SYSTEM_STATE_FAILED );                           
                                                                      
  _CPU_Fatal_halt( the_error );                                       
ffc0a174:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a178:	90 09 27 90 	stw     r0,10128(r9)                           
ffc0a17c:	4b ff 98 49 	bl      ffc039c4 <_BSP_Fatal_error>            
ffc0a180:	48 00 00 00 	b       ffc0a180 <_Internal_error_Occurred+0x44><== NOT EXECUTED
                                                                      

ffc0a198 <_Objects_Allocate>: */ Objects_Control *_Objects_Allocate( Objects_Information *information ) {
ffc0a198:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0a19c:	7c 08 02 a6 	mflr    r0                                     
ffc0a1a0:	90 01 00 14 	stw     r0,20(r1)                              
   *  If the application is using the optional manager stubs and      
   *  still attempts to create the object, the information block      
   *  should be all zeroed out because it is in the BSS.  So let's    
   *  check that code for this manager is even present.               
   */                                                                 
  if ( information->size == 0 )                                       
ffc0a1a4:	80 03 00 18 	lwz     r0,24(r3)                              
 */                                                                   
                                                                      
Objects_Control *_Objects_Allocate(                                   
  Objects_Information *information                                    
)                                                                     
{                                                                     
ffc0a1a8:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc0a1ac:	7c 7f 1b 78 	mr      r31,r3                                 
   *  If the application is using the optional manager stubs and      
   *  still attempts to create the object, the information block      
   *  should be all zeroed out because it is in the BSS.  So let's    
   *  check that code for this manager is even present.               
   */                                                                 
  if ( information->size == 0 )                                       
ffc0a1b0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    return NULL;                                                      
ffc0a1b4:	38 60 00 00 	li      r3,0                                   
   *  If the application is using the optional manager stubs and      
   *  still attempts to create the object, the information block      
   *  should be all zeroed out because it is in the BSS.  So let's    
   *  check that code for this manager is even present.               
   */                                                                 
  if ( information->size == 0 )                                       
ffc0a1b8:	41 be 00 70 	beq+    cr7,ffc0a228 <_Objects_Allocate+0x90>  <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  OK.  The manager should be initialized and configured to have objects.
   *  With any luck, it is safe to attempt to allocate an object.     
   */                                                                 
  the_object = (Objects_Control *) _Chain_Get( &information->Inactive );
ffc0a1bc:	3b df 00 20 	addi    r30,r31,32                             
ffc0a1c0:	7f c3 f3 78 	mr      r3,r30                                 
ffc0a1c4:	4b ff f6 65 	bl      ffc09828 <_Chain_Get>                  
                                                                      
  if ( information->auto_extend ) {                                   
ffc0a1c8:	88 1f 00 12 	lbz     r0,18(r31)                             
ffc0a1cc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0a1d0:	41 9e 00 58 	beq-    cr7,ffc0a228 <_Objects_Allocate+0x90>  
    /*                                                                
     *  If the list is empty then we are out of objects and need to   
     *  extend information base.                                      
     */                                                               
                                                                      
    if ( !the_object ) {                                              
ffc0a1d4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0a1d8:	40 be 00 1c 	bne+    cr7,ffc0a1f4 <_Objects_Allocate+0x5c>  
      _Objects_Extend_information( information );                     
ffc0a1dc:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a1e0:	48 00 00 85 	bl      ffc0a264 <_Objects_Extend_information> 
      the_object =  (Objects_Control *) _Chain_Get( &information->Inactive );
ffc0a1e4:	7f c3 f3 78 	mr      r3,r30                                 
ffc0a1e8:	4b ff f6 41 	bl      ffc09828 <_Chain_Get>                  
    }                                                                 
                                                                      
    if ( the_object ) {                                               
ffc0a1ec:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0a1f0:	41 a2 00 38 	beq+    ffc0a228 <_Objects_Allocate+0x90>      
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
ffc0a1f4:	a1 23 00 0a 	lhz     r9,10(r3)                              
ffc0a1f8:	a0 1f 00 0a 	lhz     r0,10(r31)                             
ffc0a1fc:	7c 00 48 50 	subf    r0,r0,r9                               
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
ffc0a200:	a1 3f 00 14 	lhz     r9,20(r31)                             
ffc0a204:	7c 00 4b 96 	divwu   r0,r0,r9                               
                                                                      
      information->inactive_per_block[ block ]--;                     
ffc0a208:	81 3f 00 30 	lwz     r9,48(r31)                             
ffc0a20c:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc0a210:	7d 69 00 2e 	lwzx    r11,r9,r0                              
ffc0a214:	39 6b ff ff 	addi    r11,r11,-1                             
ffc0a218:	7d 69 01 2e 	stwx    r11,r9,r0                              
      information->inactive--;                                        
ffc0a21c:	a1 3f 00 2c 	lhz     r9,44(r31)                             
ffc0a220:	38 09 ff ff 	addi    r0,r9,-1                               
ffc0a224:	b0 1f 00 2c 	sth     r0,44(r31)                             
    );                                                                
  }                                                                   
#endif                                                                
                                                                      
  return the_object;                                                  
}                                                                     
ffc0a228:	39 61 00 10 	addi    r11,r1,16                              
ffc0a22c:	48 00 df 64 	b       ffc18190 <_restgpr_30_x>               
                                                                      

ffc0a264 <_Objects_Extend_information>: */ void _Objects_Extend_information( Objects_Information *information ) {
ffc0a264:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc0a268:	7c 08 02 a6 	mflr    r0                                     
ffc0a26c:	90 01 00 4c 	stw     r0,76(r1)                              
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
ffc0a270:	81 63 00 34 	lwz     r11,52(r3)                             
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
ffc0a274:	be a1 00 1c 	stmw    r21,28(r1)                             
ffc0a278:	7c 7f 1b 78 	mr      r31,r3                                 
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
ffc0a27c:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
  minimum_index = _Objects_Get_index( information->minimum_id );      
ffc0a280:	a3 83 00 0a 	lhz     r28,10(r3)                             
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
ffc0a284:	41 9e 00 54 	beq-    cr7,ffc0a2d8 <_Objects_Extend_information+0x74>
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
ffc0a288:	a1 23 00 14 	lhz     r9,20(r3)                              
 *    information     - object information table                      
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
ffc0a28c:	39 6b ff fc 	addi    r11,r11,-4                             
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
ffc0a290:	a3 63 00 10 	lhz     r27,16(r3)                             
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
  minimum_index = _Objects_Get_index( information->minimum_id );      
ffc0a294:	7f 9e e3 78 	mr      r30,r28                                
  index_base    = minimum_index;                                      
  block         = 0;                                                  
ffc0a298:	3b a0 00 00 	li      r29,0                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
ffc0a29c:	7f 7b 4b 96 	divwu   r27,r27,r9                             
ffc0a2a0:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
ffc0a2a4:	38 1b 00 01 	addi    r0,r27,1                               
ffc0a2a8:	40 be 00 20 	bne+    cr7,ffc0a2c8 <_Objects_Extend_information+0x64><== ALWAYS TAKEN
ffc0a2ac:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc0a2b0:	48 00 00 18 	b       ffc0a2c8 <_Objects_Extend_information+0x64><== NOT EXECUTED
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
      if ( information->object_blocks[ block ] == NULL ) {            
ffc0a2b4:	85 4b 00 04 	lwzu    r10,4(r11)                             
ffc0a2b8:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0a2bc:	41 9e 00 30 	beq-    cr7,ffc0a2ec <_Objects_Extend_information+0x88>
ffc0a2c0:	7f de 4a 14 	add     r30,r30,r9                             
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
ffc0a2c4:	3b bd 00 01 	addi    r29,r29,1                              
ffc0a2c8:	34 00 ff ff 	addic.  r0,r0,-1                               
ffc0a2cc:	40 82 ff e8 	bne+    ffc0a2b4 <_Objects_Extend_information+0x50>
                                                                      
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
ffc0a2d0:	3b 20 00 01 	li      r25,1                                  
ffc0a2d4:	48 00 00 1c 	b       ffc0a2f0 <_Objects_Extend_information+0x8c>
  minimum_index = _Objects_Get_index( information->minimum_id );      
ffc0a2d8:	7f 9e e3 78 	mr      r30,r28                                
                                                                      
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
ffc0a2dc:	3b 20 00 01 	li      r25,1                                  
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
ffc0a2e0:	3b a0 00 00 	li      r29,0                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
ffc0a2e4:	3b 60 00 00 	li      r27,0                                  
ffc0a2e8:	48 00 00 08 	b       ffc0a2f0 <_Objects_Extend_information+0x8c>
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
      if ( information->object_blocks[ block ] == NULL ) {            
        do_extend = false;                                            
ffc0a2ec:	3b 20 00 00 	li      r25,0                                  
      } else                                                          
        index_base += information->allocation_size;                   
    }                                                                 
  }                                                                   
                                                                      
  maximum = (uint32_t) information->maximum + information->allocation_size;
ffc0a2f0:	a0 1f 00 14 	lhz     r0,20(r31)                             
ffc0a2f4:	a2 ff 00 10 	lhz     r23,16(r31)                            
ffc0a2f8:	7e e0 ba 14 	add     r23,r0,r23                             
  /*                                                                  
   *  We need to limit the number of objects to the maximum number    
   *  representable in the index portion of the object Id.  In the    
   *  case of 16-bit Ids, this is only 256 object instances.          
   */                                                                 
  if ( maximum > OBJECTS_ID_FINAL_INDEX ) {                           
ffc0a2fc:	2b 97 ff ff 	cmplwi  cr7,r23,65535                          
ffc0a300:	41 9d 02 08 	bgt-    cr7,ffc0a508 <_Objects_Extend_information+0x2a4>
                                                                      
  /*                                                                  
   * Allocate the name table, and the objects and if it fails either return or
   * generate a fatal error depending on auto-extending being active. 
   */                                                                 
  block_size = information->allocation_size * information->size;      
ffc0a304:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc0a308:	7c 60 19 d6 	mullw   r3,r0,r3                               
  if ( information->auto_extend ) {                                   
ffc0a30c:	88 1f 00 12 	lbz     r0,18(r31)                             
ffc0a310:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0a314:	41 9e 00 14 	beq-    cr7,ffc0a328 <_Objects_Extend_information+0xc4>
    new_object_block = _Workspace_Allocate( block_size );             
ffc0a318:	48 00 22 99 	bl      ffc0c5b0 <_Workspace_Allocate>         
    if ( !new_object_block )                                          
ffc0a31c:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc0a320:	40 a2 00 10 	bne+    ffc0a330 <_Objects_Extend_information+0xcc>
ffc0a324:	48 00 01 e4 	b       ffc0a508 <_Objects_Extend_information+0x2a4>
      return;                                                         
  } else {                                                            
    new_object_block = _Workspace_Allocate_or_fatal_error( block_size );
ffc0a328:	48 00 22 e9 	bl      ffc0c610 <_Workspace_Allocate_or_fatal_error>
ffc0a32c:	7c 7a 1b 78 	mr      r26,r3                                 
  }                                                                   
                                                                      
  /*                                                                  
   *  Do we need to grow the tables?                                  
   */                                                                 
  if ( do_extend ) {                                                  
ffc0a330:	2f 99 00 00 	cmpwi   cr7,r25,0                              
ffc0a334:	41 9e 01 54 	beq-    cr7,ffc0a488 <_Objects_Extend_information+0x224>
     */                                                               
                                                                      
    /*                                                                
     *  Up the block count and maximum                                
     */                                                               
    block_count++;                                                    
ffc0a338:	3b 3b 00 01 	addi    r25,r27,1                              
                                                                      
    /*                                                                
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
ffc0a33c:	1c 19 00 03 	mulli   r0,r25,3                               
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
ffc0a340:	7c 77 e2 14 	add     r3,r23,r28                             
                                                                      
    /*                                                                
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
ffc0a344:	7c 63 02 14 	add     r3,r3,r0                               
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
    object_blocks = (void**) _Workspace_Allocate( block_size );       
ffc0a348:	54 63 10 3a 	rlwinm  r3,r3,2,0,29                           
ffc0a34c:	48 00 22 65 	bl      ffc0c5b0 <_Workspace_Allocate>         
                                                                      
    if ( !object_blocks ) {                                           
ffc0a350:	7c 76 1b 79 	mr.     r22,r3                                 
ffc0a354:	40 a2 00 10 	bne+    ffc0a364 <_Objects_Extend_information+0x100>
      _Workspace_Free( new_object_block );                            
ffc0a358:	7f 43 d3 78 	mr      r3,r26                                 
ffc0a35c:	48 00 22 89 	bl      ffc0c5e4 <_Workspace_Free>             
      return;                                                         
ffc0a360:	48 00 01 a8 	b       ffc0a508 <_Objects_Extend_information+0x2a4>
     *  Take the block count down. Saves all the (block_count - 1)    
     *  in the copies.                                                
     */                                                               
    block_count--;                                                    
                                                                      
    if ( information->maximum > minimum_index ) {                     
ffc0a364:	a0 1f 00 10 	lhz     r0,16(r31)                             
    }                                                                 
                                                                      
    /*                                                                
     *  Break the block into the various sections.                    
     */                                                               
    inactive_per_block = (uint32_t *) _Addresses_Add_offset(          
ffc0a368:	57 39 10 3a 	rlwinm  r25,r25,2,0,29                         
RTEMS_INLINE_ROUTINE void *_Addresses_Add_offset (                    
  const void *base,                                                   
  uintptr_t   offset                                                  
)                                                                     
{                                                                     
  return (void *)((uintptr_t)base + offset);                          
ffc0a36c:	7f 16 ca 14 	add     r24,r22,r25                            
     *  Take the block count down. Saves all the (block_count - 1)    
     *  in the copies.                                                
     */                                                               
    block_count--;                                                    
                                                                      
    if ( information->maximum > minimum_index ) {                     
ffc0a370:	7f 80 e0 40 	cmplw   cr7,r0,r28                             
ffc0a374:	7f 38 ca 14 	add     r25,r24,r25                            
ffc0a378:	41 9d 00 20 	bgt-    cr7,ffc0a398 <_Objects_Extend_information+0x134>
ffc0a37c:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc0a380:	39 39 ff fc 	addi    r9,r25,-4                              
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
        local_table[ index ] = NULL;                                  
ffc0a384:	39 60 00 00 	li      r11,0                                  
ffc0a388:	38 1c 00 01 	addi    r0,r28,1                               
ffc0a38c:	40 be 00 4c 	bne+    cr7,ffc0a3d8 <_Objects_Extend_information+0x174><== ALWAYS TAKEN
ffc0a390:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc0a394:	48 00 00 44 	b       ffc0a3d8 <_Objects_Extend_information+0x174><== NOT EXECUTED
       *  separate parts as size of each block has changed.           
       */                                                             
                                                                      
      memcpy( object_blocks,                                          
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
ffc0a398:	57 75 10 3a 	rlwinm  r21,r27,2,0,29                         
      /*                                                              
       *  Copy each section of the table over. This has to be performed as
       *  separate parts as size of each block has changed.           
       */                                                             
                                                                      
      memcpy( object_blocks,                                          
ffc0a39c:	80 9f 00 34 	lwz     r4,52(r31)                             
ffc0a3a0:	7e a5 ab 78 	mr      r5,r21                                 
ffc0a3a4:	48 00 9c 79 	bl      ffc1401c <memcpy>                      
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
ffc0a3a8:	80 9f 00 30 	lwz     r4,48(r31)                             
ffc0a3ac:	7e a5 ab 78 	mr      r5,r21                                 
ffc0a3b0:	7f 03 c3 78 	mr      r3,r24                                 
ffc0a3b4:	48 00 9c 69 	bl      ffc1401c <memcpy>                      
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
              information->local_table,                               
              (information->maximum + minimum_index) * sizeof(Objects_Control *) );
ffc0a3b8:	a0 1f 00 10 	lhz     r0,16(r31)                             
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
ffc0a3bc:	80 9f 00 1c 	lwz     r4,28(r31)                             
ffc0a3c0:	7f 23 cb 78 	mr      r3,r25                                 
              information->local_table,                               
              (information->maximum + minimum_index) * sizeof(Objects_Control *) );
ffc0a3c4:	7f 9c 02 14 	add     r28,r28,r0                             
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
ffc0a3c8:	57 85 10 3a 	rlwinm  r5,r28,2,0,29                          
ffc0a3cc:	48 00 9c 51 	bl      ffc1401c <memcpy>                      
ffc0a3d0:	48 00 00 10 	b       ffc0a3e0 <_Objects_Extend_information+0x17c>
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
        local_table[ index ] = NULL;                                  
ffc0a3d4:	95 69 00 04 	stwu    r11,4(r9)                              
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
ffc0a3d8:	34 00 ff ff 	addic.  r0,r0,-1                               
ffc0a3dc:	40 82 ff f8 	bne+    ffc0a3d4 <_Objects_Extend_information+0x170>
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
ffc0a3e0:	a1 5f 00 14 	lhz     r10,20(r31)                            
 *    information     - object information table                      
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
ffc0a3e4:	57 c9 10 3a 	rlwinm  r9,r30,2,0,29                          
    }                                                                 
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
ffc0a3e8:	38 00 00 00 	li      r0,0                                   
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
ffc0a3ec:	7d 7e 52 14 	add     r11,r30,r10                            
ffc0a3f0:	7f 9e 58 40 	cmplw   cr7,r30,r11                            
    }                                                                 
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
ffc0a3f4:	57 7b 10 3a 	rlwinm  r27,r27,2,0,29                         
 *    information     - object information table                      
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
ffc0a3f8:	39 29 ff fc 	addi    r9,r9,-4                               
    }                                                                 
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
ffc0a3fc:	7c 16 d9 2e 	stwx    r0,r22,r27                             
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
ffc0a400:	7d 29 ca 14 	add     r9,r9,r25                              
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
ffc0a404:	7c 18 d9 2e 	stwx    r0,r24,r27                             
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
ffc0a408:	39 00 00 00 	li      r8,0                                   
ffc0a40c:	38 0a 00 01 	addi    r0,r10,1                               
ffc0a410:	41 9d 00 0c 	bgt-    cr7,ffc0a41c <_Objects_Extend_information+0x1b8><== NEVER TAKEN
ffc0a414:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc0a418:	40 be 00 10 	bne+    cr7,ffc0a428 <_Objects_Extend_information+0x1c4><== ALWAYS TAKEN
ffc0a41c:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc0a420:	48 00 00 08 	b       ffc0a428 <_Objects_Extend_information+0x1c4><== NOT EXECUTED
ffc0a424:	95 09 00 04 	stwu    r8,4(r9)                               
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
ffc0a428:	34 00 ff ff 	addic.  r0,r0,-1                               
ffc0a42c:	40 82 ff f8 	bne+    ffc0a424 <_Objects_Extend_information+0x1c0>
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc0a430:	7c 00 00 a6 	mfmsr   r0                                     
ffc0a434:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0a438:	7c 09 48 78 	andc    r9,r0,r9                               
ffc0a43c:	7d 20 01 24 	mtmsr   r9                                     
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
ffc0a440:	81 3f 00 00 	lwz     r9,0(r31)                              
    old_tables = information->object_blocks;                          
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
    information->maximum = (Objects_Maximum) maximum;                 
ffc0a444:	56 f7 04 3e 	clrlwi  r23,r23,16                             
    information->maximum_id = _Objects_Build_id(                      
ffc0a448:	a1 7f 00 04 	lhz     r11,4(r31)                             
ffc0a44c:	55 29 c0 0e 	rlwinm  r9,r9,24,0,7                           
    old_tables = information->object_blocks;                          
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
    information->maximum = (Objects_Maximum) maximum;                 
ffc0a450:	b2 ff 00 10 	sth     r23,16(r31)                            
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
ffc0a454:	55 6b d8 08 	rlwinm  r11,r11,27,0,4                         
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
ffc0a458:	65 29 00 01 	oris    r9,r9,1                                
      local_table[ index ] = NULL;                                    
    }                                                                 
                                                                      
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
ffc0a45c:	80 7f 00 34 	lwz     r3,52(r31)                             
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
ffc0a460:	7d 29 5b 78 	or      r9,r9,r11                              
                                                                      
    information->object_blocks = object_blocks;                       
ffc0a464:	92 df 00 34 	stw     r22,52(r31)                            
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
ffc0a468:	7d 37 bb 78 	or      r23,r9,r23                             
    information->inactive_per_block = inactive_per_block;             
ffc0a46c:	93 1f 00 30 	stw     r24,48(r31)                            
    information->local_table = local_table;                           
ffc0a470:	93 3f 00 1c 	stw     r25,28(r31)                            
    information->maximum = (Objects_Maximum) maximum;                 
    information->maximum_id = _Objects_Build_id(                      
ffc0a474:	92 ff 00 0c 	stw     r23,12(r31)                            
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc0a478:	7c 00 01 24 	mtmsr   r0                                     
        information->maximum                                          
      );                                                              
                                                                      
    _ISR_Enable( level );                                             
                                                                      
    if ( old_tables )                                                 
ffc0a47c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0a480:	41 9e 00 08 	beq-    cr7,ffc0a488 <_Objects_Extend_information+0x224>
      _Workspace_Free( old_tables );                                  
ffc0a484:	48 00 21 61 	bl      ffc0c5e4 <_Workspace_Free>             
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
ffc0a488:	81 3f 00 34 	lwz     r9,52(r31)                             
ffc0a48c:	57 bd 10 3a 	rlwinm  r29,r29,2,0,29                         
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
ffc0a490:	3b 81 00 08 	addi    r28,r1,8                               
ffc0a494:	a0 bf 00 14 	lhz     r5,20(r31)                             
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
ffc0a498:	7f 49 e9 2e 	stwx    r26,r9,r29                             
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
ffc0a49c:	7f 83 e3 78 	mr      r3,r28                                 
ffc0a4a0:	7f 44 d3 78 	mr      r4,r26                                 
ffc0a4a4:	80 df 00 18 	lwz     r6,24(r31)                             
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
ffc0a4a8:	3b 7f 00 20 	addi    r27,r31,32                             
  information->object_blocks[ block ] = new_object_block;             
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
ffc0a4ac:	48 00 6d 45 	bl      ffc111f0 <_Chain_Initialize>           
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
ffc0a4b0:	48 00 00 30 	b       ffc0a4e0 <_Objects_Extend_information+0x27c>
ffc0a4b4:	81 3f 00 00 	lwz     r9,0(r31)                              
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
ffc0a4b8:	7f 63 db 78 	mr      r3,r27                                 
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
                                                                      
    the_object->id = _Objects_Build_id(                               
ffc0a4bc:	a0 1f 00 04 	lhz     r0,4(r31)                              
ffc0a4c0:	55 29 c0 0e 	rlwinm  r9,r9,24,0,7                           
ffc0a4c4:	65 29 00 01 	oris    r9,r9,1                                
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
ffc0a4c8:	54 00 d8 08 	rlwinm  r0,r0,27,0,4                           
ffc0a4cc:	7d 20 03 78 	or      r0,r9,r0                               
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
ffc0a4d0:	7c 00 f3 78 	or      r0,r0,r30                              
ffc0a4d4:	90 04 00 08 	stw     r0,8(r4)                               
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
ffc0a4d8:	3b de 00 01 	addi    r30,r30,1                              
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
ffc0a4dc:	4b ff f2 f5 	bl      ffc097d0 <_Chain_Append>               
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
ffc0a4e0:	7f 83 e3 78 	mr      r3,r28                                 
ffc0a4e4:	4b ff f3 45 	bl      ffc09828 <_Chain_Get>                  
ffc0a4e8:	7c 64 1b 79 	mr.     r4,r3                                  
ffc0a4ec:	40 82 ff c8 	bne+    ffc0a4b4 <_Objects_Extend_information+0x250>
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
ffc0a4f0:	a0 1f 00 14 	lhz     r0,20(r31)                             
ffc0a4f4:	81 3f 00 30 	lwz     r9,48(r31)                             
ffc0a4f8:	7c 09 e9 2e 	stwx    r0,r9,r29                              
  information->inactive =                                             
    (Objects_Maximum)(information->inactive + information->allocation_size);
ffc0a4fc:	a1 3f 00 2c 	lhz     r9,44(r31)                             
ffc0a500:	7c 00 4a 14 	add     r0,r0,r9                               
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
  information->inactive =                                             
ffc0a504:	b0 1f 00 2c 	sth     r0,44(r31)                             
    (Objects_Maximum)(information->inactive + information->allocation_size);
}                                                                     
ffc0a508:	39 61 00 48 	addi    r11,r1,72                              
ffc0a50c:	48 00 dc 60 	b       ffc1816c <_restgpr_21_x>               
                                                                      

ffc0a5c4 <_Objects_Get_information>: Objects_Information *_Objects_Get_information( Objects_APIs the_api, uint16_t the_class ) {
ffc0a5c4:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0a5c8:	7c 08 02 a6 	mflr    r0                                     
ffc0a5cc:	bf a1 00 0c 	stmw    r29,12(r1)                             
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
ffc0a5d0:	7c 9d 23 79 	mr.     r29,r4                                 
                                                                      
Objects_Information *_Objects_Get_information(                        
  Objects_APIs   the_api,                                             
  uint16_t       the_class                                            
)                                                                     
{                                                                     
ffc0a5d4:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0a5d8:	90 01 00 1c 	stw     r0,28(r1)                              
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
    return NULL;                                                      
ffc0a5dc:	3b e0 00 00 	li      r31,0                                  
)                                                                     
{                                                                     
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
ffc0a5e0:	41 a2 00 50 	beq+    ffc0a630 <_Objects_Get_information+0x6c>
                                                                      
  /*                                                                  
   *  This call implicitly validates the_api so we do not call        
   *  _Objects_Is_api_valid above here.                               
   */                                                                 
  the_class_api_maximum = _Objects_API_maximum_class( the_api );      
ffc0a5e4:	48 00 73 61 	bl      ffc11944 <_Objects_API_maximum_class>  
  if ( the_class_api_maximum == 0 )                                   
ffc0a5e8:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0a5ec:	41 a2 00 44 	beq+    ffc0a630 <_Objects_Get_information+0x6c>
    return NULL;                                                      
                                                                      
  if ( the_class > (uint32_t) the_class_api_maximum )                 
ffc0a5f0:	7f 9d 18 40 	cmplw   cr7,r29,r3                             
ffc0a5f4:	41 bd 00 3c 	bgt+    cr7,ffc0a630 <_Objects_Get_information+0x6c>
    return NULL;                                                      
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
ffc0a5f8:	3d 20 00 00 	lis     r9,0                                   
ffc0a5fc:	57 de 10 3a 	rlwinm  r30,r30,2,0,29                         
ffc0a600:	39 29 2c 00 	addi    r9,r9,11264                            
ffc0a604:	7d 29 f0 2e 	lwzx    r9,r9,r30                              
ffc0a608:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0a60c:	41 be 00 24 	beq+    cr7,ffc0a630 <_Objects_Get_information+0x6c><== NEVER TAKEN
    return NULL;                                                      
                                                                      
  info = _Objects_Information_table[ the_api ][ the_class ];          
ffc0a610:	57 bd 10 3a 	rlwinm  r29,r29,2,0,29                         
ffc0a614:	7f e9 e8 2e 	lwzx    r31,r9,r29                             
  if ( !info )                                                        
ffc0a618:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0a61c:	41 be 00 14 	beq+    cr7,ffc0a630 <_Objects_Get_information+0x6c><== NEVER TAKEN
   *  In a multprocessing configuration, we may access remote objects.
   *  Thus we may have 0 local instances and still have a valid object
   *  pointer.                                                        
   */                                                                 
  #if !defined(RTEMS_MULTIPROCESSING)                                 
    if ( info->maximum == 0 )                                         
ffc0a620:	a0 1f 00 10 	lhz     r0,16(r31)                             
ffc0a624:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0a628:	40 be 00 08 	bne+    cr7,ffc0a630 <_Objects_Get_information+0x6c>
      return NULL;                                                    
ffc0a62c:	3b e0 00 00 	li      r31,0                                  
  #endif                                                              
                                                                      
  return info;                                                        
}                                                                     
ffc0a630:	39 61 00 18 	addi    r11,r1,24                              
ffc0a634:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a638:	48 00 db 54 	b       ffc1818c <_restgpr_29_x>               
                                                                      

ffc1b980 <_Objects_Get_no_protection>: /* * You can't just extract the index portion or you can get tricked * by a value between 1 and maximum. */ index = id - information->minimum_id + 1;
ffc1b980:	80 03 00 08 	lwz     r0,8(r3)                               
                                                                      
  if ( information->maximum >= index ) {                              
ffc1b984:	a1 23 00 10 	lhz     r9,16(r3)                              
                                                                      
  /*                                                                  
   * You can't just extract the index portion or you can get tricked  
   * by a value between 1 and maximum.                                
   */                                                                 
  index = id - information->minimum_id + 1;                           
ffc1b988:	20 00 00 01 	subfic  r0,r0,1                                
ffc1b98c:	7c 00 22 14 	add     r0,r0,r4                               
                                                                      
  if ( information->maximum >= index ) {                              
ffc1b990:	7f 89 00 40 	cmplw   cr7,r9,r0                              
ffc1b994:	41 9c 00 24 	blt-    cr7,ffc1b9b8 <_Objects_Get_no_protection+0x38>
    if ( (the_object = information->local_table[ index ]) != NULL ) { 
ffc1b998:	81 23 00 1c 	lwz     r9,28(r3)                              
ffc1b99c:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc1b9a0:	7c 69 00 2e 	lwzx    r3,r9,r0                               
ffc1b9a4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1b9a8:	41 9e 00 10 	beq-    cr7,ffc1b9b8 <_Objects_Get_no_protection+0x38><== NEVER TAKEN
      *location = OBJECTS_LOCAL;                                      
ffc1b9ac:	38 00 00 00 	li      r0,0                                   
ffc1b9b0:	90 05 00 00 	stw     r0,0(r5)                               
      return the_object;                                              
ffc1b9b4:	4e 80 00 20 	blr                                            
                                                                      
  /*                                                                  
   *  This isn't supported or required yet for Global objects so      
   *  if it isn't local, we don't find it.                            
   */                                                                 
  *location = OBJECTS_ERROR;                                          
ffc1b9b8:	38 00 00 01 	li      r0,1                                   
ffc1b9bc:	90 05 00 00 	stw     r0,0(r5)                               
  return NULL;                                                        
ffc1b9c0:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc1b9c4:	4e 80 00 20 	blr                                            
                                                                      

ffc0ad64 <_Objects_Id_to_name>: */ Objects_Name_or_id_lookup_errors _Objects_Id_to_name ( Objects_Id id, Objects_Name *name ) {
ffc0ad64:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0ad68:	7c 08 02 a6 	mflr    r0                                     
ffc0ad6c:	bf c1 00 18 	stmw    r30,24(r1)                             
ffc0ad70:	7c 9e 23 78 	mr      r30,r4                                 
                                                                      
  /*                                                                  
   *  Caller is trusted for name != NULL.                             
   */                                                                 
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
ffc0ad74:	7c 64 1b 79 	mr.     r4,r3                                  
 */                                                                   
Objects_Name_or_id_lookup_errors _Objects_Id_to_name (                
  Objects_Id      id,                                                 
  Objects_Name   *name                                                
)                                                                     
{                                                                     
ffc0ad78:	90 01 00 24 	stw     r0,36(r1)                              
                                                                      
  /*                                                                  
   *  Caller is trusted for name != NULL.                             
   */                                                                 
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
ffc0ad7c:	40 82 00 10 	bne-    ffc0ad8c <_Objects_Id_to_name+0x28>    
ffc0ad80:	3d 20 00 00 	lis     r9,0                                   
ffc0ad84:	81 29 2d f0 	lwz     r9,11760(r9)                           
ffc0ad88:	80 89 00 08 	lwz     r4,8(r9)                               
 */                                                                   
RTEMS_INLINE_ROUTINE Objects_APIs _Objects_Get_API(                   
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (Objects_APIs) ((id >> OBJECTS_API_START_BIT) & OBJECTS_API_VALID_BITS);
ffc0ad8c:	54 89 47 7e 	rlwinm  r9,r4,8,29,31                          
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Objects_Is_api_valid(                      
  uint32_t   the_api                                                  
)                                                                     
{                                                                     
  if ( !the_api || the_api > OBJECTS_APIS_LAST )                      
ffc0ad90:	38 09 ff ff 	addi    r0,r9,-1                               
ffc0ad94:	2b 80 00 02 	cmplwi  cr7,r0,2                               
                                                                      
  the_api = _Objects_Get_API( tmpId );                                
  if ( !_Objects_Is_api_valid( the_api ) )                            
    return OBJECTS_INVALID_ID;                                        
ffc0ad98:	3b e0 00 03 	li      r31,3                                  
ffc0ad9c:	41 9d 00 38 	bgt-    cr7,ffc0add4 <_Objects_Id_to_name+0x70>
ffc0ada0:	48 00 00 40 	b       ffc0ade0 <_Objects_Id_to_name+0x7c>    
  if ( !_Objects_Information_table[ the_api ] )                       
    return OBJECTS_INVALID_ID;                                        
                                                                      
  the_class = _Objects_Get_class( tmpId );                            
                                                                      
  information = _Objects_Information_table[ the_api ][ the_class ];   
ffc0ada4:	54 80 3e 7a 	rlwinm  r0,r4,7,25,29                          
ffc0ada8:	7c 69 00 2e 	lwzx    r3,r9,r0                               
  if ( !information )                                                 
ffc0adac:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0adb0:	41 9e 00 24 	beq-    cr7,ffc0add4 <_Objects_Id_to_name+0x70><== NEVER TAKEN
  #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                 
    if ( information->is_string )                                     
      return OBJECTS_INVALID_ID;                                      
  #endif                                                              
                                                                      
  the_object = _Objects_Get( information, tmpId, &ignored_location ); 
ffc0adb4:	38 a1 00 08 	addi    r5,r1,8                                
ffc0adb8:	4b ff ff 31 	bl      ffc0ace8 <_Objects_Get>                
  if ( !the_object )                                                  
ffc0adbc:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0adc0:	41 82 00 14 	beq-    ffc0add4 <_Objects_Id_to_name+0x70>    
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
ffc0adc4:	80 03 00 0c 	lwz     r0,12(r3)                              
  _Thread_Enable_dispatch();                                          
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
ffc0adc8:	3b e0 00 00 	li      r31,0                                  
                                                                      
  the_object = _Objects_Get( information, tmpId, &ignored_location ); 
  if ( !the_object )                                                  
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
ffc0adcc:	90 1e 00 00 	stw     r0,0(r30)                              
  _Thread_Enable_dispatch();                                          
ffc0add0:	48 00 09 41 	bl      ffc0b710 <_Thread_Enable_dispatch>     
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
}                                                                     
ffc0add4:	39 61 00 20 	addi    r11,r1,32                              
ffc0add8:	7f e3 fb 78 	mr      r3,r31                                 
ffc0addc:	4b ff 68 bc 	b       ffc01698 <_restgpr_30_x>               
                                                                      
  the_api = _Objects_Get_API( tmpId );                                
  if ( !_Objects_Is_api_valid( the_api ) )                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
ffc0ade0:	3d 60 00 00 	lis     r11,0                                  
ffc0ade4:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           
ffc0ade8:	39 6b 2b c0 	addi    r11,r11,11200                          
ffc0adec:	7d 2b 48 2e 	lwzx    r9,r11,r9                              
ffc0adf0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0adf4:	40 9e ff b0 	bne+    cr7,ffc0ada4 <_Objects_Id_to_name+0x40>
ffc0adf8:	4b ff ff dc 	b       ffc0add4 <_Objects_Id_to_name+0x70>    
                                                                      

ffc0a728 <_Objects_Initialize_information>: , bool supports_global, Objects_Thread_queue_Extract_callout extract #endif ) {
ffc0a728:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0a72c:	7c 08 02 a6 	mflr    r0                                     
  information->maximum = 0;                                           
                                                                      
  /*                                                                  
   *  Register this Object Class in the Object Information Table.     
   */                                                                 
  _Objects_Information_table[ the_api ][ the_class ] = information;   
ffc0a730:	3d 60 00 00 	lis     r11,0                                  
  ,                                                                   
  bool                 supports_global,                               
  Objects_Thread_queue_Extract_callout extract                        
#endif                                                                
)                                                                     
{                                                                     
ffc0a734:	90 01 00 0c 	stw     r0,12(r1)                              
  #endif                                                              
                                                                      
  information->the_api            = the_api;                          
  information->the_class          = the_class;                        
  information->size               = size;                             
  information->local_table        = 0;                                
ffc0a738:	38 00 00 00 	li      r0,0                                   
  information->maximum = 0;                                           
                                                                      
  /*                                                                  
   *  Register this Object Class in the Object Information Table.     
   */                                                                 
  _Objects_Information_table[ the_api ][ the_class ] = information;   
ffc0a73c:	39 6b 2c 00 	addi    r11,r11,11264                          
  #endif                                                              
                                                                      
  information->the_api            = the_api;                          
  information->the_class          = the_class;                        
  information->size               = size;                             
  information->local_table        = 0;                                
ffc0a740:	90 03 00 1c 	stw     r0,28(r3)                              
  information->inactive_per_block = 0;                                
ffc0a744:	90 03 00 30 	stw     r0,48(r3)                              
  information->object_blocks      = 0;                                
ffc0a748:	90 03 00 34 	stw     r0,52(r3)                              
  information->inactive           = 0;                                
ffc0a74c:	b0 03 00 2c 	sth     r0,44(r3)                              
                                                                      
  /*                                                                  
   *  Set the maximum value to 0. It will be updated when objects are 
   *  added to the inactive set from _Objects_Extend_information()    
   */                                                                 
  information->maximum = 0;                                           
ffc0a750:	b0 03 00 10 	sth     r0,16(r3)                              
                                                                      
  /*                                                                  
   *  Register this Object Class in the Object Information Table.     
   */                                                                 
  _Objects_Information_table[ the_api ][ the_class ] = information;   
ffc0a754:	54 80 10 3a 	rlwinm  r0,r4,2,0,29                           
ffc0a758:	7d 6b 00 2e 	lwzx    r11,r11,r0                             
ffc0a75c:	54 a0 10 3a 	rlwinm  r0,r5,2,0,29                           
  uint32_t                maximum_per_allocation;                     
  #if defined(RTEMS_MULTIPROCESSING)                                  
    uint32_t              index;                                      
  #endif                                                              
                                                                      
  information->the_api            = the_api;                          
ffc0a760:	90 83 00 00 	stw     r4,0(r3)                               
  information->the_class          = the_class;                        
ffc0a764:	b0 a3 00 04 	sth     r5,4(r3)                               
  information->size               = size;                             
ffc0a768:	90 e3 00 18 	stw     r7,24(r3)                              
  information->maximum = 0;                                           
                                                                      
  /*                                                                  
   *  Register this Object Class in the Object Information Table.     
   */                                                                 
  _Objects_Information_table[ the_api ][ the_class ] = information;   
ffc0a76c:	7c 6b 01 2e 	stwx    r3,r11,r0                              
                                                                      
  /*                                                                  
   *  Are we operating in limited or unlimited (e.g. auto-extend) mode.
   */                                                                 
  information->auto_extend =                                          
        (maximum & OBJECTS_UNLIMITED_OBJECTS) ? true : false;         
ffc0a770:	54 c0 0f fe 	rlwinm  r0,r6,1,31,31                          
  maximum_per_allocation = maximum & ~OBJECTS_UNLIMITED_OBJECTS;      
                                                                      
  /*                                                                  
   *  Unlimited and maximum of zero is illogical.                     
   */                                                                 
  if ( information->auto_extend && maximum_per_allocation == 0) {     
ffc0a774:	2f 80 00 00 	cmpwi   cr7,r0,0                               
  _Objects_Information_table[ the_api ][ the_class ] = information;   
                                                                      
  /*                                                                  
   *  Are we operating in limited or unlimited (e.g. auto-extend) mode.
   */                                                                 
  information->auto_extend =                                          
ffc0a778:	98 03 00 12 	stb     r0,18(r3)                              
        (maximum & OBJECTS_UNLIMITED_OBJECTS) ? true : false;         
  maximum_per_allocation = maximum & ~OBJECTS_UNLIMITED_OBJECTS;      
ffc0a77c:	54 c6 00 7e 	clrlwi  r6,r6,1                                
                                                                      
  /*                                                                  
   *  Unlimited and maximum of zero is illogical.                     
   */                                                                 
  if ( information->auto_extend && maximum_per_allocation == 0) {     
ffc0a780:	41 9e 00 1c 	beq-    cr7,ffc0a79c <_Objects_Initialize_information+0x74>
ffc0a784:	2f 86 00 00 	cmpwi   cr7,r6,0                               
ffc0a788:	40 be 00 14 	bne+    cr7,ffc0a79c <_Objects_Initialize_information+0x74>
    _Internal_error_Occurred(                                         
ffc0a78c:	38 60 00 00 	li      r3,0                                   
ffc0a790:	38 80 00 01 	li      r4,1                                   
ffc0a794:	38 a0 00 13 	li      r5,19                                  
ffc0a798:	4b ff f9 a5 	bl      ffc0a13c <_Internal_error_Occurred>    
  information->allocation_size = maximum_per_allocation;              
                                                                      
  /*                                                                  
   *  Provide a null local table entry for the case of any empty table.
   */                                                                 
  information->local_table = &null_local_table;                       
ffc0a79c:	3d 60 00 00 	lis     r11,0                                  
  }                                                                   
                                                                      
  /*                                                                  
   *  The allocation unit is the maximum value                        
   */                                                                 
  information->allocation_size = maximum_per_allocation;              
ffc0a7a0:	b0 c3 00 14 	sth     r6,20(r3)                              
                                                                      
  /*                                                                  
   *  Provide a null local table entry for the case of any empty table.
   */                                                                 
  information->local_table = &null_local_table;                       
ffc0a7a4:	38 0b 29 04 	addi    r0,r11,10500                           
ffc0a7a8:	90 03 00 1c 	stw     r0,28(r3)                              
ffc0a7ac:	54 84 c0 0e 	rlwinm  r4,r4,24,0,7                           
                                                                      
  /*                                                                  
   *  Calculate minimum and maximum Id's                              
   */                                                                 
  minimum_index = (maximum_per_allocation == 0) ? 0 : 1;              
ffc0a7b0:	7c c0 00 34 	cntlzw  r0,r6                                  
ffc0a7b4:	64 84 00 01 	oris    r4,r4,1                                
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
ffc0a7b8:	54 a5 d8 08 	rlwinm  r5,r5,27,0,4                           
ffc0a7bc:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          
ffc0a7c0:	7c 85 2b 78 	or      r5,r4,r5                               
ffc0a7c4:	68 00 00 01 	xori    r0,r0,1                                
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
ffc0a7c8:	7c a0 03 78 	or      r0,r5,r0                               
  information->minimum_id =                                           
ffc0a7cc:	90 03 00 08 	stw     r0,8(r3)                               
  /*                                                                  
   *  Calculate the maximum name length                               
   */                                                                 
  name_length = maximum_name_length;                                  
                                                                      
  if ( name_length & (OBJECTS_NAME_ALIGNMENT-1) )                     
ffc0a7d0:	71 20 00 03 	andi.   r0,r9,3                                
ffc0a7d4:	41 82 00 0c 	beq-    ffc0a7e0 <_Objects_Initialize_information+0xb8><== ALWAYS TAKEN
    name_length = (name_length + OBJECTS_NAME_ALIGNMENT) &            
ffc0a7d8:	39 29 00 04 	addi    r9,r9,4                                <== NOT EXECUTED
ffc0a7dc:	55 29 00 3a 	rlwinm  r9,r9,0,0,29                           <== NOT EXECUTED
  _Chain_Initialize_empty( &information->Inactive );                  
                                                                      
  /*                                                                  
   *  Initialize objects .. if there are any                          
   */                                                                 
  if ( maximum_per_allocation ) {                                     
ffc0a7e0:	2f 86 00 00 	cmpwi   cr7,r6,0                               
                                                                      
  if ( name_length & (OBJECTS_NAME_ALIGNMENT-1) )                     
    name_length = (name_length + OBJECTS_NAME_ALIGNMENT) &            
                  ~(OBJECTS_NAME_ALIGNMENT-1);                        
                                                                      
  information->name_length = name_length;                             
ffc0a7e4:	b1 23 00 38 	sth     r9,56(r3)                              
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
ffc0a7e8:	38 03 00 24 	addi    r0,r3,36                               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
ffc0a7ec:	90 03 00 20 	stw     r0,32(r3)                              
  the_chain->permanent_null = NULL;                                   
ffc0a7f0:	38 00 00 00 	li      r0,0                                   
ffc0a7f4:	90 03 00 24 	stw     r0,36(r3)                              
                                                                      
  _Chain_Initialize_empty( &information->Inactive );                  
ffc0a7f8:	38 03 00 20 	addi    r0,r3,32                               
  the_chain->last           = _Chain_Head(the_chain);                 
ffc0a7fc:	90 03 00 28 	stw     r0,40(r3)                              
                                                                      
  /*                                                                  
   *  Initialize objects .. if there are any                          
   */                                                                 
  if ( maximum_per_allocation ) {                                     
ffc0a800:	41 be 00 08 	beq+    cr7,ffc0a808 <_Objects_Initialize_information+0xe0>
    /*                                                                
     *  Always have the maximum size available so the current performance
     *  figures are create are met.  If the user moves past the maximum
     *  number then a performance hit is taken.                       
     */                                                               
    _Objects_Extend_information( information );                       
ffc0a804:	4b ff fa 61 	bl      ffc0a264 <_Objects_Extend_information> 
	_Chain_Initialize_empty( &information->global_table[ index ] );      
     }                                                                
     else                                                             
       information->global_table = NULL;                              
  #endif                                                              
}                                                                     
ffc0a808:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0a80c:	38 21 00 08 	addi    r1,r1,8                                
ffc0a810:	7c 08 03 a6 	mtlr    r0                                     
ffc0a814:	4e 80 00 20 	blr                                            
                                                                      

ffc0a8b4 <_Objects_Shrink_information>: */ void _Objects_Shrink_information( Objects_Information *information ) {
ffc0a8b4:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0a8b8:	7c 08 02 a6 	mflr    r0                                     
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
ffc0a8bc:	39 20 00 00 	li      r9,0                                   
 */                                                                   
                                                                      
void _Objects_Shrink_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
ffc0a8c0:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0a8c4:	bf 81 00 08 	stmw    r28,8(r1)                              
ffc0a8c8:	7c 7f 1b 78 	mr      r31,r3                                 
                                                                      
  /*                                                                  
   * Search the list to find block or chunk with all objects inactive.
   */                                                                 
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
ffc0a8cc:	a3 c3 00 0a 	lhz     r30,10(r3)                             
  block_count = (information->maximum - index_base) /                 
ffc0a8d0:	a1 43 00 10 	lhz     r10,16(r3)                             
ffc0a8d4:	a1 63 00 14 	lhz     r11,20(r3)                             
ffc0a8d8:	7d 5e 50 50 	subf    r10,r30,r10                            
ffc0a8dc:	7d 4a 5b 96 	divwu   r10,r10,r11                            
ffc0a8e0:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
ffc0a8e4:	38 0a 00 01 	addi    r0,r10,1                               
ffc0a8e8:	40 be 00 90 	bne+    cr7,ffc0a978 <_Objects_Shrink_information+0xc4><== ALWAYS TAKEN
ffc0a8ec:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc0a8f0:	48 00 00 88 	b       ffc0a978 <_Objects_Shrink_information+0xc4><== NOT EXECUTED
    if ( information->inactive_per_block[ block ] ==                  
ffc0a8f4:	81 5f 00 30 	lwz     r10,48(r31)                            
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
ffc0a8f8:	55 3d 10 3a 	rlwinm  r29,r9,2,0,29                          
    if ( information->inactive_per_block[ block ] ==                  
ffc0a8fc:	7d 4a e8 2e 	lwzx    r10,r10,r29                            
ffc0a900:	7f 8a 58 00 	cmpw    cr7,r10,r11                            
ffc0a904:	40 be 00 6c 	bne+    cr7,ffc0a970 <_Objects_Shrink_information+0xbc>
         information->allocation_size ) {                             
                                                                      
      /*                                                              
       *  Assume the Inactive chain is never empty at this point      
       */                                                             
      the_object = (Objects_Control *) information->Inactive.first;   
ffc0a908:	80 7f 00 20 	lwz     r3,32(r31)                             
ffc0a90c:	48 00 00 08 	b       ffc0a914 <_Objects_Shrink_information+0x60>
         index = _Objects_Get_index( the_object->id );                
         /*                                                           
          *  Get the next node before the node is extracted           
          */                                                          
         extract_me = the_object;                                     
         the_object = (Objects_Control *) the_object->Node.next;      
ffc0a910:	7f 83 e3 78 	mr      r3,r28                                 
       *  Assume the Inactive chain is never empty at this point      
       */                                                             
      the_object = (Objects_Control *) information->Inactive.first;   
                                                                      
      do {                                                            
         index = _Objects_Get_index( the_object->id );                
ffc0a914:	a0 03 00 0a 	lhz     r0,10(r3)                              
         /*                                                           
          *  Get the next node before the node is extracted           
          */                                                          
         extract_me = the_object;                                     
         the_object = (Objects_Control *) the_object->Node.next;      
ffc0a918:	83 83 00 00 	lwz     r28,0(r3)                              
         if ((index >= index_base) &&                                 
ffc0a91c:	7f 80 f0 40 	cmplw   cr7,r0,r30                             
ffc0a920:	41 9c 00 18 	blt-    cr7,ffc0a938 <_Objects_Shrink_information+0x84>
             (index < (index_base + information->allocation_size))) { 
ffc0a924:	a1 3f 00 14 	lhz     r9,20(r31)                             
ffc0a928:	7d 3e 4a 14 	add     r9,r30,r9                              
         /*                                                           
          *  Get the next node before the node is extracted           
          */                                                          
         extract_me = the_object;                                     
         the_object = (Objects_Control *) the_object->Node.next;      
         if ((index >= index_base) &&                                 
ffc0a92c:	7f 80 48 40 	cmplw   cr7,r0,r9                              
ffc0a930:	40 bc 00 08 	bge+    cr7,ffc0a938 <_Objects_Shrink_information+0x84>
             (index < (index_base + information->allocation_size))) { 
           _Chain_Extract( &extract_me->Node );                       
ffc0a934:	4b ff ee cd 	bl      ffc09800 <_Chain_Extract>              
         }                                                            
       }                                                              
       while ( the_object );                                          
ffc0a938:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc0a93c:	40 9e ff d4 	bne+    cr7,ffc0a910 <_Objects_Shrink_information+0x5c>
      /*                                                              
       *  Free the memory and reset the structures in the object' information
       */                                                             
                                                                      
      _Workspace_Free( information->object_blocks[ block ] );         
ffc0a940:	81 3f 00 34 	lwz     r9,52(r31)                             
ffc0a944:	7c 69 e8 2e 	lwzx    r3,r9,r29                              
ffc0a948:	48 00 1c 9d 	bl      ffc0c5e4 <_Workspace_Free>             
      information->object_blocks[ block ] = NULL;                     
ffc0a94c:	81 3f 00 34 	lwz     r9,52(r31)                             
      information->inactive_per_block[ block ] = 0;                   
                                                                      
      information->inactive -= information->allocation_size;          
ffc0a950:	a0 1f 00 14 	lhz     r0,20(r31)                             
      /*                                                              
       *  Free the memory and reset the structures in the object' information
       */                                                             
                                                                      
      _Workspace_Free( information->object_blocks[ block ] );         
      information->object_blocks[ block ] = NULL;                     
ffc0a954:	7f 89 e9 2e 	stwx    r28,r9,r29                             
      information->inactive_per_block[ block ] = 0;                   
ffc0a958:	81 3f 00 30 	lwz     r9,48(r31)                             
ffc0a95c:	7f 89 e9 2e 	stwx    r28,r9,r29                             
                                                                      
      information->inactive -= information->allocation_size;          
ffc0a960:	a1 3f 00 2c 	lhz     r9,44(r31)                             
ffc0a964:	7c 00 48 50 	subf    r0,r0,r9                               
ffc0a968:	b0 1f 00 2c 	sth     r0,44(r31)                             
                                                                      
      return;                                                         
ffc0a96c:	48 00 00 14 	b       ffc0a980 <_Objects_Shrink_information+0xcc>
    }                                                                 
                                                                      
    index_base += information->allocation_size;                       
ffc0a970:	7f de 5a 14 	add     r30,r30,r11                            
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
ffc0a974:	39 29 00 01 	addi    r9,r9,1                                
ffc0a978:	34 00 ff ff 	addic.  r0,r0,-1                               
ffc0a97c:	40 82 ff 78 	bne+    ffc0a8f4 <_Objects_Shrink_information+0x40>
      return;                                                         
    }                                                                 
                                                                      
    index_base += information->allocation_size;                       
  }                                                                   
}                                                                     
ffc0a980:	39 61 00 18 	addi    r11,r1,24                              
ffc0a984:	48 00 d8 04 	b       ffc18188 <_restgpr_28_x>               
                                                                      

ffc10ec8 <_RTEMS_tasks_Post_switch_extension>: */ void _RTEMS_tasks_Post_switch_extension( Thread_Control *executing ) {
ffc10ec8:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc10ecc:	7c 08 02 a6 	mflr    r0                                     
ffc10ed0:	90 01 00 2c 	stw     r0,44(r1)                              
ffc10ed4:	bf a1 00 1c 	stmw    r29,28(r1)                             
  RTEMS_API_Control *api;                                             
  ASR_Information   *asr;                                             
  rtems_signal_set   signal_set;                                      
  Modes_Control      prev_mode;                                       
                                                                      
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
ffc10ed8:	83 e3 01 40 	lwz     r31,320(r3)                            
  if ( !api )                                                         
ffc10edc:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc10ee0:	41 9e 00 80 	beq-    cr7,ffc10f60 <_RTEMS_tasks_Post_switch_extension+0x98><== NEVER TAKEN
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc10ee4:	7c 00 00 a6 	mfmsr   r0                                     
ffc10ee8:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc10eec:	7c 09 48 78 	andc    r9,r0,r9                               
ffc10ef0:	7d 20 01 24 	mtmsr   r9                                     
                                                                      
  asr = &api->Signal;                                                 
                                                                      
  _ISR_Disable( level );                                              
    signal_set = asr->signals_posted;                                 
    asr->signals_posted = 0;                                          
ffc10ef4:	39 20 00 00 	li      r9,0                                   
   */                                                                 
                                                                      
  asr = &api->Signal;                                                 
                                                                      
  _ISR_Disable( level );                                              
    signal_set = asr->signals_posted;                                 
ffc10ef8:	83 bf 00 14 	lwz     r29,20(r31)                            
    asr->signals_posted = 0;                                          
ffc10efc:	91 3f 00 14 	stw     r9,20(r31)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc10f00:	7c 00 01 24 	mtmsr   r0                                     
  _ISR_Enable( level );                                               
                                                                      
                                                                      
  if ( !signal_set ) /* similar to _ASR_Are_signals_pending( asr ) */ 
ffc10f04:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc10f08:	41 be 00 58 	beq+    cr7,ffc10f60 <_RTEMS_tasks_Post_switch_extension+0x98>
    return;                                                           
                                                                      
  asr->nest_level += 1;                                               
ffc10f0c:	81 3f 00 1c 	lwz     r9,28(r31)                             
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
ffc10f10:	3b c1 00 08 	addi    r30,r1,8                               
ffc10f14:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc10f18:	38 80 00 00 	li      r4,0                                   
                                                                      
                                                                      
  if ( !signal_set ) /* similar to _ASR_Are_signals_pending( asr ) */ 
    return;                                                           
                                                                      
  asr->nest_level += 1;                                               
ffc10f1c:	38 09 00 01 	addi    r0,r9,1                                
ffc10f20:	90 1f 00 1c 	stw     r0,28(r31)                             
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
ffc10f24:	60 84 ff ff 	ori     r4,r4,65535                            
ffc10f28:	7f c5 f3 78 	mr      r5,r30                                 
ffc10f2c:	4b ff fd 41 	bl      ffc10c6c <rtems_task_mode>             
                                                                      
  (*asr->handler)( signal_set );                                      
ffc10f30:	80 1f 00 0c 	lwz     r0,12(r31)                             
ffc10f34:	7f a3 eb 78 	mr      r3,r29                                 
ffc10f38:	7c 09 03 a6 	mtctr   r0                                     
ffc10f3c:	4e 80 04 21 	bctrl                                          
                                                                      
  asr->nest_level -= 1;                                               
ffc10f40:	81 3f 00 1c 	lwz     r9,28(r31)                             
  rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );     
ffc10f44:	38 80 00 00 	li      r4,0                                   
ffc10f48:	80 61 00 08 	lwz     r3,8(r1)                               
  asr->nest_level += 1;                                               
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
                                                                      
  (*asr->handler)( signal_set );                                      
                                                                      
  asr->nest_level -= 1;                                               
ffc10f4c:	38 09 ff ff 	addi    r0,r9,-1                               
ffc10f50:	90 1f 00 1c 	stw     r0,28(r31)                             
  rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );     
ffc10f54:	60 84 ff ff 	ori     r4,r4,65535                            
ffc10f58:	7f c5 f3 78 	mr      r5,r30                                 
ffc10f5c:	4b ff fd 11 	bl      ffc10c6c <rtems_task_mode>             
                                                                      
}                                                                     
ffc10f60:	39 61 00 28 	addi    r11,r1,40                              
ffc10f64:	48 00 72 28 	b       ffc1818c <_restgpr_29_x>               
                                                                      

ffc0924c <_Rate_monotonic_Timeout>: void _Rate_monotonic_Timeout( Objects_Id id, void *ignored ) {
ffc0924c:	7c 2b 0b 78 	mr      r11,r1                                 
ffc09250:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc09254:	7c 08 02 a6 	mflr    r0                                     
ffc09258:	7c 64 1b 78 	mr      r4,r3                                  
ffc0925c:	3c 60 00 00 	lis     r3,0                                   
ffc09260:	48 01 23 dd 	bl      ffc1b63c <_savegpr_31>                 
ffc09264:	38 63 2b a0 	addi    r3,r3,11168                            
ffc09268:	90 01 00 24 	stw     r0,36(r1)                              
ffc0926c:	38 a1 00 08 	addi    r5,r1,8                                
ffc09270:	48 00 20 f1 	bl      ffc0b360 <_Objects_Get>                
  /*                                                                  
   *  When we get here, the Timer is already off the chain so we do not
   *  have to worry about that -- hence no _Watchdog_Remove().        
   */                                                                 
  the_period = _Rate_monotonic_Get( id, &location );                  
  switch ( location ) {                                               
ffc09274:	80 01 00 08 	lwz     r0,8(r1)                               
ffc09278:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0927c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc09280:	40 9e 00 84 	bne-    cr7,ffc09304 <_Rate_monotonic_Timeout+0xb8><== NEVER TAKEN
                                                                      
    case OBJECTS_LOCAL:                                               
      the_thread = the_period->owner;                                 
ffc09284:	80 63 00 40 	lwz     r3,64(r3)                              
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_period (             
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_WAITING_FOR_PERIOD);                   
ffc09288:	80 03 00 10 	lwz     r0,16(r3)                              
      if ( _States_Is_waiting_for_period( the_thread->current_state ) &&
ffc0928c:	70 09 40 00 	andi.   r9,r0,16384                            
ffc09290:	41 82 00 24 	beq-    ffc092b4 <_Rate_monotonic_Timeout+0x68>
ffc09294:	81 23 00 20 	lwz     r9,32(r3)                              
ffc09298:	80 1f 00 08 	lwz     r0,8(r31)                              
ffc0929c:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc092a0:	40 be 00 14 	bne+    cr7,ffc092b4 <_Rate_monotonic_Timeout+0x68>
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
ffc092a4:	3c 80 10 03 	lis     r4,4099                                
ffc092a8:	60 84 ff f8 	ori     r4,r4,65528                            
ffc092ac:	48 00 26 1d 	bl      ffc0b8c8 <_Thread_Clear_state>         
ffc092b0:	48 00 00 18 	b       ffc092c8 <_Rate_monotonic_Timeout+0x7c>
        _Thread_Unblock( the_thread );                                
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else if ( the_period->state == RATE_MONOTONIC_OWNER_IS_BLOCKING ) {
ffc092b4:	80 1f 00 38 	lwz     r0,56(r31)                             
ffc092b8:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc092bc:	40 be 00 30 	bne+    cr7,ffc092ec <_Rate_monotonic_Timeout+0xa0>
        the_period->state = RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING;    
ffc092c0:	38 00 00 03 	li      r0,3                                   
ffc092c4:	90 1f 00 38 	stw     r0,56(r31)                             
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
ffc092c8:	7f e3 fb 78 	mr      r3,r31                                 
ffc092cc:	4b ff f9 45 	bl      ffc08c10 <_Rate_monotonic_Initiate_statistics>
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
ffc092d0:	80 1f 00 3c 	lwz     r0,60(r31)                             
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc092d4:	3c 60 00 00 	lis     r3,0                                   
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
ffc092d8:	90 1f 00 1c 	stw     r0,28(r31)                             
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc092dc:	38 63 2d 68 	addi    r3,r3,11624                            
ffc092e0:	38 9f 00 10 	addi    r4,r31,16                              
ffc092e4:	48 00 3d dd 	bl      ffc0d0c0 <_Watchdog_Insert>            
ffc092e8:	48 00 00 0c 	b       ffc092f4 <_Rate_monotonic_Timeout+0xa8>
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else                                                          
        the_period->state = RATE_MONOTONIC_EXPIRED;                   
ffc092ec:	38 00 00 04 	li      r0,4                                   
ffc092f0:	90 1f 00 38 	stw     r0,56(r31)                             
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
ffc092f4:	3d 20 00 00 	lis     r9,0                                   
ffc092f8:	81 69 27 b0 	lwz     r11,10160(r9)                          
ffc092fc:	38 0b ff ff 	addi    r0,r11,-1                              
ffc09300:	90 09 27 b0 	stw     r0,10160(r9)                           
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
ffc09304:	39 61 00 20 	addi    r11,r1,32                              
ffc09308:	4b ff 7e c4 	b       ffc011cc <_restgpr_31_x>               
                                                                      

ffc08ca8 <_TOD_Validate>: uint32_t days_in_month; uint32_t ticks_per_second; ticks_per_second = TOD_MICROSECONDS_PER_SECOND / rtems_configuration_get_microseconds_per_tick(); if ((!the_tod) ||
ffc08ca8:	2c 03 00 00 	cmpwi   r3,0                                   
{                                                                     
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
	    rtems_configuration_get_microseconds_per_tick();                 
ffc08cac:	3d 20 00 00 	lis     r9,0                                   
ffc08cb0:	81 29 20 cc 	lwz     r9,8396(r9)                            
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
     return false;                                                    
ffc08cb4:	38 00 00 00 	li      r0,0                                   
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
ffc08cb8:	41 82 00 94 	beq-    ffc08d4c <_TOD_Validate+0xa4>          <== NEVER TAKEN
)                                                                     
{                                                                     
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
ffc08cbc:	3d 60 00 0f 	lis     r11,15                                 
ffc08cc0:	61 6b 42 40 	ori     r11,r11,16960                          
ffc08cc4:	7d 2b 4b 96 	divwu   r9,r11,r9                              
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
ffc08cc8:	81 63 00 18 	lwz     r11,24(r3)                             
ffc08ccc:	7f 8b 48 40 	cmplw   cr7,r11,r9                             
ffc08cd0:	40 9c 00 7c 	bge-    cr7,ffc08d4c <_TOD_Validate+0xa4>      
      (the_tod->ticks  >= ticks_per_second)       ||                  
ffc08cd4:	81 23 00 14 	lwz     r9,20(r3)                              
ffc08cd8:	2b 89 00 3b 	cmplwi  cr7,r9,59                              
ffc08cdc:	41 9d 00 70 	bgt-    cr7,ffc08d4c <_TOD_Validate+0xa4>      
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
ffc08ce0:	81 23 00 10 	lwz     r9,16(r3)                              
ffc08ce4:	2b 89 00 3b 	cmplwi  cr7,r9,59                              
ffc08ce8:	41 9d 00 64 	bgt-    cr7,ffc08d4c <_TOD_Validate+0xa4>      
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
ffc08cec:	81 23 00 0c 	lwz     r9,12(r3)                              
ffc08cf0:	2b 89 00 17 	cmplwi  cr7,r9,23                              
ffc08cf4:	41 9d 00 58 	bgt-    cr7,ffc08d4c <_TOD_Validate+0xa4>      
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
ffc08cf8:	81 23 00 04 	lwz     r9,4(r3)                               
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
      (the_tod->ticks  >= ticks_per_second)       ||                  
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
ffc08cfc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc08d00:	41 9e 00 4c 	beq-    cr7,ffc08d4c <_TOD_Validate+0xa4>      <== NEVER TAKEN
      (the_tod->month  == 0)                      ||                  
ffc08d04:	2b 89 00 0c 	cmplwi  cr7,r9,12                              
ffc08d08:	41 9d 00 44 	bgt-    cr7,ffc08d4c <_TOD_Validate+0xa4>      
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
ffc08d0c:	81 43 00 00 	lwz     r10,0(r3)                              
      (the_tod->ticks  >= ticks_per_second)       ||                  
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
ffc08d10:	2b 8a 07 c3 	cmplwi  cr7,r10,1987                           
ffc08d14:	40 9d 00 38 	ble-    cr7,ffc08d4c <_TOD_Validate+0xa4>      
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
ffc08d18:	81 63 00 08 	lwz     r11,8(r3)                              
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
ffc08d1c:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc08d20:	41 9e 00 2c 	beq-    cr7,ffc08d4c <_TOD_Validate+0xa4>      <== NEVER TAKEN
      (the_tod->day    == 0) )                                        
     return false;                                                    
                                                                      
  if ( (the_tod->year % 4) == 0 )                                     
ffc08d24:	71 40 00 03 	andi.   r0,r10,3                               
ffc08d28:	3d 40 ff c2 	lis     r10,-62                                
ffc08d2c:	39 4a e2 68 	addi    r10,r10,-7576                          
ffc08d30:	40 82 00 08 	bne-    ffc08d38 <_TOD_Validate+0x90>          
    days_in_month = _TOD_Days_per_month[ 1 ][ the_tod->month ];       
ffc08d34:	39 29 00 0d 	addi    r9,r9,13                               
  else                                                                
    days_in_month = _TOD_Days_per_month[ 0 ][ the_tod->month ];       
ffc08d38:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           
ffc08d3c:	7c 0a 48 2e 	lwzx    r0,r10,r9                              
 *    false - if the the_tod is invalid                               
 *                                                                    
 *  NOTE: This routine only works for leap-years through 2099.        
 */                                                                   
                                                                      
bool _TOD_Validate(                                                   
ffc08d40:	7c 0b 00 10 	subfc   r0,r11,r0                              
ffc08d44:	38 00 00 00 	li      r0,0                                   
ffc08d48:	7c 00 01 14 	adde    r0,r0,r0                               
                                                                      
  if ( the_tod->day > days_in_month )                                 
    return false;                                                     
                                                                      
  return true;                                                        
}                                                                     
ffc08d4c:	7c 03 03 78 	mr      r3,r0                                  
ffc08d50:	4e 80 00 20 	blr                                            
                                                                      

ffc0ab3c <_Thread_Change_priority>: void _Thread_Change_priority( Thread_Control *the_thread, Priority_Control new_priority, bool prepend_it ) {
ffc0ab3c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0ab40:	7c 08 02 a6 	mflr    r0                                     
ffc0ab44:	90 01 00 24 	stw     r0,36(r1)                              
ffc0ab48:	bf a1 00 14 	stmw    r29,20(r1)                             
ffc0ab4c:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0ab50:	7c be 2b 78 	mr      r30,r5                                 
*/                                                                    
                                                                      
  /*                                                                  
   * Save original state                                              
   */                                                                 
  original_state = the_thread->current_state;                         
ffc0ab54:	83 a3 00 10 	lwz     r29,16(r3)                             
  /*                                                                  
   * Set a transient state for the thread so it is pulled off the Ready chains.
   * This will prevent it from being scheduled no matter what happens in an
   * ISR.                                                             
   */                                                                 
  _Thread_Set_transient( the_thread );                                
ffc0ab58:	90 81 00 08 	stw     r4,8(r1)                               
ffc0ab5c:	48 00 10 39 	bl      ffc0bb94 <_Thread_Set_transient>       
                                                                      
  /*                                                                  
   *  Do not bother recomputing all the priority related information if
   *  we are not REALLY changing priority.                            
   */                                                                 
 if ( the_thread->current_priority != new_priority )                  
ffc0ab60:	80 1f 00 14 	lwz     r0,20(r31)                             
ffc0ab64:	80 81 00 08 	lwz     r4,8(r1)                               
ffc0ab68:	7f 80 20 00 	cmpw    cr7,r0,r4                              
ffc0ab6c:	41 9e 00 0c 	beq-    cr7,ffc0ab78 <_Thread_Change_priority+0x3c>
    _Thread_Set_priority( the_thread, new_priority );                 
ffc0ab70:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ab74:	48 00 0e a9 	bl      ffc0ba1c <_Thread_Set_priority>        
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc0ab78:	7d 60 00 a6 	mfmsr   r11                                    
ffc0ab7c:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc0ab80:	7d 60 00 78 	andc    r0,r11,r0                              
ffc0ab84:	7c 00 01 24 	mtmsr   r0                                     
                                                                      
  /*                                                                  
   *  If the thread has more than STATES_TRANSIENT set, then it is blocked,
   *  If it is blocked on a thread queue, then we need to requeue it. 
   */                                                                 
  state = the_thread->current_state;                                  
ffc0ab88:	80 1f 00 10 	lwz     r0,16(r31)                             
ffc0ab8c:	57 bd 07 7a 	rlwinm  r29,r29,0,29,29                        
  if ( state != STATES_TRANSIENT ) {                                  
ffc0ab90:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc0ab94:	41 9e 00 38 	beq-    cr7,ffc0abcc <_Thread_Change_priority+0x90>
    /* Only clear the transient state if it wasn't set already */     
    if ( ! _States_Is_transient( original_state ) )                   
ffc0ab98:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc0ab9c:	40 9e 00 0c 	bne-    cr7,ffc0aba8 <_Thread_Change_priority+0x6c><== NEVER TAKEN
RTEMS_INLINE_ROUTINE States_Control _States_Clear (                   
  States_Control states_to_clear,                                     
  States_Control current_state                                        
)                                                                     
{                                                                     
   return (current_state & ~states_to_clear);                         
ffc0aba0:	54 09 07 b8 	rlwinm  r9,r0,0,30,28                          
      the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
ffc0aba4:	91 3f 00 10 	stw     r9,16(r31)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc0aba8:	7d 60 01 24 	mtmsr   r11                                    
    _ISR_Enable( level );                                             
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
ffc0abac:	3d 20 00 03 	lis     r9,3                                   
ffc0abb0:	61 29 be e0 	ori     r9,r9,48864                            
ffc0abb4:	7c 0b 48 39 	and.    r11,r0,r9                              
ffc0abb8:	41 a2 01 00 	beq+    ffc0acb8 <_Thread_Change_priority+0x17c>
      _Thread_queue_Requeue( the_thread->Wait.queue, the_thread );    
ffc0abbc:	80 7f 00 44 	lwz     r3,68(r31)                             
ffc0abc0:	7f e4 fb 78 	mr      r4,r31                                 
ffc0abc4:	48 00 0d a1 	bl      ffc0b964 <_Thread_queue_Requeue>       
ffc0abc8:	48 00 00 f0 	b       ffc0acb8 <_Thread_Change_priority+0x17c>
    }                                                                 
    return;                                                           
  }                                                                   
                                                                      
  /* Only clear the transient state if it wasn't set already */       
  if ( ! _States_Is_transient( original_state ) ) {                   
ffc0abcc:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc0abd0:	40 9e 00 6c 	bne-    cr7,ffc0ac3c <_Thread_Change_priority+0x100><== NEVER TAKEN
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_bit_map_Add (                     
  Priority_bit_map_Information *the_priority_map                      
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
ffc0abd4:	81 3f 00 90 	lwz     r9,144(r31)                            
     *  Ready Queue with interrupts off.                              
     */                                                               
    the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
                                                                      
    _Priority_bit_map_Add( &the_thread->Priority_map );               
    if ( prepend_it )                                                 
ffc0abd8:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
     *  Interrupts are STILL disabled.                                
     *  We now know the thread will be in the READY state when we remove
     *  the TRANSIENT state.  So we have to place it on the appropriate
     *  Ready Queue with interrupts off.                              
     */                                                               
    the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
ffc0abdc:	93 bf 00 10 	stw     r29,16(r31)                            
ffc0abe0:	80 1f 00 98 	lwz     r0,152(r31)                            
ffc0abe4:	81 49 00 00 	lwz     r10,0(r9)                              
ffc0abe8:	7d 40 03 78 	or      r0,r10,r0                              
ffc0abec:	90 09 00 00 	stw     r0,0(r9)                               
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
ffc0abf0:	3d 20 00 00 	lis     r9,0                                   
ffc0abf4:	81 49 27 6c 	lwz     r10,10092(r9)                          
ffc0abf8:	80 1f 00 94 	lwz     r0,148(r31)                            
ffc0abfc:	7d 40 03 78 	or      r0,r10,r0                              
ffc0ac00:	90 09 27 6c 	stw     r0,10092(r9)                           
ffc0ac04:	81 3f 00 8c 	lwz     r9,140(r31)                            
                                                                      
    _Priority_bit_map_Add( &the_thread->Priority_map );               
    if ( prepend_it )                                                 
ffc0ac08:	41 9e 00 1c 	beq-    cr7,ffc0ac24 <_Thread_Change_priority+0xe8>
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
ffc0ac0c:	81 49 00 00 	lwz     r10,0(r9)                              
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
ffc0ac10:	91 3f 00 04 	stw     r9,4(r31)                              
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
ffc0ac14:	93 e9 00 00 	stw     r31,0(r9)                              
  the_node->next        = before_node;                                
  before_node->previous = the_node;                                   
ffc0ac18:	93 ea 00 04 	stw     r31,4(r10)                             
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
  the_node->next        = before_node;                                
ffc0ac1c:	91 5f 00 00 	stw     r10,0(r31)                             
ffc0ac20:	48 00 00 1c 	b       ffc0ac3c <_Thread_Change_priority+0x100>
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
  old_last_node       = the_chain->last;                              
ffc0ac24:	81 49 00 08 	lwz     r10,8(r9)                              
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
ffc0ac28:	38 09 00 04 	addi    r0,r9,4                                
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
ffc0ac2c:	90 1f 00 00 	stw     r0,0(r31)                              
  old_last_node       = the_chain->last;                              
  the_chain->last     = the_node;                                     
ffc0ac30:	93 e9 00 08 	stw     r31,8(r9)                              
  old_last_node->next = the_node;                                     
ffc0ac34:	93 ea 00 00 	stw     r31,0(r10)                             
  the_node->previous  = old_last_node;                                
ffc0ac38:	91 5f 00 04 	stw     r10,4(r31)                             
                                                                      
static inline void ppc_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t current_level;                                             
                                                                      
  asm volatile (                                                      
ffc0ac3c:	7c 00 00 a6 	mfmsr   r0                                     
ffc0ac40:	7d 60 01 24 	mtmsr   r11                                    
ffc0ac44:	7c 00 01 24 	mtmsr   r0                                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void )              
{                                                                     
  _Thread_Heir = (Thread_Control *)                                   
    _Thread_Ready_chain[ _Priority_bit_map_Get_highest() ].first;     
ffc0ac48:	3d 20 00 00 	lis     r9,0                                   
RTEMS_INLINE_ROUTINE Priority_Control _Priority_bit_map_Get_highest( void )
{                                                                     
  Priority_bit_map_Control minor;                                     
  Priority_bit_map_Control major;                                     
                                                                      
  _Bitfield_Find_first_bit( _Priority_Major_bit_map, major );         
ffc0ac4c:	3d 40 00 00 	lis     r10,0                                  
ffc0ac50:	80 e9 27 40 	lwz     r7,10048(r9)                           
ffc0ac54:	80 0a 27 6c 	lwz     r0,10092(r10)                          
ffc0ac58:	7c 09 00 34 	cntlzw  r9,r0                                  
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
ffc0ac5c:	3d 00 00 00 	lis     r8,0                                   
RTEMS_INLINE_ROUTINE Priority_Control _Priority_bit_map_Get_highest( void )
{                                                                     
  Priority_bit_map_Control minor;                                     
  Priority_bit_map_Control major;                                     
                                                                      
  _Bitfield_Find_first_bit( _Priority_Major_bit_map, major );         
ffc0ac60:	90 0a 27 6c 	stw     r0,10092(r10)                          
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
ffc0ac64:	39 08 2d 60 	addi    r8,r8,11616                            
ffc0ac68:	55 2a 10 3a 	rlwinm  r10,r9,2,0,29                          
ffc0ac6c:	7c 08 50 2e 	lwzx    r0,r8,r10                              
ffc0ac70:	7c 06 00 34 	cntlzw  r6,r0                                  
                                                                      
  return (_Priority_Bits_index( major ) << 4) +                       
ffc0ac74:	55 29 20 36 	rlwinm  r9,r9,4,0,27                           
{                                                                     
  Priority_bit_map_Control minor;                                     
  Priority_bit_map_Control major;                                     
                                                                      
  _Bitfield_Find_first_bit( _Priority_Major_bit_map, major );         
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
ffc0ac78:	7c 08 51 2e 	stwx    r0,r8,r10                              
ffc0ac7c:	7d 29 32 14 	add     r9,r9,r6                               
ffc0ac80:	1d 29 00 0c 	mulli   r9,r9,12                               
 *  ready thread.                                                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void )              
{                                                                     
  _Thread_Heir = (Thread_Control *)                                   
ffc0ac84:	7c 07 48 2e 	lwzx    r0,r7,r9                               
ffc0ac88:	3d 20 00 00 	lis     r9,0                                   
ffc0ac8c:	39 29 2e 24 	addi    r9,r9,11812                            
 *  is also the heir thread, and false otherwise.                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing_also_the_heir( void )  
{                                                                     
  return ( _Thread_Executing == _Thread_Heir );                       
ffc0ac90:	81 49 00 0c 	lwz     r10,12(r9)                             
 *  ready thread.                                                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void )              
{                                                                     
  _Thread_Heir = (Thread_Control *)                                   
ffc0ac94:	90 09 00 10 	stw     r0,16(r9)                              
   *  We altered the set of thread priorities.  So let's figure out   
   *  who is the heir and if we need to switch to them.               
   */                                                                 
  _Thread_Calculate_heir();                                           
                                                                      
  if ( !_Thread_Is_executing_also_the_heir() &&                       
ffc0ac98:	7f 8a 00 00 	cmpw    cr7,r10,r0                             
ffc0ac9c:	41 9e 00 18 	beq-    cr7,ffc0acb4 <_Thread_Change_priority+0x178>
ffc0aca0:	88 0a 00 74 	lbz     r0,116(r10)                            
ffc0aca4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0aca8:	41 9e 00 0c 	beq-    cr7,ffc0acb4 <_Thread_Change_priority+0x178>
       _Thread_Executing->is_preemptible )                            
    _Thread_Dispatch_necessary = true;                                
ffc0acac:	38 00 00 01 	li      r0,1                                   
ffc0acb0:	98 09 00 18 	stb     r0,24(r9)                              
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc0acb4:	7d 60 01 24 	mtmsr   r11                                    
  _ISR_Enable( level );                                               
}                                                                     
ffc0acb8:	39 61 00 20 	addi    r11,r1,32                              
ffc0acbc:	48 00 d4 d0 	b       ffc1818c <_restgpr_29_x>               
                                                                      

ffc0acc0 <_Thread_Clear_state>: static inline uint32_t ppc_interrupt_disable( void ) { uint32_t level; uint32_t mask; asm volatile (
ffc0acc0:	7c 00 00 a6 	mfmsr   r0                                     
ffc0acc4:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0acc8:	7c 09 48 78 	andc    r9,r0,r9                               
ffc0accc:	7d 20 01 24 	mtmsr   r9                                     
{                                                                     
  ISR_Level       level;                                              
  States_Control  current_state;                                      
                                                                      
  _ISR_Disable( level );                                              
    current_state = the_thread->current_state;                        
ffc0acd0:	81 23 00 10 	lwz     r9,16(r3)                              
                                                                      
    if ( current_state & state ) {                                    
ffc0acd4:	7c 8b 48 39 	and.    r11,r4,r9                              
ffc0acd8:	41 82 00 ac 	beq-    ffc0ad84 <_Thread_Clear_state+0xc4>    
ffc0acdc:	7d 24 20 78 	andc    r4,r9,r4                               
      current_state =                                                 
      the_thread->current_state = _States_Clear( state, current_state );
                                                                      
      if ( _States_Is_ready( current_state ) ) {                      
ffc0ace0:	2f 84 00 00 	cmpwi   cr7,r4,0                               
  _ISR_Disable( level );                                              
    current_state = the_thread->current_state;                        
                                                                      
    if ( current_state & state ) {                                    
      current_state =                                                 
      the_thread->current_state = _States_Clear( state, current_state );
ffc0ace4:	90 83 00 10 	stw     r4,16(r3)                              
                                                                      
      if ( _States_Is_ready( current_state ) ) {                      
ffc0ace8:	40 9e 00 9c 	bne-    cr7,ffc0ad84 <_Thread_Clear_state+0xc4>
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_bit_map_Add (                     
  Priority_bit_map_Information *the_priority_map                      
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
ffc0acec:	81 23 00 90 	lwz     r9,144(r3)                             
ffc0acf0:	81 63 00 98 	lwz     r11,152(r3)                            
ffc0acf4:	81 49 00 00 	lwz     r10,0(r9)                              
ffc0acf8:	7d 4b 5b 78 	or      r11,r10,r11                            
ffc0acfc:	91 69 00 00 	stw     r11,0(r9)                              
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
ffc0ad00:	3d 20 00 00 	lis     r9,0                                   
ffc0ad04:	81 49 27 6c 	lwz     r10,10092(r9)                          
ffc0ad08:	81 63 00 94 	lwz     r11,148(r3)                            
ffc0ad0c:	7d 4b 5b 78 	or      r11,r10,r11                            
ffc0ad10:	91 69 27 6c 	stw     r11,10092(r9)                          
                                                                      
        _Priority_bit_map_Add( &the_thread->Priority_map );           
                                                                      
        _Chain_Append_unprotected(the_thread->ready, &the_thread->Object.Node);
ffc0ad14:	81 23 00 8c 	lwz     r9,140(r3)                             
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
ffc0ad18:	39 69 00 04 	addi    r11,r9,4                               
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
ffc0ad1c:	91 63 00 00 	stw     r11,0(r3)                              
  old_last_node       = the_chain->last;                              
ffc0ad20:	81 69 00 08 	lwz     r11,8(r9)                              
  the_chain->last     = the_node;                                     
ffc0ad24:	90 69 00 08 	stw     r3,8(r9)                               
  old_last_node->next = the_node;                                     
ffc0ad28:	90 6b 00 00 	stw     r3,0(r11)                              
  the_node->previous  = old_last_node;                                
ffc0ad2c:	91 63 00 04 	stw     r11,4(r3)                              
                                                                      
static inline void ppc_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t current_level;                                             
                                                                      
  asm volatile (                                                      
ffc0ad30:	7d 20 00 a6 	mfmsr   r9                                     
ffc0ad34:	7c 00 01 24 	mtmsr   r0                                     
ffc0ad38:	7d 20 01 24 	mtmsr   r9                                     
         *    a context switch.                                       
         *  Pseudo-ISR case:                                          
         *    Even if the thread isn't preemptible, if the new heir is
         *    a pseudo-ISR system task, we need to do a context switch.
         */                                                           
        if ( the_thread->current_priority < _Thread_Heir->current_priority ) {
ffc0ad3c:	3d 20 00 00 	lis     r9,0                                   
ffc0ad40:	81 63 00 14 	lwz     r11,20(r3)                             
ffc0ad44:	39 29 2e 24 	addi    r9,r9,11812                            
ffc0ad48:	81 49 00 10 	lwz     r10,16(r9)                             
ffc0ad4c:	81 4a 00 14 	lwz     r10,20(r10)                            
ffc0ad50:	7f 8b 50 40 	cmplw   cr7,r11,r10                            
ffc0ad54:	40 9c 00 30 	bge-    cr7,ffc0ad84 <_Thread_Clear_state+0xc4>
          _Thread_Heir = the_thread;                                  
ffc0ad58:	90 69 00 10 	stw     r3,16(r9)                              
          if ( _Thread_Executing->is_preemptible ||                   
ffc0ad5c:	81 29 00 0c 	lwz     r9,12(r9)                              
ffc0ad60:	89 29 00 74 	lbz     r9,116(r9)                             
ffc0ad64:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0ad68:	40 9e 00 0c 	bne-    cr7,ffc0ad74 <_Thread_Clear_state+0xb4>
ffc0ad6c:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc0ad70:	40 9e 00 14 	bne-    cr7,ffc0ad84 <_Thread_Clear_state+0xc4><== ALWAYS TAKEN
               the_thread->current_priority == 0 )                    
            _Thread_Dispatch_necessary = true;                        
ffc0ad74:	3d 20 00 00 	lis     r9,0                                   
ffc0ad78:	39 60 00 01 	li      r11,1                                  
ffc0ad7c:	39 29 2e 24 	addi    r9,r9,11812                            
ffc0ad80:	99 69 00 18 	stb     r11,24(r9)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc0ad84:	7c 00 01 24 	mtmsr   r0                                     
        }                                                             
      }                                                               
  }                                                                   
  _ISR_Enable( level );                                               
}                                                                     
ffc0ad88:	4e 80 00 20 	blr                                            
                                                                      

ffc0ad8c <_Thread_Close>: void _Thread_Close( Objects_Information *information, Thread_Control *the_thread ) {
ffc0ad8c:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0ad90:	7c 08 02 a6 	mflr    r0                                     
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
ffc0ad94:	39 60 00 00 	li      r11,0                                  
ffc0ad98:	90 01 00 1c 	stw     r0,28(r1)                              
RTEMS_INLINE_ROUTINE void _Objects_Invalidate_Id(                     
  Objects_Information  *information,                                  
  Objects_Control      *the_object                                    
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
ffc0ad9c:	a0 04 00 0a 	lhz     r0,10(r4)                              
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
ffc0ada0:	81 23 00 1c 	lwz     r9,28(r3)                              
ffc0ada4:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc0ada8:	bf a1 00 0c 	stmw    r29,12(r1)                             
ffc0adac:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0adb0:	7d 69 01 2e 	stwx    r11,r9,r0                              
ffc0adb4:	7c 9f 23 78 	mr      r31,r4                                 
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
ffc0adb8:	3f a0 00 00 	lis     r29,0                                  
ffc0adbc:	81 3d 27 48 	lwz     r9,10056(r29)                          
   *  disappear and set a transient state on it.  So we temporarily   
   *  unnest dispatching.                                             
   */                                                                 
  _Thread_Unnest_dispatch();                                          
                                                                      
  _User_extensions_Thread_delete( the_thread );                       
ffc0adc0:	7c 83 23 78 	mr      r3,r4                                  
ffc0adc4:	38 09 ff ff 	addi    r0,r9,-1                               
ffc0adc8:	90 1d 27 48 	stw     r0,10056(r29)                          
ffc0adcc:	48 00 14 69 	bl      ffc0c234 <_User_extensions_Thread_delete>
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
ffc0add0:	81 3d 27 48 	lwz     r9,10056(r29)                          
ffc0add4:	38 09 00 01 	addi    r0,r9,1                                
ffc0add8:	90 1d 27 48 	stw     r0,10056(r29)                          
  /*                                                                  
   *  Now we are in a dispatching critical section again and we       
   *  can take the thread OUT of the published set.  It is invalid    
   *  to use this thread's Id OR name after this call.                
   */                                                                 
  _Objects_Close( information, &the_thread->Object );                 
ffc0addc:	7f c3 f3 78 	mr      r3,r30                                 
ffc0ade0:	7f e4 fb 78 	mr      r4,r31                                 
ffc0ade4:	4b ff f4 4d 	bl      ffc0a230 <_Objects_Close>              
                                                                      
  /*                                                                  
   *  By setting the dormant state, the thread will not be considered 
   *  for scheduling when we remove any blocking states.              
   */                                                                 
  _Thread_Set_state( the_thread, STATES_DORMANT );                    
ffc0ade8:	7f e3 fb 78 	mr      r3,r31                                 
ffc0adec:	38 80 00 01 	li      r4,1                                   
ffc0adf0:	48 00 0c 89 	bl      ffc0ba78 <_Thread_Set_state>           
                                                                      
  if ( !_Thread_queue_Extract_with_proxy( the_thread ) ) {            
ffc0adf4:	7f e3 fb 78 	mr      r3,r31                                 
ffc0adf8:	48 00 0a 89 	bl      ffc0b880 <_Thread_queue_Extract_with_proxy>
ffc0adfc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ae00:	40 9e 00 18 	bne-    cr7,ffc0ae18 <_Thread_Close+0x8c>      
    if ( _Watchdog_Is_active( &the_thread->Timer ) )                  
ffc0ae04:	80 1f 00 50 	lwz     r0,80(r31)                             
ffc0ae08:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc0ae0c:	40 be 00 0c 	bne+    cr7,ffc0ae18 <_Thread_Close+0x8c>      
      (void) _Watchdog_Remove( &the_thread->Timer );                  
ffc0ae10:	38 7f 00 48 	addi    r3,r31,72                              
ffc0ae14:	48 00 16 85 	bl      ffc0c498 <_Watchdog_Remove>            
  if ( _Thread_Is_allocated_fp( the_thread ) )                        
    _Thread_Deallocate_fp();                                          
#endif                                                                
  the_thread->fp_context = NULL;                                      
                                                                      
  if ( the_thread->Start.fp_context )                                 
ffc0ae18:	80 7f 00 d0 	lwz     r3,208(r31)                            
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
#if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                            
  if ( _Thread_Is_allocated_fp( the_thread ) )                        
    _Thread_Deallocate_fp();                                          
#endif                                                                
  the_thread->fp_context = NULL;                                      
ffc0ae1c:	38 00 00 00 	li      r0,0                                   
ffc0ae20:	90 1f 01 38 	stw     r0,312(r31)                            
                                                                      
  if ( the_thread->Start.fp_context )                                 
ffc0ae24:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ae28:	41 9e 00 08 	beq-    cr7,ffc0ae30 <_Thread_Close+0xa4>      <== NEVER TAKEN
    (void) _Workspace_Free( the_thread->Start.fp_context );           
ffc0ae2c:	48 00 17 b9 	bl      ffc0c5e4 <_Workspace_Free>             
                                                                      
  /*                                                                  
   *  Free the rest of the memory associated with this task           
   *  and set the associated pointers to NULL for safety.             
   */                                                                 
  _Thread_Stack_Free( the_thread );                                   
ffc0ae30:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ae34:	48 00 0e 69 	bl      ffc0bc9c <_Thread_Stack_Free>          
  the_thread->Start.stack = NULL;                                     
                                                                      
  if ( the_thread->extensions )                                       
ffc0ae38:	80 7f 01 48 	lwz     r3,328(r31)                            
  /*                                                                  
   *  Free the rest of the memory associated with this task           
   *  and set the associated pointers to NULL for safety.             
   */                                                                 
  _Thread_Stack_Free( the_thread );                                   
  the_thread->Start.stack = NULL;                                     
ffc0ae3c:	38 00 00 00 	li      r0,0                                   
                                                                      
  if ( the_thread->extensions )                                       
ffc0ae40:	2f 83 00 00 	cmpwi   cr7,r3,0                               
  /*                                                                  
   *  Free the rest of the memory associated with this task           
   *  and set the associated pointers to NULL for safety.             
   */                                                                 
  _Thread_Stack_Free( the_thread );                                   
  the_thread->Start.stack = NULL;                                     
ffc0ae44:	90 1f 00 d4 	stw     r0,212(r31)                            
                                                                      
  if ( the_thread->extensions )                                       
ffc0ae48:	41 9e 00 08 	beq-    cr7,ffc0ae50 <_Thread_Close+0xc4>      
    (void) _Workspace_Free( the_thread->extensions );                 
ffc0ae4c:	48 00 17 99 	bl      ffc0c5e4 <_Workspace_Free>             
  the_thread->extensions = NULL;                                      
ffc0ae50:	38 00 00 00 	li      r0,0                                   
}                                                                     
ffc0ae54:	39 61 00 18 	addi    r11,r1,24                              
  _Thread_Stack_Free( the_thread );                                   
  the_thread->Start.stack = NULL;                                     
                                                                      
  if ( the_thread->extensions )                                       
    (void) _Workspace_Free( the_thread->extensions );                 
  the_thread->extensions = NULL;                                      
ffc0ae58:	90 1f 01 48 	stw     r0,328(r31)                            
}                                                                     
ffc0ae5c:	48 00 d3 30 	b       ffc1818c <_restgpr_29_x>               
                                                                      

ffc0af44 <_Thread_Delay_ended>: void _Thread_Delay_ended( Objects_Id id, void *ignored __attribute__((unused)) ) {
ffc0af44:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0af48:	7c 08 02 a6 	mflr    r0                                     
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc0af4c:	38 81 00 08 	addi    r4,r1,8                                
                                                                      
void _Thread_Delay_ended(                                             
  Objects_Id  id,                                                     
  void       *ignored __attribute__((unused))                         
)                                                                     
{                                                                     
ffc0af50:	90 01 00 1c 	stw     r0,28(r1)                              
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc0af54:	48 00 01 b5 	bl      ffc0b108 <_Thread_Get>                 
  switch ( location ) {                                               
ffc0af58:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0af5c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0af60:	40 9e 00 20 	bne-    cr7,ffc0af80 <_Thread_Delay_ended+0x3c><== NEVER TAKEN
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_Clear_state(                                            
ffc0af64:	3c 80 10 00 	lis     r4,4096                                
ffc0af68:	60 84 00 18 	ori     r4,r4,24                               
ffc0af6c:	4b ff fd 55 	bl      ffc0acc0 <_Thread_Clear_state>         
ffc0af70:	3d 20 00 00 	lis     r9,0                                   
ffc0af74:	81 69 27 48 	lwz     r11,10056(r9)                          
ffc0af78:	38 0b ff ff 	addi    r0,r11,-1                              
ffc0af7c:	90 09 27 48 	stw     r0,10056(r9)                           
          | STATES_INTERRUPTIBLE_BY_SIGNAL                            
      );                                                              
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
ffc0af80:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0af84:	38 21 00 18 	addi    r1,r1,24                               
ffc0af88:	7c 08 03 a6 	mtlr    r0                                     
ffc0af8c:	4e 80 00 20 	blr                                            
                                                                      

ffc0af90 <_Thread_Dispatch>: * dispatch thread * no dispatch thread */ void _Thread_Dispatch( void ) {
ffc0af90:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc0af94:	7c 08 02 a6 	mflr    r0                                     
ffc0af98:	be a1 00 1c 	stmw    r21,28(r1)                             
  Thread_Control   *executing;                                        
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
ffc0af9c:	3f 40 00 00 	lis     r26,0                                  
ffc0afa0:	39 3a 2e 24 	addi    r9,r26,11812                           
 *    dispatch thread                                                 
 *    no dispatch thread                                              
 */                                                                   
                                                                      
void _Thread_Dispatch( void )                                         
{                                                                     
ffc0afa4:	90 01 00 4c 	stw     r0,76(r1)                              
  Thread_Control   *executing;                                        
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
ffc0afa8:	83 e9 00 0c 	lwz     r31,12(r9)                             
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc0afac:	7c 00 00 a6 	mfmsr   r0                                     
ffc0afb0:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0afb4:	7c 09 48 78 	andc    r9,r0,r9                               
ffc0afb8:	7d 20 01 24 	mtmsr   r9                                     
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
        _Timestamp_Subtract(                                          
ffc0afbc:	3f 80 00 00 	lis     r28,0                                  
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_disable_level = 1;                               
ffc0afc0:	3e a0 00 00 	lis     r21,0                                  
ffc0afc4:	3a c0 00 01 	li      r22,1                                  
    _Thread_Dispatch_necessary = false;                               
ffc0afc8:	3a e0 00 00 	li      r23,0                                  
#if __RTEMS_ADA__                                                     
    executing->rtems_ada_self = rtems_ada_self;                       
    rtems_ada_self = heir->rtems_ada_self;                            
#endif                                                                
    if ( heir->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE )
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
ffc0afcc:	3f 00 00 00 	lis     r24,0                                  
    _ISR_Enable( level );                                             
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
ffc0afd0:	3b 61 00 08 	addi    r27,r1,8                               
        _Timestamp_Subtract(                                          
ffc0afd4:	3b 9c 27 7c 	addi    r28,r28,10108                          
ffc0afd8:	3b a1 00 10 	addi    r29,r1,16                              
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
ffc0afdc:	3f 20 00 00 	lis     r25,0                                  
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
ffc0afe0:	48 00 00 dc 	b       ffc0b0bc <_Thread_Dispatch+0x12c>      
    heir = _Thread_Heir;                                              
ffc0afe4:	83 c9 00 10 	lwz     r30,16(r9)                             
    _Thread_Dispatch_disable_level = 1;                               
ffc0afe8:	92 d5 27 48 	stw     r22,10056(r21)                         
    /*                                                                
     *  When the heir and executing are the same, then we are being   
     *  requested to do the post switch dispatching.  This is normally
     *  done to dispatch signals.                                     
     */                                                               
    if ( heir == executing )                                          
ffc0afec:	7f 9e f8 00 	cmpw    cr7,r30,r31                            
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_disable_level = 1;                               
    _Thread_Dispatch_necessary = false;                               
ffc0aff0:	9a e9 00 18 	stb     r23,24(r9)                             
    _Thread_Executing = heir;                                         
ffc0aff4:	93 c9 00 0c 	stw     r30,12(r9)                             
    /*                                                                
     *  When the heir and executing are the same, then we are being   
     *  requested to do the post switch dispatching.  This is normally
     *  done to dispatch signals.                                     
     */                                                               
    if ( heir == executing )                                          
ffc0aff8:	41 9e 00 d4 	beq-    cr7,ffc0b0cc <_Thread_Dispatch+0x13c>  
     */                                                               
#if __RTEMS_ADA__                                                     
    executing->rtems_ada_self = rtems_ada_self;                       
    rtems_ada_self = heir->rtems_ada_self;                            
#endif                                                                
    if ( heir->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE )
ffc0affc:	81 3e 00 7c 	lwz     r9,124(r30)                            
ffc0b000:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc0b004:	40 be 00 0c 	bne+    cr7,ffc0b010 <_Thread_Dispatch+0x80>   
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
ffc0b008:	81 38 27 44 	lwz     r9,10052(r24)                          
ffc0b00c:	91 3e 00 78 	stw     r9,120(r30)                            
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc0b010:	7c 00 01 24 	mtmsr   r0                                     
    _ISR_Enable( level );                                             
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
ffc0b014:	7f 63 db 78 	mr      r3,r27                                 
ffc0b018:	48 00 63 4d 	bl      ffc11364 <_TOD_Get_uptime>             
        _Timestamp_Subtract(                                          
ffc0b01c:	7f 83 e3 78 	mr      r3,r28                                 
ffc0b020:	7f 64 db 78 	mr      r4,r27                                 
ffc0b024:	7f a5 eb 78 	mr      r5,r29                                 
ffc0b028:	48 00 0f 9d 	bl      ffc0bfc4 <_Timespec_Subtract>          
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
ffc0b02c:	38 7f 00 84 	addi    r3,r31,132                             
ffc0b030:	7f a4 eb 78 	mr      r4,r29                                 
ffc0b034:	48 00 0f 35 	bl      ffc0bf68 <_Timespec_Add_to>            
        _Thread_Time_of_last_context_switch = uptime;                 
ffc0b038:	81 21 00 08 	lwz     r9,8(r1)                               
ffc0b03c:	81 41 00 0c 	lwz     r10,12(r1)                             
ffc0b040:	91 3c 00 00 	stw     r9,0(r28)                              
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
ffc0b044:	81 39 27 5c 	lwz     r9,10076(r25)                          
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
        _Thread_Time_of_last_context_switch = uptime;                 
ffc0b048:	91 5c 00 04 	stw     r10,4(r28)                             
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
ffc0b04c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0b050:	41 9e 00 14 	beq-    cr7,ffc0b064 <_Thread_Dispatch+0xd4>   <== NEVER TAKEN
      executing->libc_reent = *_Thread_libc_reent;                    
ffc0b054:	80 09 00 00 	lwz     r0,0(r9)                               
ffc0b058:	90 1f 01 3c 	stw     r0,316(r31)                            
      *_Thread_libc_reent = heir->libc_reent;                         
ffc0b05c:	80 1e 01 3c 	lwz     r0,316(r30)                            
ffc0b060:	90 09 00 00 	stw     r0,0(r9)                               
    }                                                                 
                                                                      
    _User_extensions_Thread_switch( executing, heir );                
ffc0b064:	7f e3 fb 78 	mr      r3,r31                                 
ffc0b068:	7f c4 f3 78 	mr      r4,r30                                 
ffc0b06c:	48 00 12 85 	bl      ffc0c2f0 <_User_extensions_Thread_switch>
     *  operations.                                                   
     */                                                               
                                                                      
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
#if ( CPU_USE_DEFERRED_FP_SWITCH != TRUE )                            
    if ( executing->fp_context != NULL )                              
ffc0b070:	80 1f 01 38 	lwz     r0,312(r31)                            
ffc0b074:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0b078:	41 9e 00 0c 	beq-    cr7,ffc0b084 <_Thread_Dispatch+0xf4>   
      _Context_Save_fp( &executing->fp_context );                     
ffc0b07c:	38 7f 01 38 	addi    r3,r31,312                             
ffc0b080:	48 00 d1 e1 	bl      ffc18260 <_CPU_Context_save_fp>        
#endif                                                                
#endif                                                                
                                                                      
    _Context_Switch( &executing->Registers, &heir->Registers );       
ffc0b084:	38 7f 00 d8 	addi    r3,r31,216                             
ffc0b088:	38 9e 00 d8 	addi    r4,r30,216                             
ffc0b08c:	48 00 d3 55 	bl      ffc183e0 <_CPU_Context_switch>         
        _Context_Save_fp( &_Thread_Allocated_fp->fp_context );        
      _Context_Restore_fp( &executing->fp_context );                  
      _Thread_Allocated_fp = executing;                               
    }                                                                 
#else                                                                 
    if ( executing->fp_context != NULL )                              
ffc0b090:	80 1f 01 38 	lwz     r0,312(r31)                            
ffc0b094:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0b098:	41 9e 00 0c 	beq-    cr7,ffc0b0a4 <_Thread_Dispatch+0x114>  
      _Context_Restore_fp( &executing->fp_context );                  
ffc0b09c:	38 7f 01 38 	addi    r3,r31,312                             
ffc0b0a0:	48 00 d2 81 	bl      ffc18320 <_CPU_Context_restore_fp>     
#endif                                                                
#endif                                                                
                                                                      
    executing = _Thread_Executing;                                    
ffc0b0a4:	39 3a 2e 24 	addi    r9,r26,11812                           
ffc0b0a8:	83 e9 00 0c 	lwz     r31,12(r9)                             
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc0b0ac:	7c 00 00 a6 	mfmsr   r0                                     
ffc0b0b0:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0b0b4:	7c 09 48 78 	andc    r9,r0,r9                               
ffc0b0b8:	7d 20 01 24 	mtmsr   r9                                     
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
ffc0b0bc:	39 3a 2e 24 	addi    r9,r26,11812                           
ffc0b0c0:	89 69 00 18 	lbz     r11,24(r9)                             
ffc0b0c4:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc0b0c8:	40 9e ff 1c 	bne+    cr7,ffc0afe4 <_Thread_Dispatch+0x54>   
                                                                      
    _ISR_Disable( level );                                            
  }                                                                   
                                                                      
post_switch:                                                          
  _Thread_Dispatch_disable_level = 0;                                 
ffc0b0cc:	39 60 00 00 	li      r11,0                                  
ffc0b0d0:	3d 20 00 00 	lis     r9,0                                   
ffc0b0d4:	91 69 27 48 	stw     r11,10056(r9)                          
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc0b0d8:	7c 00 01 24 	mtmsr   r0                                     
                                                                      
  _ISR_Enable( level );                                               
                                                                      
  _API_extensions_Run_postswitch();                                   
ffc0b0dc:	4b ff e5 6d 	bl      ffc09648 <_API_extensions_Run_postswitch>
}                                                                     
ffc0b0e0:	39 61 00 48 	addi    r11,r1,72                              
ffc0b0e4:	48 00 d0 88 	b       ffc1816c <_restgpr_21_x>               
                                                                      

ffc0b108 <_Thread_Get>: */ Thread_Control *_Thread_Get ( Objects_Id id, Objects_Locations *location ) {
ffc0b108:	7c 85 23 78 	mr      r5,r4                                  
ffc0b10c:	94 21 ff f8 	stwu    r1,-8(r1)                              
  uint32_t             the_class;                                     
  Objects_Information **api_information;                              
  Objects_Information *information;                                   
  Thread_Control      *tp = (Thread_Control *) 0;                     
                                                                      
  if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ) {           
ffc0b110:	7c 64 1b 79 	mr.     r4,r3                                  
 */                                                                   
Thread_Control *_Thread_Get (                                         
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
ffc0b114:	7c 08 02 a6 	mflr    r0                                     
ffc0b118:	90 01 00 0c 	stw     r0,12(r1)                              
  uint32_t             the_class;                                     
  Objects_Information **api_information;                              
  Objects_Information *information;                                   
  Thread_Control      *tp = (Thread_Control *) 0;                     
                                                                      
  if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ) {           
ffc0b11c:	40 a2 00 24 	bne+    ffc0b140 <_Thread_Get+0x38>            
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
ffc0b120:	3d 20 00 00 	lis     r9,0                                   
ffc0b124:	81 69 27 48 	lwz     r11,10056(r9)                          
ffc0b128:	38 0b 00 01 	addi    r0,r11,1                               
ffc0b12c:	90 09 27 48 	stw     r0,10056(r9)                           
    _Thread_Disable_dispatch();                                       
    *location = OBJECTS_LOCAL;                                        
    tp = _Thread_Executing;                                           
ffc0b130:	3d 20 00 00 	lis     r9,0                                   
  Objects_Information *information;                                   
  Thread_Control      *tp = (Thread_Control *) 0;                     
                                                                      
  if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ) {           
    _Thread_Disable_dispatch();                                       
    *location = OBJECTS_LOCAL;                                        
ffc0b134:	90 85 00 00 	stw     r4,0(r5)                               
    tp = _Thread_Executing;                                           
ffc0b138:	80 69 2e 30 	lwz     r3,11824(r9)                           
    goto done;                                                        
ffc0b13c:	48 00 00 58 	b       ffc0b194 <_Thread_Get+0x8c>            
 */                                                                   
RTEMS_INLINE_ROUTINE Objects_APIs _Objects_Get_API(                   
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (Objects_APIs) ((id >> OBJECTS_API_START_BIT) & OBJECTS_API_VALID_BITS);
ffc0b140:	54 89 47 7e 	rlwinm  r9,r4,8,29,31                          
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Objects_Is_api_valid(                      
  uint32_t   the_api                                                  
)                                                                     
{                                                                     
  if ( !the_api || the_api > OBJECTS_APIS_LAST )                      
ffc0b144:	38 09 ff ff 	addi    r0,r9,-1                               
ffc0b148:	2b 80 00 02 	cmplwi  cr7,r0,2                               
ffc0b14c:	40 9d 00 58 	ble-    cr7,ffc0b1a4 <_Thread_Get+0x9c>        
    goto done;                                                        
  }                                                                   
                                                                      
  the_class = _Objects_Get_class( id );                               
  if ( the_class != 1 ) {       /* threads are always first class :) */
    *location = OBJECTS_ERROR;                                        
ffc0b150:	38 00 00 01 	li      r0,1                                   
ffc0b154:	48 00 00 1c 	b       ffc0b170 <_Thread_Get+0x68>            
    goto done;                                                        
  }                                                                   
                                                                      
  api_information = _Objects_Information_table[ the_api ];            
ffc0b158:	3d 60 00 00 	lis     r11,0                                  
ffc0b15c:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           
ffc0b160:	39 6b 2c 00 	addi    r11,r11,11264                          
ffc0b164:	7d 2b 48 2e 	lwzx    r9,r11,r9                              
  /*                                                                  
   *  There is no way for this to happen if POSIX is enabled.         
   */                                                                 
  #if !defined(RTEMS_POSIX_API)                                       
    if ( !api_information ) {                                         
ffc0b168:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0b16c:	40 be 00 10 	bne+    cr7,ffc0b17c <_Thread_Get+0x74>        <== ALWAYS TAKEN
      *location = OBJECTS_ERROR;                                      
ffc0b170:	90 05 00 00 	stw     r0,0(r5)                               
{                                                                     
  uint32_t             the_api;                                       
  uint32_t             the_class;                                     
  Objects_Information **api_information;                              
  Objects_Information *information;                                   
  Thread_Control      *tp = (Thread_Control *) 0;                     
ffc0b174:	38 60 00 00 	li      r3,0                                   
   *  There is no way for this to happen if POSIX is enabled.         
   */                                                                 
  #if !defined(RTEMS_POSIX_API)                                       
    if ( !api_information ) {                                         
      *location = OBJECTS_ERROR;                                      
      goto done;                                                      
ffc0b178:	48 00 00 1c 	b       ffc0b194 <_Thread_Get+0x8c>            
    }                                                                 
  #endif                                                              
                                                                      
  information = api_information[ the_class ];                         
ffc0b17c:	80 69 00 04 	lwz     r3,4(r9)                               
  if ( !information ) {                                               
ffc0b180:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0b184:	40 be 00 0c 	bne+    cr7,ffc0b190 <_Thread_Get+0x88>        
    *location = OBJECTS_ERROR;                                        
ffc0b188:	90 05 00 00 	stw     r0,0(r5)                               
    goto done;                                                        
ffc0b18c:	48 00 00 08 	b       ffc0b194 <_Thread_Get+0x8c>            
  }                                                                   
                                                                      
  tp = (Thread_Control *) _Objects_Get( information, id, location );  
ffc0b190:	4b ff f5 1d 	bl      ffc0a6ac <_Objects_Get>                
                                                                      
done:                                                                 
  return tp;                                                          
}                                                                     
ffc0b194:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0b198:	38 21 00 08 	addi    r1,r1,8                                
ffc0b19c:	7c 08 03 a6 	mtlr    r0                                     
ffc0b1a0:	4e 80 00 20 	blr                                            
 */                                                                   
RTEMS_INLINE_ROUTINE uint32_t _Objects_Get_class(                     
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (uint32_t)                                                   
ffc0b1a4:	54 80 2e fe 	rlwinm  r0,r4,5,27,31                          
    *location = OBJECTS_ERROR;                                        
    goto done;                                                        
  }                                                                   
                                                                      
  the_class = _Objects_Get_class( id );                               
  if ( the_class != 1 ) {       /* threads are always first class :) */
ffc0b1a8:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0b1ac:	41 9e ff ac 	beq+    cr7,ffc0b158 <_Thread_Get+0x50>        
ffc0b1b0:	4b ff ff a0 	b       ffc0b150 <_Thread_Get+0x48>            
                                                                      

ffc13228 <_Thread_Handler>: * * Output parameters: NONE */ void _Thread_Handler( void ) {
ffc13228:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc1322c:	7c 08 02 a6 	mflr    r0                                     
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    static char doneConstructors;                                     
    char doneCons;                                                    
  #endif                                                              
                                                                      
  executing = _Thread_Executing;                                      
ffc13230:	3d 20 00 00 	lis     r9,0                                   
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Thread_Handler( void )                                          
{                                                                     
ffc13234:	90 01 00 14 	stw     r0,20(r1)                              
ffc13238:	bf c1 00 08 	stmw    r30,8(r1)                              
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    static char doneConstructors;                                     
    char doneCons;                                                    
  #endif                                                              
                                                                      
  executing = _Thread_Executing;                                      
ffc1323c:	83 e9 2e 30 	lwz     r31,11824(r9)                          
  /*                                                                  
   * have to put level into a register for those cpu's that use       
   * inline asm here                                                  
   */                                                                 
                                                                      
  level = executing->Start.isr_level;                                 
ffc13240:	81 3f 00 c0 	lwz     r9,192(r31)                            
}                                                                     
                                                                      
static inline void _CPU_ISR_Set_level( uint32_t   level )             
{                                                                     
  register unsigned int msr;                                          
  _CPU_MSR_GET(msr);                                                  
ffc13244:	38 00 00 00 	li      r0,0                                   
ffc13248:	7c 00 00 a6 	mfmsr   r0                                     
  if (!(level & CPU_MODES_INTERRUPT_MASK)) {                          
ffc1324c:	71 2b 00 01 	andi.   r11,r9,1                               
ffc13250:	40 82 00 10 	bne-    ffc13260 <_Thread_Handler+0x38>        
                                                                      
static inline uint32_t ppc_interrupt_get_disable_mask( void )         
{                                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc13254:	7d 30 42 a6 	mfsprg  r9,0                                   
    msr |= ppc_interrupt_get_disable_mask();                          
ffc13258:	7d 20 03 78 	or      r0,r9,r0                               
ffc1325c:	48 00 00 0c 	b       ffc13268 <_Thread_Handler+0x40>        
ffc13260:	7d 30 42 a6 	mfsprg  r9,0                                   
  }                                                                   
  else {                                                              
    msr &= ~ppc_interrupt_get_disable_mask();                         
ffc13264:	7c 00 48 78 	andc    r0,r0,r9                               
  }                                                                   
  _CPU_MSR_SET(msr);                                                  
ffc13268:	7c 00 01 24 	mtmsr   r0                                     
  _ISR_Set_level(level);                                              
                                                                      
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    doneCons = doneConstructors;                                      
ffc1326c:	3d 20 00 00 	lis     r9,0                                   
ffc13270:	8b c9 29 98 	lbz     r30,10648(r9)                          
    doneConstructors = 1;                                             
ffc13274:	38 00 00 01 	li      r0,1                                   
  /*                                                                  
   * Take care that 'begin' extensions get to complete before         
   * 'switch' extensions can run.  This means must keep dispatch      
   * disabled until all 'begin' extensions complete.                  
   */                                                                 
  _User_extensions_Thread_begin( executing );                         
ffc13278:	7f e3 fb 78 	mr      r3,r31                                 
  level = executing->Start.isr_level;                                 
  _ISR_Set_level(level);                                              
                                                                      
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    doneCons = doneConstructors;                                      
    doneConstructors = 1;                                             
ffc1327c:	98 09 29 98 	stb     r0,10648(r9)                           
  /*                                                                  
   * Take care that 'begin' extensions get to complete before         
   * 'switch' extensions can run.  This means must keep dispatch      
   * disabled until all 'begin' extensions complete.                  
   */                                                                 
  _User_extensions_Thread_begin( executing );                         
ffc13280:	4b ff 8e 3d 	bl      ffc0c0bc <_User_extensions_Thread_begin>
                                                                      
  /*                                                                  
   *  At this point, the dispatch disable level BETTER be 1.          
   */                                                                 
  _Thread_Enable_dispatch();                                          
ffc13284:	4b ff 7e 65 	bl      ffc0b0e8 <_Thread_Enable_dispatch>     
    /*                                                                
     *  _init could be a weak symbol and we SHOULD test it but it isn't
     *  in any configuration I know of and it generates a warning on every
     *  RTEMS target configuration.  --joel (12 May 2007)             
     */                                                               
    if (!doneCons) /* && (volatile void *)_init) */ {                 
ffc13288:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc1328c:	40 be 00 08 	bne+    cr7,ffc13294 <_Thread_Handler+0x6c>    
      INIT_NAME ();                                                   
ffc13290:	48 00 5c 2d 	bl      ffc18ebc <_init>                       
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
ffc13294:	80 1f 00 a8 	lwz     r0,168(r31)                            
ffc13298:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1329c:	40 be 00 18 	bne+    cr7,ffc132b4 <_Thread_Handler+0x8c>    <== NEVER TAKEN
    executing->Wait.return_argument =                                 
      (*(Thread_Entry_numeric) executing->Start.entry_point)(         
ffc132a0:	80 1f 00 a4 	lwz     r0,164(r31)                            
ffc132a4:	80 7f 00 b0 	lwz     r3,176(r31)                            
ffc132a8:	7c 09 03 a6 	mtctr   r0                                     
ffc132ac:	4e 80 04 21 	bctrl                                          
      INIT_NAME ();                                                   
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
    executing->Wait.return_argument =                                 
ffc132b0:	90 7f 00 28 	stw     r3,40(r31)                             
   *  was placed in return_argument.  This assumed that if it returned
   *  anything (which is not supporting in all APIs), then it would be
   *  able to fit in a (void *).                                      
   */                                                                 
                                                                      
  _User_extensions_Thread_exitted( executing );                       
ffc132b4:	7f e3 fb 78 	mr      r3,r31                                 
ffc132b8:	4b ff 8e 59 	bl      ffc0c110 <_User_extensions_Thread_exitted>
                                                                      
  _Internal_error_Occurred(                                           
ffc132bc:	38 60 00 00 	li      r3,0                                   
ffc132c0:	38 80 00 01 	li      r4,1                                   
ffc132c4:	38 a0 00 05 	li      r5,5                                   
ffc132c8:	4b ff 6e 75 	bl      ffc0a13c <_Internal_error_Occurred>    
                                                                      

ffc0b1b4 <_Thread_Initialize>: Thread_CPU_budget_algorithms budget_algorithm, Thread_CPU_budget_algorithm_callout budget_callout, uint32_t isr_level, Objects_Name name ) {
ffc0b1b4:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc0b1b8:	7c 08 02 a6 	mflr    r0                                     
ffc0b1bc:	be e1 00 0c 	stmw    r23,12(r1)                             
                                                                      
  /*                                                                  
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
ffc0b1c0:	3b 20 00 00 	li      r25,0                                  
  Thread_CPU_budget_algorithms          budget_algorithm,             
  Thread_CPU_budget_algorithm_callout   budget_callout,               
  uint32_t                              isr_level,                    
  Objects_Name                          name                          
)                                                                     
{                                                                     
ffc0b1c4:	7d 3a 4b 78 	mr      r26,r9                                 
ffc0b1c8:	90 01 00 34 	stw     r0,52(r1)                              
ffc0b1cc:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0b1d0:	7c 9f 23 78 	mr      r31,r4                                 
ffc0b1d4:	81 21 00 40 	lwz     r9,64(r1)                              
                                                                      
  /*                                                                  
   *  Allocate and Initialize the stack for this thread.              
   */                                                                 
  #if !defined(RTEMS_SCORE_THREAD_ENABLE_USER_PROVIDED_STACK_VIA_API) 
    actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
ffc0b1d8:	7c 83 23 78 	mr      r3,r4                                  
                                                                      
  /*                                                                  
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
ffc0b1dc:	93 24 01 40 	stw     r25,320(r4)                            
  Thread_CPU_budget_algorithms          budget_algorithm,             
  Thread_CPU_budget_algorithm_callout   budget_callout,               
  uint32_t                              isr_level,                    
  Objects_Name                          name                          
)                                                                     
{                                                                     
ffc0b1e0:	7c dd 33 78 	mr      r29,r6                                 
ffc0b1e4:	7c fc 3b 78 	mr      r28,r7                                 
                                                                      
  /*                                                                  
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
ffc0b1e8:	93 24 01 44 	stw     r25,324(r4)                            
  Thread_CPU_budget_algorithms          budget_algorithm,             
  Thread_CPU_budget_algorithm_callout   budget_callout,               
  uint32_t                              isr_level,                    
  Objects_Name                          name                          
)                                                                     
{                                                                     
ffc0b1ec:	7d 1b 43 78 	mr      r27,r8                                 
ffc0b1f0:	7d 57 53 78 	mr      r23,r10                                
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
                                                                      
  extensions_area = NULL;                                             
  the_thread->libc_reent = NULL;                                      
ffc0b1f4:	93 24 01 3c 	stw     r25,316(r4)                            
                                                                      
  /*                                                                  
   *  Allocate and Initialize the stack for this thread.              
   */                                                                 
  #if !defined(RTEMS_SCORE_THREAD_ENABLE_USER_PROVIDED_STACK_VIA_API) 
    actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
ffc0b1f8:	7c c4 33 78 	mr      r4,r6                                  
  Thread_CPU_budget_algorithms          budget_algorithm,             
  Thread_CPU_budget_algorithm_callout   budget_callout,               
  uint32_t                              isr_level,                    
  Objects_Name                          name                          
)                                                                     
{                                                                     
ffc0b1fc:	83 09 00 00 	lwz     r24,0(r9)                              
                                                                      
  /*                                                                  
   *  Allocate and Initialize the stack for this thread.              
   */                                                                 
  #if !defined(RTEMS_SCORE_THREAD_ENABLE_USER_PROVIDED_STACK_VIA_API) 
    actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
ffc0b200:	48 00 0a 29 	bl      ffc0bc28 <_Thread_Stack_Allocate>      
    if ( !actual_stack_size || actual_stack_size < stack_size )       
ffc0b204:	2c 03 00 00 	cmpwi   r3,0                                   
      return false;                     /* stack allocation failed */ 
ffc0b208:	38 00 00 00 	li      r0,0                                   
  /*                                                                  
   *  Allocate and Initialize the stack for this thread.              
   */                                                                 
  #if !defined(RTEMS_SCORE_THREAD_ENABLE_USER_PROVIDED_STACK_VIA_API) 
    actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
    if ( !actual_stack_size || actual_stack_size < stack_size )       
ffc0b20c:	41 82 01 7c 	beq-    ffc0b388 <_Thread_Initialize+0x1d4>    
ffc0b210:	7f 83 e8 40 	cmplw   cr7,r3,r29                             
ffc0b214:	41 9c 01 74 	blt-    cr7,ffc0b388 <_Thread_Initialize+0x1d4><== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Allocate the floating point area for this thread                
   */                                                                 
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( is_fp ) {                                                    
ffc0b218:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
  Stack_Control *the_stack,                                           
  void          *starting_address,                                    
  size_t         size                                                 
)                                                                     
{                                                                     
  the_stack->area = starting_address;                                 
ffc0b21c:	80 1f 00 d4 	lwz     r0,212(r31)                            
  the_stack->size = size;                                             
ffc0b220:	90 7f 00 c8 	stw     r3,200(r31)                            
  Stack_Control *the_stack,                                           
  void          *starting_address,                                    
  size_t         size                                                 
)                                                                     
{                                                                     
  the_stack->area = starting_address;                                 
ffc0b224:	90 1f 00 cc 	stw     r0,204(r31)                            
ffc0b228:	41 be 00 14 	beq+    cr7,ffc0b23c <_Thread_Initialize+0x88> 
      fp_area = _Workspace_Allocate( CONTEXT_FP_SIZE );               
ffc0b22c:	38 60 01 08 	li      r3,264                                 
ffc0b230:	48 00 13 81 	bl      ffc0c5b0 <_Workspace_Allocate>         
      if ( !fp_area )                                                 
ffc0b234:	7c 79 1b 79 	mr.     r25,r3                                 
ffc0b238:	41 82 00 f0 	beq-    ffc0b328 <_Thread_Initialize+0x174>    
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
ffc0b23c:	3d 20 00 00 	lis     r9,0                                   
      fp_area = _Workspace_Allocate( CONTEXT_FP_SIZE );               
      if ( !fp_area )                                                 
        goto failed;                                                  
      fp_area = _Context_Fp_start( fp_area, 0 );                      
    }                                                                 
    the_thread->fp_context       = fp_area;                           
ffc0b240:	93 3f 01 38 	stw     r25,312(r31)                           
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
ffc0b244:	38 00 00 00 	li      r0,0                                   
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
ffc0b248:	80 69 27 68 	lwz     r3,10088(r9)                           
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
                                                                      
  extensions_area = NULL;                                             
ffc0b24c:	3b a0 00 00 	li      r29,0                                  
      if ( !fp_area )                                                 
        goto failed;                                                  
      fp_area = _Context_Fp_start( fp_area, 0 );                      
    }                                                                 
    the_thread->fp_context       = fp_area;                           
    the_thread->Start.fp_context = fp_area;                           
ffc0b250:	93 3f 00 d0 	stw     r25,208(r31)                           
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
ffc0b254:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0b258:	90 1f 00 50 	stw     r0,80(r31)                             
  the_watchdog->routine   = routine;                                  
ffc0b25c:	90 1f 00 64 	stw     r0,100(r31)                            
  the_watchdog->id        = id;                                       
ffc0b260:	90 1f 00 68 	stw     r0,104(r31)                            
  the_watchdog->user_data = user_data;                                
ffc0b264:	90 1f 00 6c 	stw     r0,108(r31)                            
ffc0b268:	41 be 00 18 	beq+    cr7,ffc0b280 <_Thread_Initialize+0xcc> 
    extensions_area = _Workspace_Allocate(                            
ffc0b26c:	38 63 00 01 	addi    r3,r3,1                                
ffc0b270:	54 63 10 3a 	rlwinm  r3,r3,2,0,29                           
ffc0b274:	48 00 13 3d 	bl      ffc0c5b0 <_Workspace_Allocate>         
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
ffc0b278:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc0b27c:	41 82 00 b0 	beq-    ffc0b32c <_Thread_Initialize+0x178>    
   * if they are linked to the thread. An extension user may          
   * create the extension long after tasks have been created          
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
ffc0b280:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
ffc0b284:	93 bf 01 48 	stw     r29,328(r31)                           
   * if they are linked to the thread. An extension user may          
   * create the extension long after tasks have been created          
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
ffc0b288:	41 9e 00 2c 	beq-    cr7,ffc0b2b4 <_Thread_Initialize+0x100>
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
ffc0b28c:	3d 20 00 00 	lis     r9,0                                   
ffc0b290:	81 49 27 68 	lwz     r10,10088(r9)                          
 *  all memory associated with this thread.  It completes by adding   
 *  the thread to the local object table so operations on this        
 *  thread id are allowed.                                            
 */                                                                   
                                                                      
bool _Thread_Initialize(                                              
ffc0b294:	39 7d ff fc 	addi    r11,r29,-4                             
ffc0b298:	39 20 00 00 	li      r9,0                                   
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
      the_thread->extensions[i] = NULL;                               
ffc0b29c:	38 00 00 00 	li      r0,0                                   
ffc0b2a0:	48 00 00 0c 	b       ffc0b2ac <_Thread_Initialize+0xf8>     
ffc0b2a4:	94 0b 00 04 	stwu    r0,4(r11)                              
   * create the extension long after tasks have been created          
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
ffc0b2a8:	39 29 00 01 	addi    r9,r9,1                                
ffc0b2ac:	7f 89 50 40 	cmplw   cr7,r9,r10                             
ffc0b2b0:	40 9d ff f4 	ble+    cr7,ffc0b2a4 <_Thread_Initialize+0xf0> 
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
  the_thread->Start.budget_callout   = budget_callout;                
ffc0b2b4:	80 01 00 38 	lwz     r0,56(r1)                              
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
  the_thread->Wait.queue              = NULL;                         
ffc0b2b8:	3b 80 00 00 	li      r28,0                                  
                                                                      
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
ffc0b2bc:	9b 5f 00 b4 	stb     r26,180(r31)                           
  the_thread->current_state           = STATES_DORMANT;               
  the_thread->Wait.queue              = NULL;                         
  the_thread->resource_count          = 0;                            
  the_thread->real_priority           = priority;                     
  the_thread->Start.initial_priority  = priority;                     
  _Thread_Set_priority( the_thread, priority );                       
ffc0b2c0:	7f e3 fb 78 	mr      r3,r31                                 
ffc0b2c4:	7f 64 db 78 	mr      r4,r27                                 
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
  the_thread->Start.budget_callout   = budget_callout;                
ffc0b2c8:	90 1f 00 bc 	stw     r0,188(r31)                            
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
ffc0b2cc:	80 01 00 3c 	lwz     r0,60(r1)                              
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
ffc0b2d0:	92 ff 00 b8 	stw     r23,184(r31)                           
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
ffc0b2d4:	90 1f 00 c0 	stw     r0,192(r31)                            
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
ffc0b2d8:	38 00 00 01 	li      r0,1                                   
ffc0b2dc:	90 1f 00 10 	stw     r0,16(r31)                             
  the_thread->Wait.queue              = NULL;                         
ffc0b2e0:	93 9f 00 44 	stw     r28,68(r31)                            
  the_thread->resource_count          = 0;                            
ffc0b2e4:	93 9f 00 1c 	stw     r28,28(r31)                            
  the_thread->real_priority           = priority;                     
ffc0b2e8:	93 7f 00 18 	stw     r27,24(r31)                            
  the_thread->Start.initial_priority  = priority;                     
ffc0b2ec:	93 7f 00 c4 	stw     r27,196(r31)                           
  _Thread_Set_priority( the_thread, priority );                       
ffc0b2f0:	48 00 07 2d 	bl      ffc0ba1c <_Thread_Set_priority>        
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
ffc0b2f4:	a0 1f 00 0a 	lhz     r0,10(r31)                             
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  return false;                                                       
                                                                      
                                                                      
}                                                                     
ffc0b2f8:	81 3e 00 1c 	lwz     r9,28(r30)                             
   *  enabled when we get here.  We want to be able to run the        
   *  user extensions with dispatching enabled.  The Allocator        
   *  Mutex provides sufficient protection to let the user extensions 
   *  run safely.                                                     
   */                                                                 
  extension_status = _User_extensions_Thread_create( the_thread );    
ffc0b2fc:	7f e3 fb 78 	mr      r3,r31                                 
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
ffc0b300:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
                                                                      
  /*                                                                  
   *  Initialize the CPU usage statistics                             
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Set_to_zero( &the_thread->cpu_time_used );             
ffc0b304:	93 9f 00 84 	stw     r28,132(r31)                           
ffc0b308:	93 9f 00 88 	stw     r28,136(r31)                           
ffc0b30c:	7f e9 01 2e 	stwx    r31,r9,r0                              
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
ffc0b310:	93 1f 00 0c 	stw     r24,12(r31)                            
   *  enabled when we get here.  We want to be able to run the        
   *  user extensions with dispatching enabled.  The Allocator        
   *  Mutex provides sufficient protection to let the user extensions 
   *  run safely.                                                     
   */                                                                 
  extension_status = _User_extensions_Thread_create( the_thread );    
ffc0b314:	48 00 0e ad 	bl      ffc0c1c0 <_User_extensions_Thread_create>
  if ( extension_status )                                             
    return true;                                                      
ffc0b318:	38 00 00 01 	li      r0,1                                   
   *  user extensions with dispatching enabled.  The Allocator        
   *  Mutex provides sufficient protection to let the user extensions 
   *  run safely.                                                     
   */                                                                 
  extension_status = _User_extensions_Thread_create( the_thread );    
  if ( extension_status )                                             
ffc0b31c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0b320:	41 be 00 0c 	beq+    cr7,ffc0b32c <_Thread_Initialize+0x178>
ffc0b324:	48 00 00 64 	b       ffc0b388 <_Thread_Initialize+0x1d4>    
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
                                                                      
  extensions_area = NULL;                                             
ffc0b328:	3b a0 00 00 	li      r29,0                                  
  extension_status = _User_extensions_Thread_create( the_thread );    
  if ( extension_status )                                             
    return true;                                                      
                                                                      
failed:                                                               
  if ( the_thread->libc_reent )                                       
ffc0b32c:	80 7f 01 3c 	lwz     r3,316(r31)                            
ffc0b330:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0b334:	41 9e 00 08 	beq-    cr7,ffc0b33c <_Thread_Initialize+0x188>
    _Workspace_Free( the_thread->libc_reent );                        
ffc0b338:	48 00 12 ad 	bl      ffc0c5e4 <_Workspace_Free>             
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    if ( the_thread->API_Extensions[i] )                              
ffc0b33c:	80 7f 01 40 	lwz     r3,320(r31)                            
ffc0b340:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0b344:	41 9e 00 08 	beq-    cr7,ffc0b34c <_Thread_Initialize+0x198>
      _Workspace_Free( the_thread->API_Extensions[i] );               
ffc0b348:	48 00 12 9d 	bl      ffc0c5e4 <_Workspace_Free>             
failed:                                                               
  if ( the_thread->libc_reent )                                       
    _Workspace_Free( the_thread->libc_reent );                        
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    if ( the_thread->API_Extensions[i] )                              
ffc0b34c:	80 7f 01 44 	lwz     r3,324(r31)                            
ffc0b350:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0b354:	41 9e 00 08 	beq-    cr7,ffc0b35c <_Thread_Initialize+0x1a8><== ALWAYS TAKEN
      _Workspace_Free( the_thread->API_Extensions[i] );               
ffc0b358:	48 00 12 8d 	bl      ffc0c5e4 <_Workspace_Free>             <== NOT EXECUTED
                                                                      
  if ( extensions_area )                                              
ffc0b35c:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc0b360:	41 9e 00 0c 	beq-    cr7,ffc0b36c <_Thread_Initialize+0x1b8>
    (void) _Workspace_Free( extensions_area );                        
ffc0b364:	7f a3 eb 78 	mr      r3,r29                                 
ffc0b368:	48 00 12 7d 	bl      ffc0c5e4 <_Workspace_Free>             
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( fp_area )                                                    
ffc0b36c:	2f 99 00 00 	cmpwi   cr7,r25,0                              
ffc0b370:	41 9e 00 0c 	beq-    cr7,ffc0b37c <_Thread_Initialize+0x1c8>
      (void) _Workspace_Free( fp_area );                              
ffc0b374:	7f 23 cb 78 	mr      r3,r25                                 
ffc0b378:	48 00 12 6d 	bl      ffc0c5e4 <_Workspace_Free>             
  #endif                                                              
                                                                      
   _Thread_Stack_Free( the_thread );                                  
ffc0b37c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0b380:	48 00 09 1d 	bl      ffc0bc9c <_Thread_Stack_Free>          
  return false;                                                       
ffc0b384:	38 00 00 00 	li      r0,0                                   
                                                                      
                                                                      
}                                                                     
ffc0b388:	39 61 00 30 	addi    r11,r1,48                              
ffc0b38c:	7c 03 03 78 	mr      r3,r0                                  
ffc0b390:	48 00 cd e4 	b       ffc18174 <_restgpr_23_x>               
                                                                      

ffc0b680 <_Thread_Restart>: bool _Thread_Restart( Thread_Control *the_thread, void *pointer_argument, Thread_Entry_numeric_type numeric_argument ) {
ffc0b680:	7c 2b 0b 78 	mr      r11,r1                                 
ffc0b684:	7c 08 02 a6 	mflr    r0                                     
ffc0b688:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0b68c:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0b690:	48 00 f0 a9 	bl      ffc1a738 <_savegpr_31>                 
      _Thread_Restart_self();                                         
                                                                      
    return true;                                                      
  }                                                                   
                                                                      
  return false;                                                       
ffc0b694:	38 00 00 00 	li      r0,0                                   
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_dormant (                        
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_DORMANT);                              
ffc0b698:	81 23 00 10 	lwz     r9,16(r3)                              
bool _Thread_Restart(                                                 
  Thread_Control            *the_thread,                              
  void                      *pointer_argument,                        
  Thread_Entry_numeric_type  numeric_argument                         
)                                                                     
{                                                                     
ffc0b69c:	7c 7f 1b 78 	mr      r31,r3                                 
  if ( !_States_Is_dormant( the_thread->current_state ) ) {           
ffc0b6a0:	71 2b 00 01 	andi.   r11,r9,1                               
ffc0b6a4:	40 a2 00 74 	bne+    ffc0b718 <_Thread_Restart+0x98>        
                                                                      
    _Thread_Set_transient( the_thread );                              
ffc0b6a8:	90 81 00 08 	stw     r4,8(r1)                               
ffc0b6ac:	90 a1 00 0c 	stw     r5,12(r1)                              
ffc0b6b0:	48 00 01 ed 	bl      ffc0b89c <_Thread_Set_transient>       
                                                                      
    _Thread_Reset( the_thread, pointer_argument, numeric_argument );  
ffc0b6b4:	7f e3 fb 78 	mr      r3,r31                                 
ffc0b6b8:	80 81 00 08 	lwz     r4,8(r1)                               
ffc0b6bc:	80 a1 00 0c 	lwz     r5,12(r1)                              
ffc0b6c0:	48 00 34 7d 	bl      ffc0eb3c <_Thread_Reset>               
                                                                      
    _Thread_Load_environment( the_thread );                           
ffc0b6c4:	7f e3 fb 78 	mr      r3,r31                                 
ffc0b6c8:	48 00 30 ad 	bl      ffc0e774 <_Thread_Load_environment>    
                                                                      
    _Thread_Ready( the_thread );                                      
ffc0b6cc:	7f e3 fb 78 	mr      r3,r31                                 
ffc0b6d0:	48 00 33 95 	bl      ffc0ea64 <_Thread_Ready>               
                                                                      
    _User_extensions_Thread_restart( the_thread );                    
ffc0b6d4:	7f e3 fb 78 	mr      r3,r31                                 
ffc0b6d8:	48 00 09 2d 	bl      ffc0c004 <_User_extensions_Thread_restart>
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing (                      
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Executing );                         
ffc0b6dc:	3d 20 00 00 	lis     r9,0                                   
                                                                      
    if ( _Thread_Is_executing ( the_thread ) )                        
ffc0b6e0:	81 29 2d f0 	lwz     r9,11760(r9)                           
      _Thread_Restart_self();                                         
                                                                      
    return true;                                                      
ffc0b6e4:	38 00 00 01 	li      r0,1                                   
                                                                      
    _Thread_Ready( the_thread );                                      
                                                                      
    _User_extensions_Thread_restart( the_thread );                    
                                                                      
    if ( _Thread_Is_executing ( the_thread ) )                        
ffc0b6e8:	7f 9f 48 00 	cmpw    cr7,r31,r9                             
ffc0b6ec:	40 be 00 2c 	bne+    cr7,ffc0b718 <_Thread_Restart+0x98>    
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Restart_self( void )                
{                                                                     
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
  if ( _Thread_Executing->fp_context != NULL )                        
ffc0b6f0:	80 1f 01 38 	lwz     r0,312(r31)                            
ffc0b6f4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0b6f8:	41 9e 00 0c 	beq-    cr7,ffc0b704 <_Thread_Restart+0x84>    <== NEVER TAKEN
    _Context_Restore_fp( &_Thread_Executing->fp_context );            
ffc0b6fc:	38 7f 01 38 	addi    r3,r31,312                             
ffc0b700:	48 00 f1 a1 	bl      ffc1a8a0 <_CPU_Context_restore_fp>     
#endif                                                                
                                                                      
  _CPU_Context_Restart_self( &_Thread_Executing->Registers );         
ffc0b704:	3d 20 00 00 	lis     r9,0                                   
ffc0b708:	80 69 2d f0 	lwz     r3,11760(r9)                           
ffc0b70c:	38 63 00 d8 	addi    r3,r3,216                              
ffc0b710:	48 00 f3 51 	bl      ffc1aa60 <_CPU_Context_restore>        
      _Thread_Restart_self();                                         
                                                                      
    return true;                                                      
ffc0b714:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
  }                                                                   
                                                                      
  return false;                                                       
}                                                                     
ffc0b718:	39 61 00 18 	addi    r11,r1,24                              
ffc0b71c:	7c 03 03 78 	mr      r3,r0                                  
ffc0b720:	4b ff 56 38 	b       ffc00d58 <_restgpr_31_x>               
                                                                      

ffc0dcf0 <_Thread_Resume>: static inline uint32_t ppc_interrupt_disable( void ) { uint32_t level; uint32_t mask; asm volatile (
ffc0dcf0:	7c 00 00 a6 	mfmsr   r0                                     
ffc0dcf4:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0dcf8:	7c 09 48 78 	andc    r9,r0,r9                               
ffc0dcfc:	7d 20 01 24 	mtmsr   r9                                     
  ISR_Level       level;                                              
  States_Control  current_state;                                      
                                                                      
  _ISR_Disable( level );                                              
                                                                      
  current_state = the_thread->current_state;                          
ffc0dd00:	81 23 00 10 	lwz     r9,16(r3)                              
  if ( current_state & STATES_SUSPENDED ) {                           
ffc0dd04:	71 2b 00 02 	andi.   r11,r9,2                               
ffc0dd08:	41 82 00 ac 	beq-    ffc0ddb4 <_Thread_Resume+0xc4>         <== NEVER TAKEN
RTEMS_INLINE_ROUTINE States_Control _States_Clear (                   
  States_Control states_to_clear,                                     
  States_Control current_state                                        
)                                                                     
{                                                                     
   return (current_state & ~states_to_clear);                         
ffc0dd0c:	55 29 07 fa 	rlwinm  r9,r9,0,31,29                          
    current_state =                                                   
    the_thread->current_state = _States_Clear(STATES_SUSPENDED, current_state);
                                                                      
    if ( _States_Is_ready( current_state ) ) {                        
ffc0dd10:	2f 89 00 00 	cmpwi   cr7,r9,0                               
  _ISR_Disable( level );                                              
                                                                      
  current_state = the_thread->current_state;                          
  if ( current_state & STATES_SUSPENDED ) {                           
    current_state =                                                   
    the_thread->current_state = _States_Clear(STATES_SUSPENDED, current_state);
ffc0dd14:	91 23 00 10 	stw     r9,16(r3)                              
                                                                      
    if ( _States_Is_ready( current_state ) ) {                        
ffc0dd18:	40 9e 00 9c 	bne-    cr7,ffc0ddb4 <_Thread_Resume+0xc4>     
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_bit_map_Add (                     
  Priority_bit_map_Information *the_priority_map                      
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
ffc0dd1c:	81 23 00 90 	lwz     r9,144(r3)                             
ffc0dd20:	81 63 00 98 	lwz     r11,152(r3)                            
ffc0dd24:	81 49 00 00 	lwz     r10,0(r9)                              
ffc0dd28:	7d 4b 5b 78 	or      r11,r10,r11                            
ffc0dd2c:	91 69 00 00 	stw     r11,0(r9)                              
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
ffc0dd30:	3d 20 00 00 	lis     r9,0                                   
ffc0dd34:	81 49 27 6c 	lwz     r10,10092(r9)                          
ffc0dd38:	81 63 00 94 	lwz     r11,148(r3)                            
ffc0dd3c:	7d 4b 5b 78 	or      r11,r10,r11                            
ffc0dd40:	91 69 27 6c 	stw     r11,10092(r9)                          
                                                                      
      _Priority_bit_map_Add( &the_thread->Priority_map );             
                                                                      
      _Chain_Append_unprotected(the_thread->ready, &the_thread->Object.Node);
ffc0dd44:	81 23 00 8c 	lwz     r9,140(r3)                             
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
ffc0dd48:	39 69 00 04 	addi    r11,r9,4                               
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
ffc0dd4c:	91 63 00 00 	stw     r11,0(r3)                              
  old_last_node       = the_chain->last;                              
ffc0dd50:	81 69 00 08 	lwz     r11,8(r9)                              
  the_chain->last     = the_node;                                     
ffc0dd54:	90 69 00 08 	stw     r3,8(r9)                               
  old_last_node->next = the_node;                                     
ffc0dd58:	90 6b 00 00 	stw     r3,0(r11)                              
  the_node->previous  = old_last_node;                                
ffc0dd5c:	91 63 00 04 	stw     r11,4(r3)                              
                                                                      
static inline void ppc_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t current_level;                                             
                                                                      
  asm volatile (                                                      
ffc0dd60:	7d 20 00 a6 	mfmsr   r9                                     
ffc0dd64:	7c 00 01 24 	mtmsr   r0                                     
ffc0dd68:	7d 20 01 24 	mtmsr   r9                                     
                                                                      
      _ISR_Flash( level );                                            
                                                                      
      if ( the_thread->current_priority < _Thread_Heir->current_priority ) {
ffc0dd6c:	3d 20 00 00 	lis     r9,0                                   
ffc0dd70:	81 63 00 14 	lwz     r11,20(r3)                             
ffc0dd74:	39 29 2e 44 	addi    r9,r9,11844                            
ffc0dd78:	81 49 00 10 	lwz     r10,16(r9)                             
ffc0dd7c:	81 4a 00 14 	lwz     r10,20(r10)                            
ffc0dd80:	7f 8b 50 40 	cmplw   cr7,r11,r10                            
ffc0dd84:	40 9c 00 30 	bge-    cr7,ffc0ddb4 <_Thread_Resume+0xc4>     
        _Thread_Heir = the_thread;                                    
ffc0dd88:	90 69 00 10 	stw     r3,16(r9)                              
        if ( _Thread_Executing->is_preemptible ||                     
ffc0dd8c:	81 29 00 0c 	lwz     r9,12(r9)                              
ffc0dd90:	89 29 00 74 	lbz     r9,116(r9)                             
ffc0dd94:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0dd98:	40 9e 00 0c 	bne-    cr7,ffc0dda4 <_Thread_Resume+0xb4>     
ffc0dd9c:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc0dda0:	40 9e 00 14 	bne-    cr7,ffc0ddb4 <_Thread_Resume+0xc4>     <== ALWAYS TAKEN
             the_thread->current_priority == 0 )                      
          _Thread_Dispatch_necessary = true;                          
ffc0dda4:	3d 20 00 00 	lis     r9,0                                   
ffc0dda8:	39 60 00 01 	li      r11,1                                  
ffc0ddac:	39 29 2e 44 	addi    r9,r9,11844                            
ffc0ddb0:	99 69 00 18 	stb     r11,24(r9)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc0ddb4:	7c 00 01 24 	mtmsr   r0                                     
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
}                                                                     
ffc0ddb8:	4e 80 00 20 	blr                                            
                                                                      

ffc0bec4 <_Thread_Yield_processor>: { ISR_Level level; Thread_Control *executing; Chain_Control *ready; executing = _Thread_Executing;
ffc0bec4:	3d 60 00 00 	lis     r11,0                                  
ffc0bec8:	39 6b 2e 24 	addi    r11,r11,11812                          
ffc0becc:	81 2b 00 0c 	lwz     r9,12(r11)                             
  ready     = executing->ready;                                       
ffc0bed0:	81 49 00 8c 	lwz     r10,140(r9)                            
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc0bed4:	7c 00 00 a6 	mfmsr   r0                                     
ffc0bed8:	7d 10 42 a6 	mfsprg  r8,0                                   
ffc0bedc:	7c 08 40 78 	andc    r8,r0,r8                               
ffc0bee0:	7d 00 01 24 	mtmsr   r8                                     
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Has_only_one_node(                   
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return (the_chain->first == the_chain->last);                       
ffc0bee4:	81 0a 00 08 	lwz     r8,8(r10)                              
  _ISR_Disable( level );                                              
    if ( !_Chain_Has_only_one_node( ready ) ) {                       
ffc0bee8:	80 ea 00 00 	lwz     r7,0(r10)                              
ffc0beec:	7f 87 40 00 	cmpw    cr7,r7,r8                              
ffc0bef0:	41 9e 00 5c 	beq-    cr7,ffc0bf4c <_Thread_Yield_processor+0x88>
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
ffc0bef4:	80 c9 00 00 	lwz     r6,0(r9)                               
  previous       = the_node->previous;                                
ffc0bef8:	80 e9 00 04 	lwz     r7,4(r9)                               
  next->previous = previous;                                          
  previous->next = next;                                              
ffc0befc:	90 c7 00 00 	stw     r6,0(r7)                               
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
ffc0bf00:	90 e6 00 04 	stw     r7,4(r6)                               
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
ffc0bf04:	38 ea 00 04 	addi    r7,r10,4                               
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *old_last_node;                                          
                                                                      
  the_node->next      = _Chain_Tail(the_chain);                       
ffc0bf08:	90 e9 00 00 	stw     r7,0(r9)                               
  old_last_node       = the_chain->last;                              
  the_chain->last     = the_node;                                     
ffc0bf0c:	91 2a 00 08 	stw     r9,8(r10)                              
  old_last_node->next = the_node;                                     
ffc0bf10:	91 28 00 00 	stw     r9,0(r8)                               
  the_node->previous  = old_last_node;                                
ffc0bf14:	91 09 00 04 	stw     r8,4(r9)                               
                                                                      
static inline void ppc_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t current_level;                                             
                                                                      
  asm volatile (                                                      
ffc0bf18:	7d 00 00 a6 	mfmsr   r8                                     
ffc0bf1c:	7c 00 01 24 	mtmsr   r0                                     
ffc0bf20:	7d 00 01 24 	mtmsr   r8                                     
      _Chain_Extract_unprotected( &executing->Object.Node );          
      _Chain_Append_unprotected( ready, &executing->Object.Node );    
                                                                      
      _ISR_Flash( level );                                            
                                                                      
      if ( _Thread_Is_heir( executing ) )                             
ffc0bf24:	81 0b 00 10 	lwz     r8,16(r11)                             
ffc0bf28:	7f 89 40 00 	cmpw    cr7,r9,r8                              
ffc0bf2c:	40 be 00 0c 	bne+    cr7,ffc0bf38 <_Thread_Yield_processor+0x74><== NEVER TAKEN
        _Thread_Heir = (Thread_Control *) ready->first;               
ffc0bf30:	81 2a 00 00 	lwz     r9,0(r10)                              
ffc0bf34:	91 2b 00 10 	stw     r9,16(r11)                             
      _Thread_Dispatch_necessary = true;                              
ffc0bf38:	3d 20 00 00 	lis     r9,0                                   
ffc0bf3c:	39 60 00 01 	li      r11,1                                  
ffc0bf40:	39 29 2e 24 	addi    r9,r9,11812                            
ffc0bf44:	99 69 00 18 	stb     r11,24(r9)                             
ffc0bf48:	48 00 00 18 	b       ffc0bf60 <_Thread_Yield_processor+0x9c>
    }                                                                 
    else if ( !_Thread_Is_heir( executing ) )                         
ffc0bf4c:	81 4b 00 10 	lwz     r10,16(r11)                            
ffc0bf50:	7f 89 50 00 	cmpw    cr7,r9,r10                             
ffc0bf54:	41 9e 00 0c 	beq-    cr7,ffc0bf60 <_Thread_Yield_processor+0x9c><== ALWAYS TAKEN
      _Thread_Dispatch_necessary = true;                              
ffc0bf58:	39 20 00 01 	li      r9,1                                   <== NOT EXECUTED
ffc0bf5c:	99 2b 00 18 	stb     r9,24(r11)                             <== NOT EXECUTED
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc0bf60:	7c 00 01 24 	mtmsr   r0                                     
                                                                      
  _ISR_Enable( level );                                               
}                                                                     
ffc0bf64:	4e 80 00 20 	blr                                            
                                                                      

ffc0b964 <_Thread_queue_Requeue>: void _Thread_queue_Requeue( Thread_queue_Control *the_thread_queue, Thread_Control *the_thread ) {
ffc0b964:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0b968:	7c 08 02 a6 	mflr    r0                                     
ffc0b96c:	bf a1 00 1c 	stmw    r29,28(r1)                             
  /*                                                                  
   * Just in case the thread really wasn't blocked on a thread queue  
   * when we get here.                                                
   */                                                                 
  if ( !the_thread_queue )                                            
ffc0b970:	7c 7f 1b 79 	mr.     r31,r3                                 
                                                                      
void _Thread_queue_Requeue(                                           
  Thread_queue_Control *the_thread_queue,                             
  Thread_Control       *the_thread                                    
)                                                                     
{                                                                     
ffc0b974:	7c 9e 23 78 	mr      r30,r4                                 
ffc0b978:	90 01 00 2c 	stw     r0,44(r1)                              
  /*                                                                  
   * Just in case the thread really wasn't blocked on a thread queue  
   * when we get here.                                                
   */                                                                 
  if ( !the_thread_queue )                                            
ffc0b97c:	41 82 00 54 	beq-    ffc0b9d0 <_Thread_queue_Requeue+0x6c>  <== NEVER TAKEN
                                                                      
  /*                                                                  
   * If queueing by FIFO, there is nothing to do. This only applies to
   * priority blocking discipline.                                    
   */                                                                 
  if ( the_thread_queue->discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY ) {
ffc0b980:	80 1f 00 34 	lwz     r0,52(r31)                             
ffc0b984:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0b988:	40 be 00 48 	bne+    cr7,ffc0b9d0 <_Thread_queue_Requeue+0x6c><== NEVER TAKEN
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc0b98c:	7f a0 00 a6 	mfmsr   r29                                    
ffc0b990:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0b994:	7f a9 48 78 	andc    r9,r29,r9                              
ffc0b998:	7d 20 01 24 	mtmsr   r9                                     
    Thread_queue_Control *tq = the_thread_queue;                      
    ISR_Level             level;                                      
    ISR_Level             level_ignored;                              
                                                                      
    _ISR_Disable( level );                                            
    if ( _States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
ffc0b99c:	3d 60 00 03 	lis     r11,3                                  
ffc0b9a0:	81 24 00 10 	lwz     r9,16(r4)                              
ffc0b9a4:	61 6b be e0 	ori     r11,r11,48864                          
ffc0b9a8:	7d 6a 48 39 	and.    r10,r11,r9                             
ffc0b9ac:	41 a2 00 20 	beq+    ffc0b9cc <_Thread_queue_Requeue+0x68>  <== NEVER TAKEN
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_queue_Enter_critical_section (      
  Thread_queue_Control *the_thread_queue                              
)                                                                     
{                                                                     
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;
ffc0b9b0:	90 1f 00 30 	stw     r0,48(r31)                             
      _Thread_queue_Enter_critical_section( tq );                     
      _Thread_queue_Extract_priority_helper( tq, the_thread, true );  
ffc0b9b4:	38 a0 00 01 	li      r5,1                                   
ffc0b9b8:	48 00 61 4d 	bl      ffc11b04 <_Thread_queue_Extract_priority_helper>
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
ffc0b9bc:	7f e3 fb 78 	mr      r3,r31                                 
ffc0b9c0:	7f c4 f3 78 	mr      r4,r30                                 
ffc0b9c4:	38 a1 00 08 	addi    r5,r1,8                                
ffc0b9c8:	4b ff fd 0d 	bl      ffc0b6d4 <_Thread_queue_Enqueue_priority>
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc0b9cc:	7f a0 01 24 	mtmsr   r29                                    
    }                                                                 
    _ISR_Enable( level );                                             
  }                                                                   
}                                                                     
ffc0b9d0:	39 61 00 28 	addi    r11,r1,40                              
ffc0b9d4:	48 00 c7 b8 	b       ffc1818c <_restgpr_29_x>               
                                                                      

ffc0b9d8 <_Thread_queue_Timeout>: void _Thread_queue_Timeout( Objects_Id id, void *ignored __attribute__((unused)) ) {
ffc0b9d8:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0b9dc:	7c 08 02 a6 	mflr    r0                                     
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc0b9e0:	38 81 00 08 	addi    r4,r1,8                                
                                                                      
void _Thread_queue_Timeout(                                           
  Objects_Id  id,                                                     
  void       *ignored __attribute__((unused))                         
)                                                                     
{                                                                     
ffc0b9e4:	90 01 00 1c 	stw     r0,28(r1)                              
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc0b9e8:	4b ff f7 21 	bl      ffc0b108 <_Thread_Get>                 
  switch ( location ) {                                               
ffc0b9ec:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0b9f0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0b9f4:	40 9e 00 18 	bne-    cr7,ffc0ba0c <_Thread_queue_Timeout+0x34><== NEVER TAKEN
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_queue_Process_timeout( the_thread );                    
ffc0b9f8:	48 00 61 f9 	bl      ffc11bf0 <_Thread_queue_Process_timeout>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
ffc0b9fc:	3d 20 00 00 	lis     r9,0                                   
ffc0ba00:	81 69 27 48 	lwz     r11,10056(r9)                          
ffc0ba04:	38 0b ff ff 	addi    r0,r11,-1                              
ffc0ba08:	90 09 27 48 	stw     r0,10056(r9)                           
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
ffc0ba0c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0ba10:	38 21 00 18 	addi    r1,r1,24                               
ffc0ba14:	7c 08 03 a6 	mtlr    r0                                     
ffc0ba18:	4e 80 00 20 	blr                                            
                                                                      

ffc18fb4 <_Timer_server_Body>: * @a arg points to the corresponding timer server control block. */ static rtems_task _Timer_server_Body( rtems_task_argument arg ) {
ffc18fb4:	94 21 ff 98 	stwu    r1,-104(r1)                            
ffc18fb8:	7c 08 02 a6 	mflr    r0                                     
ffc18fbc:	be 01 00 28 	stmw    r16,40(r1)                             
ffc18fc0:	3b 81 00 14 	addi    r28,r1,20                              
ffc18fc4:	3b 01 00 0c 	addi    r24,r1,12                              
ffc18fc8:	90 01 00 6c 	stw     r0,108(r1)                             
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
ffc18fcc:	3a 01 00 08 	addi    r16,r1,8                               
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
ffc18fd0:	38 00 00 00 	li      r0,0                                   
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
ffc18fd4:	3b 61 00 18 	addi    r27,r1,24                              
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
ffc18fd8:	93 01 00 08 	stw     r24,8(r1)                              
ffc18fdc:	7c 7f 1b 78 	mr      r31,r3                                 
  the_chain->permanent_null = NULL;                                   
ffc18fe0:	90 01 00 0c 	stw     r0,12(r1)                              
static void _Timer_server_Process_interval_watchdogs(                 
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
ffc18fe4:	3e 20 00 00 	lis     r17,0                                  
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
ffc18fe8:	3b 23 00 30 	addi    r25,r3,48                              
  the_chain->last           = _Chain_Head(the_chain);                 
ffc18fec:	92 01 00 10 	stw     r16,16(r1)                             
                                                                      
  _Chain_Initialize_empty( &insert_chain );                           
  _Chain_Initialize_empty( &fire_chain );                             
                                                                      
  while ( true ) {                                                    
    _Timer_server_Get_watchdogs_that_fire_now( ts, &insert_chain, &fire_chain );
ffc18ff0:	7f 9a e3 78 	mr      r26,r28                                
static void _Timer_server_Process_tod_watchdogs(                      
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
ffc18ff4:	3e 40 00 00 	lis     r18,0                                  
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
ffc18ff8:	93 61 00 14 	stw     r27,20(r1)                             
     /*                                                               
      *  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 ); 
ffc18ffc:	3b a3 00 68 	addi    r29,r3,104                             
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
    return _Chain_Get_first_unprotected(the_chain);                   
  else                                                                
    return NULL;                                                      
ffc19000:	3a 60 00 00 	li      r19,0                                  
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
  the_chain->permanent_null = NULL;                                   
ffc19004:	90 01 00 18 	stw     r0,24(r1)                              
         *  the active flag of the timer server is true.              
         */                                                           
        (*watchdog->routine)( watchdog->id, watchdog->user_data );    
      }                                                               
    } else {                                                          
      ts->active = false;                                             
ffc19008:	3a 80 00 00 	li      r20,0                                  
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
        _Timer_server_Reset_interval_system_watchdog( ts );           
        _Timer_server_Reset_tod_system_watchdog( ts );                
      _Thread_Enable_dispatch();                                      
                                                                      
      ts->active = true;                                              
ffc1900c:	3a a0 00 01 	li      r21,1                                  
  the_chain->last           = _Chain_Head(the_chain);                 
ffc19010:	93 81 00 1c 	stw     r28,28(r1)                             
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
ffc19014:	3a c3 00 08 	addi    r22,r3,8                               
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
ffc19018:	3a e3 00 40 	addi    r23,r3,64                              
{                                                                     
  /*                                                                  
   *  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;                                    
ffc1901c:	92 1f 00 78 	stw     r16,120(r31)                           
static void _Timer_server_Process_interval_watchdogs(                 
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
ffc19020:	80 11 28 64 	lwz     r0,10340(r17)                          
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
ffc19024:	7f 45 d3 78 	mr      r5,r26                                 
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
ffc19028:	80 9f 00 3c 	lwz     r4,60(r31)                             
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
ffc1902c:	7f 23 cb 78 	mr      r3,r25                                 
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
ffc19030:	90 1f 00 3c 	stw     r0,60(r31)                             
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
ffc19034:	7c 84 00 50 	subf    r4,r4,r0                               
ffc19038:	48 00 48 e9 	bl      ffc1d920 <_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();
ffc1903c:	83 d2 28 3c 	lwz     r30,10300(r18)                         
  Watchdog_Interval last_snapshot = watchdogs->last_snapshot;         
ffc19040:	80 bf 00 74 	lwz     r5,116(r31)                            
  /*                                                                  
   *  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 ) {                                   
ffc19044:	7f 9e 28 40 	cmplw   cr7,r30,r5                             
ffc19048:	40 bd 00 18 	ble+    cr7,ffc19060 <_Timer_server_Body+0xac> 
    /*                                                                
     *  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 );
ffc1904c:	7c 85 f0 50 	subf    r4,r5,r30                              
ffc19050:	7f a3 eb 78 	mr      r3,r29                                 
ffc19054:	7f 45 d3 78 	mr      r5,r26                                 
ffc19058:	48 00 48 c9 	bl      ffc1d920 <_Watchdog_Adjust_to_chain>   
ffc1905c:	48 00 00 18 	b       ffc19074 <_Timer_server_Body+0xc0>     
                                                                      
  } else if ( snapshot < last_snapshot ) {                            
ffc19060:	40 bc 00 14 	bge+    cr7,ffc19074 <_Timer_server_Body+0xc0> 
     /*                                                               
      *  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 ); 
ffc19064:	7f a3 eb 78 	mr      r3,r29                                 
ffc19068:	38 80 00 01 	li      r4,1                                   
ffc1906c:	7c be 28 50 	subf    r5,r30,r5                              
ffc19070:	48 00 47 f9 	bl      ffc1d868 <_Watchdog_Adjust>            
  }                                                                   
                                                                      
  watchdogs->last_snapshot = snapshot;                                
ffc19074:	93 df 00 74 	stw     r30,116(r31)                           
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
ffc19078:	80 7f 00 78 	lwz     r3,120(r31)                            
ffc1907c:	48 00 0b 69 	bl      ffc19be4 <_Chain_Get>                  
                                                                      
    if ( timer == NULL ) {                                            
ffc19080:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc19084:	41 82 00 2c 	beq-    ffc190b0 <_Timer_server_Body+0xfc>     
static void _Timer_server_Insert_timer(                               
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
ffc19088:	80 1e 00 38 	lwz     r0,56(r30)                             
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
ffc1908c:	7f 23 cb 78 	mr      r3,r25                                 
static void _Timer_server_Insert_timer(                               
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
ffc19090:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc19094:	41 9e 00 10 	beq-    cr7,ffc190a4 <_Timer_server_Body+0xf0> 
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
ffc19098:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc1909c:	40 9e ff dc 	bne+    cr7,ffc19078 <_Timer_server_Body+0xc4> <== NEVER TAKEN
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
ffc190a0:	7f a3 eb 78 	mr      r3,r29                                 
ffc190a4:	38 9e 00 10 	addi    r4,r30,16                              
ffc190a8:	48 00 49 2d 	bl      ffc1d9d4 <_Watchdog_Insert>            
ffc190ac:	4b ff ff cc 	b       ffc19078 <_Timer_server_Body+0xc4>     
     *  of zero it will be processed in the next iteration of the timer server
     *  body loop.                                                    
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
ffc190b0:	4b ff fe 1d 	bl      ffc18ecc <ppc_interrupt_disable>       
    if ( _Chain_Is_empty( insert_chain ) ) {                          
ffc190b4:	80 01 00 08 	lwz     r0,8(r1)                               
ffc190b8:	7f 80 c0 00 	cmpw    cr7,r0,r24                             
ffc190bc:	40 be 00 1c 	bne+    cr7,ffc190d8 <_Timer_server_Body+0x124><== NEVER TAKEN
      ts->insert_chain = NULL;                                        
ffc190c0:	93 df 00 78 	stw     r30,120(r31)                           
ffc190c4:	7c 60 01 24 	mtmsr   r3                                     
  _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 ) ) {                          
ffc190c8:	80 01 00 14 	lwz     r0,20(r1)                              
ffc190cc:	7f 80 d8 00 	cmpw    cr7,r0,r27                             
ffc190d0:	40 be 00 10 	bne+    cr7,ffc190e0 <_Timer_server_Body+0x12c>
ffc190d4:	48 00 00 58 	b       ffc1912c <_Timer_server_Body+0x178>    
ffc190d8:	7c 60 01 24 	mtmsr   r3                                     <== NOT EXECUTED
ffc190dc:	4b ff ff 44 	b       ffc19020 <_Timer_server_Body+0x6c>     <== 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 );                                        
ffc190e0:	4b ff fd ed 	bl      ffc18ecc <ppc_interrupt_disable>       
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
ffc190e4:	81 21 00 14 	lwz     r9,20(r1)                              
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
ffc190e8:	7f 89 d8 00 	cmpw    cr7,r9,r27                             
ffc190ec:	41 9e 00 38 	beq-    cr7,ffc19124 <_Timer_server_Body+0x170>
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
ffc190f0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
{                                                                     
  Chain_Node  *return_node;                                           
  Chain_Node  *new_first;                                             
                                                                      
  return_node         = the_chain->first;                             
  new_first           = return_node->next;                            
ffc190f4:	81 69 00 00 	lwz     r11,0(r9)                              
  the_chain->first    = new_first;                                    
ffc190f8:	91 61 00 14 	stw     r11,20(r1)                             
  new_first->previous = _Chain_Head(the_chain);                       
ffc190fc:	93 8b 00 04 	stw     r28,4(r11)                             
ffc19100:	41 9e 00 24 	beq-    cr7,ffc19124 <_Timer_server_Body+0x170><== NEVER TAKEN
          watchdog->state = WATCHDOG_INACTIVE;                        
ffc19104:	92 69 00 08 	stw     r19,8(r9)                              
ffc19108:	7c 60 01 24 	mtmsr   r3                                     
        /*                                                            
         *  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 );    
ffc1910c:	80 09 00 1c 	lwz     r0,28(r9)                              
ffc19110:	80 69 00 20 	lwz     r3,32(r9)                              
ffc19114:	80 89 00 24 	lwz     r4,36(r9)                              
ffc19118:	7c 09 03 a6 	mtctr   r0                                     
ffc1911c:	4e 80 04 21 	bctrl                                          
      }                                                               
ffc19120:	4b ff ff c0 	b       ffc190e0 <_Timer_server_Body+0x12c>    
ffc19124:	7c 60 01 24 	mtmsr   r3                                     
ffc19128:	4b ff fe f4 	b       ffc1901c <_Timer_server_Body+0x68>     
    } else {                                                          
      ts->active = false;                                             
ffc1912c:	9a 9f 00 7c 	stb     r20,124(r31)                           
                                                                      
      /*                                                              
       *  Block until there is something to do.                       
       */                                                             
      _Thread_Disable_dispatch();                                     
ffc19130:	4b ff fd b1 	bl      ffc18ee0 <_Thread_Disable_dispatch>    
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
ffc19134:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc19138:	38 80 00 08 	li      r4,8                                   
ffc1913c:	48 00 3d 1d 	bl      ffc1ce58 <_Thread_Set_state>           
        _Timer_server_Reset_interval_system_watchdog( ts );           
ffc19140:	7f e3 fb 78 	mr      r3,r31                                 
ffc19144:	4b ff fd b1 	bl      ffc18ef4 <_Timer_server_Reset_interval_system_watchdog>
        _Timer_server_Reset_tod_system_watchdog( ts );                
ffc19148:	7f e3 fb 78 	mr      r3,r31                                 
ffc1914c:	4b ff fe 09 	bl      ffc18f54 <_Timer_server_Reset_tod_system_watchdog>
      _Thread_Enable_dispatch();                                      
ffc19150:	48 00 32 09 	bl      ffc1c358 <_Thread_Enable_dispatch>     
                                                                      
      ts->active = true;                                              
ffc19154:	9a bf 00 7c 	stb     r21,124(r31)                           
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
ffc19158:	7e c3 b3 78 	mr      r3,r22                                 
ffc1915c:	48 00 49 cd 	bl      ffc1db28 <_Watchdog_Remove>            
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
ffc19160:	7e e3 bb 78 	mr      r3,r23                                 
ffc19164:	48 00 49 c5 	bl      ffc1db28 <_Watchdog_Remove>            
ffc19168:	4b ff fe b4 	b       ffc1901c <_Timer_server_Body+0x68>     
                                                                      

ffc1916c <_Timer_server_Schedule_operation_method>: static void _Timer_server_Schedule_operation_method( Timer_server_Control *ts, Timer_Control *timer ) {
ffc1916c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc19170:	7c 08 02 a6 	mflr    r0                                     
ffc19174:	90 01 00 14 	stw     r0,20(r1)                              
  if ( ts->insert_chain == NULL ) {                                   
ffc19178:	80 03 00 78 	lwz     r0,120(r3)                             
                                                                      
static void _Timer_server_Schedule_operation_method(                  
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
ffc1917c:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc19180:	7c 7f 1b 78 	mr      r31,r3                                 
  if ( ts->insert_chain == NULL ) {                                   
ffc19184:	2f 80 00 00 	cmpwi   cr7,r0,0                               
                                                                      
static void _Timer_server_Schedule_operation_method(                  
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
ffc19188:	7c 9e 23 78 	mr      r30,r4                                 
  if ( ts->insert_chain == NULL ) {                                   
ffc1918c:	40 be 01 00 	bne+    cr7,ffc1928c <_Timer_server_Schedule_operation_method+0x120>
   *  is the reference point for the delta chain.  Thus if we do not update the
   *  reference point we have to add DT to the initial delta of the watchdog
   *  being inserted.  This could result in an integer overflow.      
   */                                                                 
                                                                      
  _Thread_Disable_dispatch();                                         
ffc19190:	4b ff fd 51 	bl      ffc18ee0 <_Thread_Disable_dispatch>    
                                                                      
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
ffc19194:	80 1e 00 38 	lwz     r0,56(r30)                             
ffc19198:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc1919c:	40 be 00 6c 	bne+    cr7,ffc19208 <_Timer_server_Schedule_operation_method+0x9c>
    /*                                                                
     *  We have to advance the last known ticks value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
ffc191a0:	4b ff fd 2d 	bl      ffc18ecc <ppc_interrupt_disable>       
    snapshot = _Watchdog_Ticks_since_boot;                            
ffc191a4:	3d 20 00 00 	lis     r9,0                                   
ffc191a8:	80 09 28 64 	lwz     r0,10340(r9)                           
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
ffc191ac:	39 7f 00 34 	addi    r11,r31,52                             
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
ffc191b0:	81 3f 00 30 	lwz     r9,48(r31)                             
    last_snapshot = ts->Interval_watchdogs.last_snapshot;             
ffc191b4:	81 5f 00 3c 	lwz     r10,60(r31)                            
    if ( !_Chain_Is_empty( &ts->Interval_watchdogs.Chain ) ) {        
ffc191b8:	7f 89 58 00 	cmpw    cr7,r9,r11                             
ffc191bc:	41 9e 00 20 	beq-    cr7,ffc191dc <_Timer_server_Schedule_operation_method+0x70>
      /*                                                              
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
                                                                      
      delta_interval = first_watchdog->delta_interval;                
ffc191c0:	81 09 00 10 	lwz     r8,16(r9)                              
      first_watchdog = _Watchdog_First( &ts->Interval_watchdogs.Chain );
                                                                      
      /*                                                              
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
ffc191c4:	7d 4a 00 50 	subf    r10,r10,r0                             
                                                                      
      delta_interval = first_watchdog->delta_interval;                
      if (delta_interval > delta) {                                   
        delta_interval -= delta;                                      
      } else {                                                        
        delta_interval = 0;                                           
ffc191c8:	39 60 00 00 	li      r11,0                                  
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
                                                                      
      delta_interval = first_watchdog->delta_interval;                
      if (delta_interval > delta) {                                   
ffc191cc:	7f 88 50 40 	cmplw   cr7,r8,r10                             
ffc191d0:	40 9d 00 08 	ble-    cr7,ffc191d8 <_Timer_server_Schedule_operation_method+0x6c>
        delta_interval -= delta;                                      
ffc191d4:	7d 6a 40 50 	subf    r11,r10,r8                             
      } else {                                                        
        delta_interval = 0;                                           
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
ffc191d8:	91 69 00 10 	stw     r11,16(r9)                             
    }                                                                 
    ts->Interval_watchdogs.last_snapshot = snapshot;                  
ffc191dc:	90 1f 00 3c 	stw     r0,60(r31)                             
ffc191e0:	7c 60 01 24 	mtmsr   r3                                     
    _ISR_Enable( level );                                             
                                                                      
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
ffc191e4:	38 7f 00 30 	addi    r3,r31,48                              
ffc191e8:	38 9e 00 10 	addi    r4,r30,16                              
ffc191ec:	48 00 47 e9 	bl      ffc1d9d4 <_Watchdog_Insert>            
                                                                      
    if ( !ts->active ) {                                              
ffc191f0:	88 1f 00 7c 	lbz     r0,124(r31)                            
ffc191f4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc191f8:	40 be 00 8c 	bne+    cr7,ffc19284 <_Timer_server_Schedule_operation_method+0x118>
      _Timer_server_Reset_interval_system_watchdog( ts );             
ffc191fc:	7f e3 fb 78 	mr      r3,r31                                 
ffc19200:	4b ff fc f5 	bl      ffc18ef4 <_Timer_server_Reset_interval_system_watchdog>
ffc19204:	48 00 00 80 	b       ffc19284 <_Timer_server_Schedule_operation_method+0x118>
    }                                                                 
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
ffc19208:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc1920c:	40 be 00 78 	bne+    cr7,ffc19284 <_Timer_server_Schedule_operation_method+0x118>
    /*                                                                
     *  We have to advance the last known seconds value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
ffc19210:	4b ff fc bd 	bl      ffc18ecc <ppc_interrupt_disable>       
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
ffc19214:	3d 20 00 00 	lis     r9,0                                   
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
ffc19218:	81 1f 00 74 	lwz     r8,116(r31)                            
    /*                                                                
     *  We have to advance the last known seconds value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
ffc1921c:	80 09 28 3c 	lwz     r0,10300(r9)                           
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
ffc19220:	39 7f 00 6c 	addi    r11,r31,108                            
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
ffc19224:	81 3f 00 68 	lwz     r9,104(r31)                            
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
    if ( !_Chain_Is_empty( &ts->TOD_watchdogs.Chain ) ) {             
ffc19228:	7f 89 58 00 	cmpw    cr7,r9,r11                             
ffc1922c:	41 9e 00 30 	beq-    cr7,ffc1925c <_Timer_server_Schedule_operation_method+0xf0>
      first_watchdog = _Watchdog_First( &ts->TOD_watchdogs.Chain );   
      delta_interval = first_watchdog->delta_interval;                
      if ( snapshot > last_snapshot ) {                               
ffc19230:	7f 80 40 40 	cmplw   cr7,r0,r8                              
    _ISR_Disable( level );                                            
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
    if ( !_Chain_Is_empty( &ts->TOD_watchdogs.Chain ) ) {             
      first_watchdog = _Watchdog_First( &ts->TOD_watchdogs.Chain );   
      delta_interval = first_watchdog->delta_interval;                
ffc19234:	81 49 00 10 	lwz     r10,16(r9)                             
        }                                                             
      } else {                                                        
        /*                                                            
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
ffc19238:	7d 6a 42 14 	add     r11,r10,r8                             
        delta_interval += delta;                                      
ffc1923c:	7d 60 58 50 	subf    r11,r0,r11                             
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
    if ( !_Chain_Is_empty( &ts->TOD_watchdogs.Chain ) ) {             
      first_watchdog = _Watchdog_First( &ts->TOD_watchdogs.Chain );   
      delta_interval = first_watchdog->delta_interval;                
      if ( snapshot > last_snapshot ) {                               
ffc19240:	40 9d 00 18 	ble-    cr7,ffc19258 <_Timer_server_Schedule_operation_method+0xec>
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
ffc19244:	7d 08 00 50 	subf    r8,r8,r0                               
        if (delta_interval > delta) {                                 
ffc19248:	7f 8a 40 40 	cmplw   cr7,r10,r8                             
          delta_interval -= delta;                                    
        } else {                                                      
          delta_interval = 0;                                         
ffc1924c:	39 60 00 00 	li      r11,0                                  
      if ( snapshot > last_snapshot ) {                               
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
        if (delta_interval > delta) {                                 
ffc19250:	40 9d 00 08 	ble-    cr7,ffc19258 <_Timer_server_Schedule_operation_method+0xec><== NEVER TAKEN
          delta_interval -= delta;                                    
ffc19254:	7d 68 50 50 	subf    r11,r8,r10                             
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
        delta_interval += delta;                                      
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
ffc19258:	91 69 00 10 	stw     r11,16(r9)                             
    }                                                                 
    ts->TOD_watchdogs.last_snapshot = snapshot;                       
ffc1925c:	90 1f 00 74 	stw     r0,116(r31)                            
ffc19260:	7c 60 01 24 	mtmsr   r3                                     
    _ISR_Enable( level );                                             
                                                                      
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
ffc19264:	38 7f 00 68 	addi    r3,r31,104                             
ffc19268:	38 9e 00 10 	addi    r4,r30,16                              
ffc1926c:	48 00 47 69 	bl      ffc1d9d4 <_Watchdog_Insert>            
                                                                      
    if ( !ts->active ) {                                              
ffc19270:	88 1f 00 7c 	lbz     r0,124(r31)                            
ffc19274:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc19278:	40 be 00 0c 	bne+    cr7,ffc19284 <_Timer_server_Schedule_operation_method+0x118>
      _Timer_server_Reset_tod_system_watchdog( ts );                  
ffc1927c:	7f e3 fb 78 	mr      r3,r31                                 
ffc19280:	4b ff fc d5 	bl      ffc18f54 <_Timer_server_Reset_tod_system_watchdog>
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Enable_dispatch();                                          
ffc19284:	48 00 30 d5 	bl      ffc1c358 <_Thread_Enable_dispatch>     
ffc19288:	48 00 00 0c 	b       ffc19294 <_Timer_server_Schedule_operation_method+0x128>
     *  server is not preemptible, so we must be in interrupt context here.  No
     *  thread dispatch will happen until the timer server finishes its
     *  critical section.  We have to use the protected chain methods because
     *  we may be interrupted by a higher priority interrupt.         
     */                                                               
    _Chain_Append( ts->insert_chain, &timer->Object.Node );           
ffc1928c:	80 63 00 78 	lwz     r3,120(r3)                             
ffc19290:	48 00 08 fd 	bl      ffc19b8c <_Chain_Append>               
  }                                                                   
}                                                                     
ffc19294:	39 61 00 10 	addi    r11,r1,16                              
ffc19298:	4b ff 50 20 	b       ffc0e2b8 <_restgpr_30_x>               
                                                                      

ffc0cd04 <_Timespec_Less_than>: bool _Timespec_Less_than( const struct timespec *lhs, const struct timespec *rhs ) { if ( lhs->tv_sec < rhs->tv_sec )
ffc0cd04:	81 63 00 00 	lwz     r11,0(r3)                              
                                                                      
bool _Timespec_Less_than(                                             
  const struct timespec *lhs,                                         
  const struct timespec *rhs                                          
)                                                                     
{                                                                     
ffc0cd08:	7c 69 1b 78 	mr      r9,r3                                  
  if ( lhs->tv_sec < rhs->tv_sec )                                    
ffc0cd0c:	80 04 00 00 	lwz     r0,0(r4)                               
    return true;                                                      
ffc0cd10:	38 60 00 01 	li      r3,1                                   
bool _Timespec_Less_than(                                             
  const struct timespec *lhs,                                         
  const struct timespec *rhs                                          
)                                                                     
{                                                                     
  if ( lhs->tv_sec < rhs->tv_sec )                                    
ffc0cd14:	7f 8b 00 00 	cmpw    cr7,r11,r0                             
ffc0cd18:	4d 9c 00 20 	bltlr   cr7                                    
    return true;                                                      
                                                                      
  if ( lhs->tv_sec > rhs->tv_sec )                                    
ffc0cd1c:	41 9d 00 1c 	bgt-    cr7,ffc0cd38 <_Timespec_Less_than+0x34><== NEVER TAKEN
                                                                      
#include <rtems/system.h>                                             
#include <rtems/score/timespec.h>                                     
#include <rtems/score/tod.h>                                          
                                                                      
bool _Timespec_Less_than(                                             
ffc0cd20:	81 29 00 04 	lwz     r9,4(r9)                               
ffc0cd24:	80 04 00 04 	lwz     r0,4(r4)                               
ffc0cd28:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0cd2c:	7c 60 00 26 	mfcr    r3                                     
ffc0cd30:	54 63 ef fe 	rlwinm  r3,r3,29,31,31                         
ffc0cd34:	4e 80 00 20 	blr                                            
{                                                                     
  if ( lhs->tv_sec < rhs->tv_sec )                                    
    return true;                                                      
                                                                      
  if ( lhs->tv_sec > rhs->tv_sec )                                    
    return false;                                                     
ffc0cd38:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
  /* ASSERT: lhs->tv_sec == rhs->tv_sec */                            
  if ( lhs->tv_nsec < rhs->tv_nsec )                                  
    return true;                                                      
                                                                      
  return false;                                                       
}                                                                     
ffc0cd3c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc0c008 <_User_extensions_Handler_initialization>: #include <rtems/score/userext.h> #include <rtems/score/wkspace.h> #include <string.h> void _User_extensions_Handler_initialization(void) {
ffc0c008:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0c00c:	7c 08 02 a6 	mflr    r0                                     
  User_extensions_Control *extension;                                 
  uint32_t                 i;                                         
  uint32_t                 number_of_extensions;                      
  User_extensions_Table   *initial_extensions;                        
                                                                      
  number_of_extensions = Configuration.number_of_initial_extensions;  
ffc0c010:	3d 20 00 00 	lis     r9,0                                   
#include <rtems/score/userext.h>                                      
#include <rtems/score/wkspace.h>                                      
#include <string.h>                                                   
                                                                      
void _User_extensions_Handler_initialization(void)                    
{                                                                     
ffc0c014:	90 01 00 1c 	stw     r0,28(r1)                              
  User_extensions_Control *extension;                                 
  uint32_t                 i;                                         
  uint32_t                 number_of_extensions;                      
  User_extensions_Table   *initial_extensions;                        
                                                                      
  number_of_extensions = Configuration.number_of_initial_extensions;  
ffc0c018:	39 29 20 88 	addi    r9,r9,8328                             
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
ffc0c01c:	3d 60 00 00 	lis     r11,0                                  
#include <rtems/score/userext.h>                                      
#include <rtems/score/wkspace.h>                                      
#include <string.h>                                                   
                                                                      
void _User_extensions_Handler_initialization(void)                    
{                                                                     
ffc0c020:	bf 81 00 08 	stmw    r28,8(r1)                              
  uint32_t                 i;                                         
  uint32_t                 number_of_extensions;                      
  User_extensions_Table   *initial_extensions;                        
                                                                      
  number_of_extensions = Configuration.number_of_initial_extensions;  
  initial_extensions   = Configuration.User_extension_table;          
ffc0c024:	83 a9 00 3c 	lwz     r29,60(r9)                             
  User_extensions_Control *extension;                                 
  uint32_t                 i;                                         
  uint32_t                 number_of_extensions;                      
  User_extensions_Table   *initial_extensions;                        
                                                                      
  number_of_extensions = Configuration.number_of_initial_extensions;  
ffc0c028:	83 c9 00 38 	lwz     r30,56(r9)                             
ffc0c02c:	39 2b 2d e0 	addi    r9,r11,11744                           
  initial_extensions   = Configuration.User_extension_table;          
                                                                      
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
ffc0c030:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
  the_chain->permanent_null = NULL;                                   
  the_chain->last           = _Chain_Head(the_chain);                 
ffc0c034:	91 29 00 08 	stw     r9,8(r9)                               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
ffc0c038:	38 09 00 04 	addi    r0,r9,4                                
ffc0c03c:	90 0b 2d e0 	stw     r0,11744(r11)                          
  the_chain->permanent_null = NULL;                                   
ffc0c040:	38 00 00 00 	li      r0,0                                   
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
ffc0c044:	3d 60 00 00 	lis     r11,0                                  
  the_chain->permanent_null = NULL;                                   
ffc0c048:	90 09 00 04 	stw     r0,4(r9)                               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  the_chain->first          = _Chain_Tail(the_chain);                 
ffc0c04c:	39 2b 2c 70 	addi    r9,r11,11376                           
ffc0c050:	39 49 00 04 	addi    r10,r9,4                               
ffc0c054:	91 4b 2c 70 	stw     r10,11376(r11)                         
  the_chain->permanent_null = NULL;                                   
ffc0c058:	90 09 00 04 	stw     r0,4(r9)                               
  the_chain->last           = _Chain_Head(the_chain);                 
ffc0c05c:	91 29 00 08 	stw     r9,8(r9)                               
ffc0c060:	41 9e 00 54 	beq-    cr7,ffc0c0b4 <_User_extensions_Handler_initialization+0xac><== NEVER TAKEN
    extension = (User_extensions_Control *)                           
      _Workspace_Allocate_or_fatal_error(                             
        number_of_extensions * sizeof( User_extensions_Control )      
ffc0c064:	1f 9e 00 34 	mulli   r28,r30,52                             
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
    extension = (User_extensions_Control *)                           
      _Workspace_Allocate_or_fatal_error(                             
ffc0c068:	7f 83 e3 78 	mr      r3,r28                                 
ffc0c06c:	48 00 05 a5 	bl      ffc0c610 <_Workspace_Allocate_or_fatal_error>
        number_of_extensions * sizeof( User_extensions_Control )      
      );                                                              
                                                                      
    memset (                                                          
ffc0c070:	7f 85 e3 78 	mr      r5,r28                                 
ffc0c074:	38 80 00 00 	li      r4,0                                   
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
    extension = (User_extensions_Control *)                           
      _Workspace_Allocate_or_fatal_error(                             
ffc0c078:	7c 7f 1b 78 	mr      r31,r3                                 
        number_of_extensions * sizeof( User_extensions_Control )      
      );                                                              
                                                                      
    memset (                                                          
ffc0c07c:	48 00 80 81 	bl      ffc140fc <memset>                      
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
ffc0c080:	3b 80 00 00 	li      r28,0                                  
ffc0c084:	48 00 00 28 	b       ffc0c0ac <_User_extensions_Handler_initialization+0xa4>
#include <rtems/config.h>                                             
#include <rtems/score/userext.h>                                      
#include <rtems/score/wkspace.h>                                      
#include <string.h>                                                   
                                                                      
void _User_extensions_Handler_initialization(void)                    
ffc0c088:	57 83 28 34 	rlwinm  r3,r28,5,0,26                          
RTEMS_INLINE_ROUTINE void _User_extensions_Add_set_with_table(        
  User_extensions_Control     *extension,                             
  const User_extensions_Table *extension_table                        
)                                                                     
{                                                                     
  extension->Callouts = *extension_table;                             
ffc0c08c:	38 9f 00 14 	addi    r4,r31,20                              
ffc0c090:	7c 7d 1a 14 	add     r3,r29,r3                              
ffc0c094:	7c a3 04 aa 	lswi    r5,r3,32                               
ffc0c098:	7c a4 05 aa 	stswi   r5,r4,32                               
                                                                      
  _User_extensions_Add_set( extension );                              
ffc0c09c:	7f e3 fb 78 	mr      r3,r31                                 
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
ffc0c0a0:	3b 9c 00 01 	addi    r28,r28,1                              
ffc0c0a4:	48 00 5c 8d 	bl      ffc11d30 <_User_extensions_Add_set>    
      _User_extensions_Add_set_with_table (extension, &initial_extensions[i]);
      extension++;                                                    
ffc0c0a8:	3b ff 00 34 	addi    r31,r31,52                             
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
ffc0c0ac:	7f 9c f0 40 	cmplw   cr7,r28,r30                            
ffc0c0b0:	41 9c ff d8 	blt+    cr7,ffc0c088 <_User_extensions_Handler_initialization+0x80>
      _User_extensions_Add_set_with_table (extension, &initial_extensions[i]);
      extension++;                                                    
    }                                                                 
  }                                                                   
}                                                                     
ffc0c0b4:	39 61 00 18 	addi    r11,r1,24                              
ffc0c0b8:	48 00 c0 d0 	b       ffc18188 <_restgpr_28_x>               
                                                                      

ffc0d1bc <_Watchdog_Adjust>: void _Watchdog_Adjust( Chain_Control *header, Watchdog_Adjust_directions direction, Watchdog_Interval units ) {
ffc0d1bc:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0d1c0:	7c 08 02 a6 	mflr    r0                                     
ffc0d1c4:	90 01 00 24 	stw     r0,36(r1)                              
ffc0d1c8:	bf 61 00 0c 	stmw    r27,12(r1)                             
ffc0d1cc:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0d1d0:	7c be 2b 78 	mr      r30,r5                                 
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc0d1d4:	7c 00 00 a6 	mfmsr   r0                                     
ffc0d1d8:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0d1dc:	7c 09 48 78 	andc    r9,r0,r9                               
ffc0d1e0:	7d 20 01 24 	mtmsr   r9                                     
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
ffc0d1e4:	81 23 00 00 	lwz     r9,0(r3)                               
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
ffc0d1e8:	3b 83 00 04 	addi    r28,r3,4                               
   *       hence the compiler must not assume *header to remain       
   *       unmodified across that call.                               
   *                                                                  
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
ffc0d1ec:	7f 89 e0 00 	cmpw    cr7,r9,r28                             
ffc0d1f0:	41 9e 00 78 	beq-    cr7,ffc0d268 <_Watchdog_Adjust+0xac>   
    switch ( direction ) {                                            
ffc0d1f4:	2f 84 00 00 	cmpwi   cr7,r4,0                               
          if ( units < _Watchdog_First( header )->delta_interval ) {  
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
ffc0d1f8:	3b 60 00 01 	li      r27,1                                  
   *       unmodified across that call.                               
   *                                                                  
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
    switch ( direction ) {                                            
ffc0d1fc:	41 9e 00 64 	beq-    cr7,ffc0d260 <_Watchdog_Adjust+0xa4>   
ffc0d200:	2f 84 00 01 	cmpwi   cr7,r4,1                               
ffc0d204:	40 be 00 64 	bne+    cr7,ffc0d268 <_Watchdog_Adjust+0xac>   <== NEVER TAKEN
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
ffc0d208:	81 69 00 10 	lwz     r11,16(r9)                             
ffc0d20c:	7f cb 2a 14 	add     r30,r11,r5                             
ffc0d210:	48 00 00 18 	b       ffc0d228 <_Watchdog_Adjust+0x6c>       
RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_First(               
  Chain_Control *header                                               
)                                                                     
{                                                                     
                                                                      
  return ( (Watchdog_Control *) header->first );                      
ffc0d214:	81 3f 00 00 	lwz     r9,0(r31)                              
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
ffc0d218:	83 a9 00 10 	lwz     r29,16(r9)                             
ffc0d21c:	7f 9e e8 40 	cmplw   cr7,r30,r29                            
ffc0d220:	40 bc 00 10 	bge+    cr7,ffc0d230 <_Watchdog_Adjust+0x74>   
            _Watchdog_First( header )->delta_interval -= units;       
ffc0d224:	7f de e8 50 	subf    r30,r30,r29                            
ffc0d228:	93 c9 00 10 	stw     r30,16(r9)                             
            break;                                                    
ffc0d22c:	48 00 00 3c 	b       ffc0d268 <_Watchdog_Adjust+0xac>       
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
ffc0d230:	93 69 00 10 	stw     r27,16(r9)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc0d234:	7c 00 01 24 	mtmsr   r0                                     
                                                                      
            _ISR_Enable( level );                                     
                                                                      
            _Watchdog_Tickle( header );                               
ffc0d238:	7f e3 fb 78 	mr      r3,r31                                 
ffc0d23c:	48 00 02 35 	bl      ffc0d470 <_Watchdog_Tickle>            
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc0d240:	7c 00 00 a6 	mfmsr   r0                                     
ffc0d244:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0d248:	7c 09 48 78 	andc    r9,r0,r9                               
ffc0d24c:	7d 20 01 24 	mtmsr   r9                                     
                                                                      
            _ISR_Disable( level );                                    
                                                                      
            if ( _Chain_Is_empty( header ) )                          
ffc0d250:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc0d254:	7f 89 e0 00 	cmpw    cr7,r9,r28                             
ffc0d258:	41 9e 00 10 	beq-    cr7,ffc0d268 <_Watchdog_Adjust+0xac>   
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
ffc0d25c:	7f dd f0 50 	subf    r30,r29,r30                            
    switch ( direction ) {                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
ffc0d260:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0d264:	40 9e ff b0 	bne+    cr7,ffc0d214 <_Watchdog_Adjust+0x58>   <== ALWAYS TAKEN
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc0d268:	7c 00 01 24 	mtmsr   r0                                     
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
                                                                      
}                                                                     
ffc0d26c:	39 61 00 20 	addi    r11,r1,32                              
ffc0d270:	4b ff 40 d0 	b       ffc01340 <_restgpr_27_x>               
                                                                      

ffc0c498 <_Watchdog_Remove>: */ Watchdog_States _Watchdog_Remove( Watchdog_Control *the_watchdog ) {
ffc0c498:	7c 69 1b 78 	mr      r9,r3                                  
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc0c49c:	7c 00 00 a6 	mfmsr   r0                                     
ffc0c4a0:	7d 70 42 a6 	mfsprg  r11,0                                  
ffc0c4a4:	7c 0b 58 78 	andc    r11,r0,r11                             
ffc0c4a8:	7d 60 01 24 	mtmsr   r11                                    
  ISR_Level         level;                                            
  Watchdog_States   previous_state;                                   
  Watchdog_Control *next_watchdog;                                    
                                                                      
  _ISR_Disable( level );                                              
  previous_state = the_watchdog->state;                               
ffc0c4ac:	80 63 00 08 	lwz     r3,8(r3)                               
  switch ( previous_state ) {                                         
ffc0c4b0:	2f 83 00 01 	cmpwi   cr7,r3,1                               
ffc0c4b4:	41 9e 00 18 	beq-    cr7,ffc0c4cc <_Watchdog_Remove+0x34>   
ffc0c4b8:	2b 83 00 01 	cmplwi  cr7,r3,1                               
ffc0c4bc:	41 9c 00 70 	blt-    cr7,ffc0c52c <_Watchdog_Remove+0x94>   
ffc0c4c0:	2b 83 00 03 	cmplwi  cr7,r3,3                               
ffc0c4c4:	41 9d 00 68 	bgt-    cr7,ffc0c52c <_Watchdog_Remove+0x94>   <== NEVER TAKEN
ffc0c4c8:	48 00 00 10 	b       ffc0c4d8 <_Watchdog_Remove+0x40>       
                                                                      
      /*                                                              
       *  It is not actually on the chain so just change the state and
       *  the Insert operation we interrupted will be aborted.        
       */                                                             
      the_watchdog->state = WATCHDOG_INACTIVE;                        
ffc0c4cc:	39 60 00 00 	li      r11,0                                  
ffc0c4d0:	91 69 00 08 	stw     r11,8(r9)                              
      break;                                                          
ffc0c4d4:	48 00 00 58 	b       ffc0c52c <_Watchdog_Remove+0x94>       
                                                                      
    case WATCHDOG_ACTIVE:                                             
    case WATCHDOG_REMOVE_IT:                                          
                                                                      
      the_watchdog->state = WATCHDOG_INACTIVE;                        
ffc0c4d8:	39 60 00 00 	li      r11,0                                  
ffc0c4dc:	91 69 00 08 	stw     r11,8(r9)                              
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
                                                                      
  _ISR_Enable( level );                                               
  return( previous_state );                                           
}                                                                     
ffc0c4e0:	81 69 00 00 	lwz     r11,0(r9)                              
    case WATCHDOG_REMOVE_IT:                                          
                                                                      
      the_watchdog->state = WATCHDOG_INACTIVE;                        
      next_watchdog = _Watchdog_Next( the_watchdog );                 
                                                                      
      if ( _Watchdog_Next(next_watchdog) )                            
ffc0c4e4:	81 4b 00 00 	lwz     r10,0(r11)                             
ffc0c4e8:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0c4ec:	41 9e 00 14 	beq-    cr7,ffc0c500 <_Watchdog_Remove+0x68>   
        next_watchdog->delta_interval += the_watchdog->delta_interval;
ffc0c4f0:	81 0b 00 10 	lwz     r8,16(r11)                             
ffc0c4f4:	81 49 00 10 	lwz     r10,16(r9)                             
ffc0c4f8:	7d 48 52 14 	add     r10,r8,r10                             
ffc0c4fc:	91 4b 00 10 	stw     r10,16(r11)                            
                                                                      
      if ( _Watchdog_Sync_count )                                     
ffc0c500:	3d 40 00 00 	lis     r10,0                                  
ffc0c504:	81 4a 27 84 	lwz     r10,10116(r10)                         
ffc0c508:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0c50c:	41 9e 00 14 	beq-    cr7,ffc0c520 <_Watchdog_Remove+0x88>   
        _Watchdog_Sync_level = _ISR_Nest_level;                       
ffc0c510:	3d 40 00 00 	lis     r10,0                                  
ffc0c514:	81 0a 2e 2c 	lwz     r8,11820(r10)                          
ffc0c518:	3d 40 00 00 	lis     r10,0                                  
ffc0c51c:	91 0a 27 74 	stw     r8,10100(r10)                          
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
ffc0c520:	81 49 00 04 	lwz     r10,4(r9)                              
  next->previous = previous;                                          
ffc0c524:	91 4b 00 04 	stw     r10,4(r11)                             
  previous->next = next;                                              
ffc0c528:	91 6a 00 00 	stw     r11,0(r10)                             
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
ffc0c52c:	3d 60 00 00 	lis     r11,0                                  
ffc0c530:	81 6b 27 88 	lwz     r11,10120(r11)                         
ffc0c534:	91 69 00 18 	stw     r11,24(r9)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc0c538:	7c 00 01 24 	mtmsr   r0                                     
                                                                      
  _ISR_Enable( level );                                               
  return( previous_state );                                           
}                                                                     
ffc0c53c:	4e 80 00 20 	blr                                            
                                                                      

ffc0ca44 <_Watchdog_Report_chain>: void _Watchdog_Report_chain( const char *name, Chain_Control *header ) {
ffc0ca44:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0ca48:	7c 08 02 a6 	mflr    r0                                     
ffc0ca4c:	bf 81 00 08 	stmw    r28,8(r1)                              
ffc0ca50:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0ca54:	7c 9f 23 78 	mr      r31,r4                                 
ffc0ca58:	90 01 00 1c 	stw     r0,28(r1)                              
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc0ca5c:	7f a0 00 a6 	mfmsr   r29                                    
ffc0ca60:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc0ca64:	7f a0 00 78 	andc    r0,r29,r0                              
ffc0ca68:	7c 00 01 24 	mtmsr   r0                                     
  ISR_Level          level;                                           
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
ffc0ca6c:	3c 60 ff c2 	lis     r3,-62                                 
ffc0ca70:	7f e5 fb 78 	mr      r5,r31                                 
ffc0ca74:	38 63 db 5c 	addi    r3,r3,-9380                            
ffc0ca78:	7f c4 f3 78 	mr      r4,r30                                 
ffc0ca7c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0ca80:	4b ff 97 15 	bl      ffc06194 <printk>                      
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return (the_chain->first == _Chain_Tail(the_chain));                
ffc0ca84:	83 9f 00 00 	lwz     r28,0(r31)                             
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
   return (Chain_Node *) &the_chain->permanent_null;                  
ffc0ca88:	3b ff 00 04 	addi    r31,r31,4                              
    if ( !_Chain_Is_empty( header ) ) {                               
ffc0ca8c:	7f 9c f8 00 	cmpw    cr7,r28,r31                            
ffc0ca90:	41 9e 00 34 	beq-    cr7,ffc0cac4 <_Watchdog_Report_chain+0x80>
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
ffc0ca94:	7f 84 e3 78 	mr      r4,r28                                 
ffc0ca98:	38 60 00 00 	li      r3,0                                   
ffc0ca9c:	48 00 00 45 	bl      ffc0cae0 <_Watchdog_Report>            
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
    if ( !_Chain_Is_empty( header ) ) {                               
      for ( node = header->first ;                                    
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
ffc0caa0:	83 9c 00 00 	lwz     r28,0(r28)                             
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
    if ( !_Chain_Is_empty( header ) ) {                               
      for ( node = header->first ;                                    
ffc0caa4:	7f 9c f8 00 	cmpw    cr7,r28,r31                            
ffc0caa8:	40 9e ff ec 	bne+    cr7,ffc0ca94 <_Watchdog_Report_chain+0x50><== NEVER TAKEN
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
ffc0caac:	3c 60 ff c2 	lis     r3,-62                                 
ffc0cab0:	38 63 db 73 	addi    r3,r3,-9357                            
ffc0cab4:	7f c4 f3 78 	mr      r4,r30                                 
ffc0cab8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0cabc:	4b ff 96 d9 	bl      ffc06194 <printk>                      
ffc0cac0:	48 00 00 14 	b       ffc0cad4 <_Watchdog_Report_chain+0x90> 
    } else {                                                          
      printk( "Chain is empty\n" );                                   
ffc0cac4:	3c 60 ff c2 	lis     r3,-62                                 
ffc0cac8:	38 63 db 82 	addi    r3,r3,-9342                            
ffc0cacc:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0cad0:	4b ff 96 c5 	bl      ffc06194 <printk>                      
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc0cad4:	7f a0 01 24 	mtmsr   r29                                    
    }                                                                 
  _ISR_Enable( level );                                               
}                                                                     
ffc0cad8:	39 61 00 18 	addi    r11,r1,24                              
ffc0cadc:	4b ff 43 e8 	b       ffc00ec4 <_restgpr_28_x>               
                                                                      

ffc08624 <rtems_chain_append_with_notification>: rtems_chain_control *chain, rtems_chain_node *node, rtems_id task, rtems_event_set events ) {
ffc08624:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc08628:	7c 08 02 a6 	mflr    r0                                     
ffc0862c:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc08630:	7c bf 2b 78 	mr      r31,r5                                 
ffc08634:	7c de 33 78 	mr      r30,r6                                 
ffc08638:	90 01 00 14 	stw     r0,20(r1)                              
RTEMS_INLINE_ROUTINE bool rtems_chain_append_with_empty_check(        
  rtems_chain_control *chain,                                         
  rtems_chain_node *node                                              
)                                                                     
{                                                                     
  return _Chain_Append_with_empty_check( chain, node );               
ffc0863c:	48 00 05 e5 	bl      ffc08c20 <_Chain_Append_with_empty_check>
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool was_empty = rtems_chain_append_with_empty_check( chain, node );
                                                                      
  if ( was_empty ) {                                                  
ffc08640:	2f 83 00 00 	cmpwi   cr7,r3,0                               
  rtems_chain_node *node,                                             
  rtems_id task,                                                      
  rtems_event_set events                                              
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
ffc08644:	38 00 00 00 	li      r0,0                                   
  bool was_empty = rtems_chain_append_with_empty_check( chain, node );
                                                                      
  if ( was_empty ) {                                                  
ffc08648:	41 be 00 14 	beq+    cr7,ffc0865c <rtems_chain_append_with_notification+0x38><== NEVER TAKEN
    sc = rtems_event_send( task, events );                            
ffc0864c:	7f e3 fb 78 	mr      r3,r31                                 
ffc08650:	7f c4 f3 78 	mr      r4,r30                                 
ffc08654:	4b ff f4 ed 	bl      ffc07b40 <rtems_event_send>            
ffc08658:	7c 60 1b 78 	mr      r0,r3                                  
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc0865c:	39 61 00 10 	addi    r11,r1,16                              
ffc08660:	7c 03 03 78 	mr      r3,r0                                  
ffc08664:	48 00 c2 08 	b       ffc1486c <_restgpr_30_x>               
                                                                      

ffc08668 <rtems_chain_get_with_notification>: rtems_chain_control *chain, rtems_id task, rtems_event_set events, rtems_chain_node **node ) {
ffc08668:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0866c:	7c 08 02 a6 	mflr    r0                                     
ffc08670:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc08674:	7c 9f 23 78 	mr      r31,r4                                 
RTEMS_INLINE_ROUTINE bool rtems_chain_get_with_empty_check(           
  rtems_chain_control *chain,                                         
  rtems_chain_node **node                                             
)                                                                     
{                                                                     
  return _Chain_Get_with_empty_check( chain, node );                  
ffc08678:	7c c4 33 78 	mr      r4,r6                                  
ffc0867c:	90 01 00 14 	stw     r0,20(r1)                              
ffc08680:	7c be 2b 78 	mr      r30,r5                                 
ffc08684:	48 00 06 39 	bl      ffc08cbc <_Chain_Get_with_empty_check> 
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
ffc08688:	38 00 00 00 	li      r0,0                                   
  bool is_empty = rtems_chain_get_with_empty_check( chain, node );    
                                                                      
  if ( is_empty ) {                                                   
ffc0868c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08690:	41 be 00 14 	beq+    cr7,ffc086a4 <rtems_chain_get_with_notification+0x3c><== NEVER TAKEN
    sc = rtems_event_send( task, events );                            
ffc08694:	7f e3 fb 78 	mr      r3,r31                                 
ffc08698:	7f c4 f3 78 	mr      r4,r30                                 
ffc0869c:	4b ff f4 a5 	bl      ffc07b40 <rtems_event_send>            
ffc086a0:	7c 60 1b 78 	mr      r0,r3                                  
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc086a4:	39 61 00 10 	addi    r11,r1,16                              
ffc086a8:	7c 03 03 78 	mr      r3,r0                                  
ffc086ac:	48 00 c1 c0 	b       ffc1486c <_restgpr_30_x>               
                                                                      

ffc086b0 <rtems_chain_get_with_wait>: rtems_chain_control *chain, rtems_event_set events, rtems_interval timeout, rtems_chain_node **node_ptr ) {
ffc086b0:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc086b4:	7c 08 02 a6 	mflr    r0                                     
ffc086b8:	bf 41 00 18 	stmw    r26,24(r1)                             
ffc086bc:	7c 7a 1b 78 	mr      r26,r3                                 
ffc086c0:	7c 9b 23 78 	mr      r27,r4                                 
ffc086c4:	90 01 00 34 	stw     r0,52(r1)                              
ffc086c8:	7c bc 2b 78 	mr      r28,r5                                 
ffc086cc:	7c df 33 78 	mr      r31,r6                                 
  while (                                                             
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
  ) {                                                                 
    rtems_event_set out;                                              
    sc = rtems_event_receive(                                         
ffc086d0:	3b a1 00 08 	addi    r29,r1,8                               
ffc086d4:	48 00 00 20 	b       ffc086f4 <rtems_chain_get_with_wait+0x44>
ffc086d8:	7f 63 db 78 	mr      r3,r27                                 
ffc086dc:	38 80 00 00 	li      r4,0                                   
ffc086e0:	7f 85 e3 78 	mr      r5,r28                                 
ffc086e4:	7f a6 eb 78 	mr      r6,r29                                 
ffc086e8:	4b ff f2 c1 	bl      ffc079a8 <rtems_event_receive>         
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_chain_node *node = NULL;                                      
                                                                      
  while (                                                             
ffc086ec:	2c 03 00 00 	cmpwi   r3,0                                   
ffc086f0:	40 82 00 18 	bne-    ffc08708 <rtems_chain_get_with_wait+0x58><== ALWAYS TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
ffc086f4:	7f 43 d3 78 	mr      r3,r26                                 
ffc086f8:	48 00 06 19 	bl      ffc08d10 <_Chain_Get>                  
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
ffc086fc:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc08700:	41 82 ff d8 	beq+    ffc086d8 <rtems_chain_get_with_wait+0x28>
ffc08704:	38 60 00 00 	li      r3,0                                   
  }                                                                   
                                                                      
  *node_ptr = node;                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc08708:	39 61 00 30 	addi    r11,r1,48                              
      timeout,                                                        
      &out                                                            
    );                                                                
  }                                                                   
                                                                      
  *node_ptr = node;                                                   
ffc0870c:	93 df 00 00 	stw     r30,0(r31)                             
                                                                      
  return sc;                                                          
}                                                                     
ffc08710:	48 00 c1 4c 	b       ffc1485c <_restgpr_26_x>               
                                                                      

ffc08714 <rtems_chain_prepend_with_notification>: rtems_chain_control *chain, rtems_chain_node *node, rtems_id task, rtems_event_set events ) {
ffc08714:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc08718:	7c 08 02 a6 	mflr    r0                                     
ffc0871c:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc08720:	7c bf 2b 78 	mr      r31,r5                                 
ffc08724:	7c de 33 78 	mr      r30,r6                                 
ffc08728:	90 01 00 14 	stw     r0,20(r1)                              
RTEMS_INLINE_ROUTINE bool rtems_chain_prepend_with_empty_check(       
  rtems_chain_control *chain,                                         
  rtems_chain_node *node                                              
)                                                                     
{                                                                     
  return _Chain_Prepend_with_empty_check( chain, node );              
ffc0872c:	48 00 06 51 	bl      ffc08d7c <_Chain_Prepend_with_empty_check>
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool was_empty = rtems_chain_prepend_with_empty_check( chain, node );
                                                                      
  if (was_empty) {                                                    
ffc08730:	2f 83 00 00 	cmpwi   cr7,r3,0                               
  rtems_chain_node *node,                                             
  rtems_id task,                                                      
  rtems_event_set events                                              
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
ffc08734:	38 00 00 00 	li      r0,0                                   
  bool was_empty = rtems_chain_prepend_with_empty_check( chain, node );
                                                                      
  if (was_empty) {                                                    
ffc08738:	41 be 00 14 	beq+    cr7,ffc0874c <rtems_chain_prepend_with_notification+0x38><== NEVER TAKEN
    sc = rtems_event_send( task, events );                            
ffc0873c:	7f e3 fb 78 	mr      r3,r31                                 
ffc08740:	7f c4 f3 78 	mr      r4,r30                                 
ffc08744:	4b ff f3 fd 	bl      ffc07b40 <rtems_event_send>            
ffc08748:	7c 60 1b 78 	mr      r0,r3                                  
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc0874c:	39 61 00 10 	addi    r11,r1,16                              
ffc08750:	7c 03 03 78 	mr      r3,r0                                  
ffc08754:	48 00 c1 18 	b       ffc1486c <_restgpr_30_x>               
                                                                      

ffc09370 <rtems_io_register_driver>: rtems_status_code rtems_io_register_driver( rtems_device_major_number major, const rtems_driver_address_table *driver_table, rtems_device_major_number *registered_major ) {
ffc09370:	7c 08 02 a6 	mflr    r0                                     
ffc09374:	7c 2b 0b 78 	mr      r11,r1                                 
ffc09378:	94 21 ff f0 	stwu    r1,-16(r1)                             
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
ffc0937c:	3d 20 00 00 	lis     r9,0                                   
rtems_status_code rtems_io_register_driver(                           
  rtems_device_major_number         major,                            
  const rtems_driver_address_table *driver_table,                     
  rtems_device_major_number        *registered_major                  
)                                                                     
{                                                                     
ffc09380:	90 01 00 14 	stw     r0,20(r1)                              
ffc09384:	48 00 ed c5 	bl      ffc18148 <_savegpr_31>                 
ffc09388:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
ffc0938c:	80 09 27 9c 	lwz     r0,10140(r9)                           
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
ffc09390:	3d 20 00 00 	lis     r9,0                                   
ffc09394:	81 29 2e 2c 	lwz     r9,11820(r9)                           
    return RTEMS_CALLED_FROM_ISR;                                     
ffc09398:	38 60 00 12 	li      r3,18                                  
  rtems_device_major_number        *registered_major                  
)                                                                     
{                                                                     
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
ffc0939c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc093a0:	40 9e 01 14 	bne-    cr7,ffc094b4 <rtems_io_register_driver+0x144>
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  if ( registered_major == NULL )                                     
ffc093a4:	2f 85 00 00 	cmpwi   cr7,r5,0                               
    return RTEMS_INVALID_ADDRESS;                                     
ffc093a8:	38 60 00 09 	li      r3,9                                   
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  if ( registered_major == NULL )                                     
ffc093ac:	41 9e 01 08 	beq-    cr7,ffc094b4 <rtems_io_register_driver+0x144>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Set it to an invalid value */                                    
  *registered_major = major_limit;                                    
                                                                      
  if ( driver_table == NULL )                                         
ffc093b0:	2f 84 00 00 	cmpwi   cr7,r4,0                               
                                                                      
  if ( registered_major == NULL )                                     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Set it to an invalid value */                                    
  *registered_major = major_limit;                                    
ffc093b4:	90 05 00 00 	stw     r0,0(r5)                               
                                                                      
  if ( driver_table == NULL )                                         
ffc093b8:	41 9e 00 fc 	beq-    cr7,ffc094b4 <rtems_io_register_driver+0x144>
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
ffc093bc:	81 24 00 00 	lwz     r9,0(r4)                               
ffc093c0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc093c4:	40 be 00 f8 	bne+    cr7,ffc094bc <rtems_io_register_driver+0x14c>
ffc093c8:	81 24 00 04 	lwz     r9,4(r4)                               
ffc093cc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc093d0:	40 be 00 ec 	bne+    cr7,ffc094bc <rtems_io_register_driver+0x14c>
ffc093d4:	48 00 00 e0 	b       ffc094b4 <rtems_io_register_driver+0x144>
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
ffc093d8:	3d 20 00 00 	lis     r9,0                                   
ffc093dc:	81 69 27 48 	lwz     r11,10056(r9)                          
ffc093e0:	38 0b 00 01 	addi    r0,r11,1                               
ffc093e4:	90 09 27 48 	stw     r0,10056(r9)                           
  if ( major >= major_limit )                                         
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( major == 0 ) {                                                 
ffc093e8:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc093ec:	3d 20 00 00 	lis     r9,0                                   
ffc093f0:	40 9e 00 58 	bne-    cr7,ffc09448 <rtems_io_register_driver+0xd8>
                                                                      
static rtems_status_code rtems_io_obtain_major_number(                
  rtems_device_major_number *major                                    
)                                                                     
{                                                                     
  rtems_device_major_number n = _IO_Number_of_drivers;                
ffc093f4:	3d 60 00 00 	lis     r11,0                                  
ffc093f8:	81 29 27 a0 	lwz     r9,10144(r9)                           
ffc093fc:	81 6b 27 9c 	lwz     r11,10140(r11)                         
ffc09400:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc09404:	38 0b 00 01 	addi    r0,r11,1                               
ffc09408:	40 be 00 28 	bne+    cr7,ffc09430 <rtems_io_register_driver+0xc0><== ALWAYS TAKEN
ffc0940c:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc09410:	48 00 00 20 	b       ffc09430 <rtems_io_register_driver+0xc0><== NOT EXECUTED
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
ffc09414:	81 49 00 00 	lwz     r10,0(r9)                              
ffc09418:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0941c:	40 be 00 b0 	bne+    cr7,ffc094cc <rtems_io_register_driver+0x15c>
ffc09420:	81 49 00 04 	lwz     r10,4(r9)                              
ffc09424:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc09428:	40 be 00 a4 	bne+    cr7,ffc094cc <rtems_io_register_driver+0x15c>
ffc0942c:	48 00 00 0c 	b       ffc09438 <rtems_io_register_driver+0xc8>
  rtems_device_major_number n = _IO_Number_of_drivers;                
  rtems_device_major_number m = 0;                                    
                                                                      
  /* major is error checked by caller */                              
                                                                      
  for ( m = 0; m < n; ++m ) {                                         
ffc09430:	34 00 ff ff 	addic.  r0,r0,-1                               
ffc09434:	40 82 ff e0 	bne+    ffc09414 <rtems_io_register_driver+0xa4>
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
                                                                      
  if ( m != n )                                                       
ffc09438:	7f 9f 58 00 	cmpw    cr7,r31,r11                            
    if ( rtems_io_is_empty_table( table ) )                           
      break;                                                          
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
ffc0943c:	93 e5 00 00 	stw     r31,0(r5)                              
                                                                      
  if ( m != n )                                                       
ffc09440:	40 be 00 48 	bne+    cr7,ffc09488 <rtems_io_register_driver+0x118>
ffc09444:	48 00 00 94 	b       ffc094d8 <rtems_io_register_driver+0x168>
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
    }                                                                 
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
ffc09448:	1c 1f 00 18 	mulli   r0,r31,24                              
ffc0944c:	81 29 27 a0 	lwz     r9,10144(r9)                           
ffc09450:	7d 69 02 14 	add     r11,r9,r0                              
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
ffc09454:	7d 29 00 2e 	lwzx    r9,r9,r0                               
ffc09458:	38 00 00 00 	li      r0,0                                   
ffc0945c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc09460:	40 be 00 10 	bne+    cr7,ffc09470 <rtems_io_register_driver+0x100>
    return RTEMS_SUCCESSFUL;                                          
                                                                      
  return RTEMS_TOO_MANY;                                              
}                                                                     
                                                                      
rtems_status_code rtems_io_register_driver(                           
ffc09464:	80 0b 00 04 	lwz     r0,4(r11)                              
ffc09468:	7c 00 00 34 	cntlzw  r0,r0                                  
ffc0946c:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          
    }                                                                 
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
                                                                      
    if ( !rtems_io_is_empty_table( table ) ) {                        
ffc09470:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc09474:	40 9e 00 10 	bne-    cr7,ffc09484 <rtems_io_register_driver+0x114>
      _Thread_Enable_dispatch();                                      
ffc09478:	48 00 1c 71 	bl      ffc0b0e8 <_Thread_Enable_dispatch>     
      return RTEMS_RESOURCE_IN_USE;                                   
ffc0947c:	38 60 00 0c 	li      r3,12                                  
ffc09480:	48 00 00 34 	b       ffc094b4 <rtems_io_register_driver+0x144>
    }                                                                 
                                                                      
    *registered_major = major;                                        
ffc09484:	93 e5 00 00 	stw     r31,0(r5)                              
  }                                                                   
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
ffc09488:	3d 20 00 00 	lis     r9,0                                   
ffc0948c:	81 69 27 a0 	lwz     r11,10144(r9)                          
ffc09490:	1c 1f 00 18 	mulli   r0,r31,24                              
ffc09494:	7d 6b 02 14 	add     r11,r11,r0                             
ffc09498:	7c a4 c4 aa 	lswi    r5,r4,24                               
ffc0949c:	7c ab c5 aa 	stswi   r5,r11,24                              
                                                                      
  _Thread_Enable_dispatch();                                          
ffc094a0:	48 00 1c 49 	bl      ffc0b0e8 <_Thread_Enable_dispatch>     
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
ffc094a4:	7f e3 fb 78 	mr      r3,r31                                 
ffc094a8:	38 80 00 00 	li      r4,0                                   
ffc094ac:	38 a0 00 00 	li      r5,0                                   
ffc094b0:	48 00 7c b9 	bl      ffc11168 <rtems_io_initialize>         
}                                                                     
ffc094b4:	39 61 00 10 	addi    r11,r1,16                              
ffc094b8:	48 00 ec dc 	b       ffc18194 <_restgpr_31_x>               
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( major >= major_limit )                                         
ffc094bc:	7f 9f 00 40 	cmplw   cr7,r31,r0                             
    return RTEMS_INVALID_NUMBER;                                      
ffc094c0:	38 60 00 0a 	li      r3,10                                  
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( major >= major_limit )                                         
ffc094c4:	41 9c ff 14 	blt+    cr7,ffc093d8 <rtems_io_register_driver+0x68>
ffc094c8:	4b ff ff ec 	b       ffc094b4 <rtems_io_register_driver+0x144>
  rtems_device_major_number n = _IO_Number_of_drivers;                
  rtems_device_major_number m = 0;                                    
                                                                      
  /* major is error checked by caller */                              
                                                                      
  for ( m = 0; m < n; ++m ) {                                         
ffc094cc:	3b ff 00 01 	addi    r31,r31,1                              
ffc094d0:	39 29 00 18 	addi    r9,r9,24                               
ffc094d4:	4b ff ff 5c 	b       ffc09430 <rtems_io_register_driver+0xc0>
                                                                      
  if ( major == 0 ) {                                                 
    rtems_status_code sc = rtems_io_obtain_major_number( registered_major );
                                                                      
    if ( sc != RTEMS_SUCCESSFUL ) {                                   
      _Thread_Enable_dispatch();                                      
ffc094d8:	48 00 1c 11 	bl      ffc0b0e8 <_Thread_Enable_dispatch>     
  *major = m;                                                         
                                                                      
  if ( m != n )                                                       
    return RTEMS_SUCCESSFUL;                                          
                                                                      
  return RTEMS_TOO_MANY;                                              
ffc094dc:	38 60 00 05 	li      r3,5                                   
  if ( major == 0 ) {                                                 
    rtems_status_code sc = rtems_io_obtain_major_number( registered_major );
                                                                      
    if ( sc != RTEMS_SUCCESSFUL ) {                                   
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
ffc094e0:	4b ff ff d4 	b       ffc094b4 <rtems_io_register_driver+0x144>
                                                                      

ffc0ad04 <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) {
ffc0ad04:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0ad08:	7c 08 02 a6 	mflr    r0                                     
ffc0ad0c:	bf 61 00 0c 	stmw    r27,12(r1)                             
  uint32_t             i;                                             
  uint32_t             api_index;                                     
  Thread_Control      *the_thread;                                    
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
ffc0ad10:	7c 7b 1b 79 	mr.     r27,r3                                 
                                                                      
#include <rtems/system.h>                                             
#include <rtems/score/thread.h>                                       
                                                                      
void rtems_iterate_over_all_threads(rtems_per_thread_routine routine) 
{                                                                     
ffc0ad14:	90 01 00 24 	stw     r0,36(r1)                              
  uint32_t             i;                                             
  uint32_t             api_index;                                     
  Thread_Control      *the_thread;                                    
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
ffc0ad18:	41 82 00 5c 	beq-    ffc0ad74 <rtems_iterate_over_all_threads+0x70><== NEVER TAKEN
ffc0ad1c:	3f e0 00 01 	lis     r31,1                                  
ffc0ad20:	3b ff a9 80 	addi    r31,r31,-22144                         
#endif                                                                
                                                                      
#include <rtems/system.h>                                             
#include <rtems/score/thread.h>                                       
                                                                      
void rtems_iterate_over_all_threads(rtems_per_thread_routine routine) 
ffc0ad24:	3b 9f 00 0c 	addi    r28,r31,12                             
    #if defined(RTEMS_DEBUG)                                          
      if ( !_Objects_Information_table[ api_index ] )                 
	continue;                                                            
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
ffc0ad28:	85 3f 00 04 	lwzu    r9,4(r31)                              
    if ( !information )                                               
ffc0ad2c:	3b c0 00 01 	li      r30,1                                  
    #if defined(RTEMS_DEBUG)                                          
      if ( !_Objects_Information_table[ api_index ] )                 
	continue;                                                            
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
ffc0ad30:	83 a9 00 04 	lwz     r29,4(r9)                              
    if ( !information )                                               
ffc0ad34:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc0ad38:	40 be 00 28 	bne+    cr7,ffc0ad60 <rtems_iterate_over_all_threads+0x5c>
ffc0ad3c:	48 00 00 30 	b       ffc0ad6c <rtems_iterate_over_all_threads+0x68>
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
      the_thread = (Thread_Control *)information->local_table[ i ];   
ffc0ad40:	81 3d 00 1c 	lwz     r9,28(r29)                             
ffc0ad44:	57 c0 10 3a 	rlwinm  r0,r30,2,0,29                          
ffc0ad48:	7c 69 00 2e 	lwzx    r3,r9,r0                               
                                                                      
      if ( !the_thread )                                              
ffc0ad4c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ad50:	41 9e 00 0c 	beq-    cr7,ffc0ad5c <rtems_iterate_over_all_threads+0x58>
	continue;                                                            
                                                                      
      (*routine)(the_thread);                                         
ffc0ad54:	7f 69 03 a6 	mtctr   r27                                    
ffc0ad58:	4e 80 04 21 	bctrl                                          
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( !information )                                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
ffc0ad5c:	3b de 00 01 	addi    r30,r30,1                              
ffc0ad60:	a0 1d 00 10 	lhz     r0,16(r29)                             
ffc0ad64:	7f 9e 00 40 	cmplw   cr7,r30,r0                             
ffc0ad68:	40 9d ff d8 	ble+    cr7,ffc0ad40 <rtems_iterate_over_all_threads+0x3c>
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
ffc0ad6c:	7f 9f e0 00 	cmpw    cr7,r31,r28                            
ffc0ad70:	40 9e ff b8 	bne+    cr7,ffc0ad28 <rtems_iterate_over_all_threads+0x24>
                                                                      
      (*routine)(the_thread);                                         
    }                                                                 
  }                                                                   
                                                                      
}                                                                     
ffc0ad74:	39 61 00 20 	addi    r11,r1,32                              
ffc0ad78:	4b ff 65 c8 	b       ffc01340 <_restgpr_27_x>               
                                                                      

ffc1664c <rtems_partition_create>: uint32_t length, uint32_t buffer_size, rtems_attribute attribute_set, rtems_id *id ) {
ffc1664c:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc16650:	7c 08 02 a6 	mflr    r0                                     
ffc16654:	bf 21 00 14 	stmw    r25,20(r1)                             
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
ffc16658:	7c 7b 1b 79 	mr.     r27,r3                                 
  uint32_t         length,                                            
  uint32_t         buffer_size,                                       
  rtems_attribute  attribute_set,                                     
  rtems_id        *id                                                 
)                                                                     
{                                                                     
ffc1665c:	7c bf 2b 78 	mr      r31,r5                                 
ffc16660:	90 01 00 34 	stw     r0,52(r1)                              
ffc16664:	7c fa 3b 78 	mr      r26,r7                                 
ffc16668:	7d 1d 43 78 	mr      r29,r8                                 
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
ffc1666c:	38 00 00 03 	li      r0,3                                   
  rtems_id        *id                                                 
)                                                                     
{                                                                     
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
ffc16670:	41 82 00 cc 	beq-    ffc1673c <rtems_partition_create+0xf0> 
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
ffc16674:	2f 84 00 00 	cmpwi   cr7,r4,0                               
    return RTEMS_INVALID_ADDRESS;                                     
ffc16678:	38 00 00 09 	li      r0,9                                   
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
ffc1667c:	41 9e 00 c0 	beq-    cr7,ffc1673c <rtems_partition_create+0xf0>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
ffc16680:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc16684:	41 9e 00 b8 	beq-    cr7,ffc1673c <rtems_partition_create+0xf0><== NEVER TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
ffc16688:	2f 85 00 00 	cmpwi   cr7,r5,0                               
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
ffc1668c:	38 00 00 08 	li      r0,8                                   
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
ffc16690:	41 9e 00 ac 	beq-    cr7,ffc1673c <rtems_partition_create+0xf0>
ffc16694:	2f 86 00 00 	cmpwi   cr7,r6,0                               
ffc16698:	41 9e 00 a4 	beq-    cr7,ffc1673c <rtems_partition_create+0xf0>
ffc1669c:	7f 85 30 40 	cmplw   cr7,r5,r6                              
ffc166a0:	41 9c 00 9c 	blt-    cr7,ffc1673c <rtems_partition_create+0xf0>
ffc166a4:	70 c9 00 07 	andi.   r9,r6,7                                
ffc166a8:	40 82 00 94 	bne-    ffc1673c <rtems_partition_create+0xf0> 
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
                                                                      
  if ( !_Addresses_Is_aligned( starting_address ) )                   
ffc166ac:	70 99 00 07 	andi.   r25,r4,7                               
     return RTEMS_INVALID_ADDRESS;                                    
ffc166b0:	38 00 00 09 	li      r0,9                                   
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
                                                                      
  if ( !_Addresses_Is_aligned( starting_address ) )                   
ffc166b4:	40 a2 00 88 	bne+    ffc1673c <rtems_partition_create+0xf0> 
ffc166b8:	3d 20 00 00 	lis     r9,0                                   
ffc166bc:	81 69 28 24 	lwz     r11,10276(r9)                          
ffc166c0:	38 0b 00 01 	addi    r0,r11,1                               
ffc166c4:	90 09 28 24 	stw     r0,10276(r9)                           
 *  This function allocates a partition control block from            
 *  the inactive chain of free partition control blocks.              
 */                                                                   
RTEMS_INLINE_ROUTINE Partition_Control *_Partition_Allocate ( void )  
{                                                                     
  return (Partition_Control *) _Objects_Allocate( &_Partition_Information );
ffc166c8:	3f 80 00 00 	lis     r28,0                                  
ffc166cc:	90 81 00 08 	stw     r4,8(r1)                               
ffc166d0:	3b 9c 6e 40 	addi    r28,r28,28224                          
ffc166d4:	7f 83 e3 78 	mr      r3,r28                                 
ffc166d8:	90 c1 00 0c 	stw     r6,12(r1)                              
ffc166dc:	48 00 4d 91 	bl      ffc1b46c <_Objects_Allocate>           
                                                                      
  _Thread_Disable_dispatch();               /* prevents deletion */   
                                                                      
  the_partition = _Partition_Allocate();                              
                                                                      
  if ( !the_partition ) {                                             
ffc166e0:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc166e4:	80 81 00 08 	lwz     r4,8(r1)                               
ffc166e8:	80 c1 00 0c 	lwz     r6,12(r1)                              
ffc166ec:	40 a2 00 10 	bne+    ffc166fc <rtems_partition_create+0xb0> 
    _Thread_Enable_dispatch();                                        
ffc166f0:	48 00 5c 69 	bl      ffc1c358 <_Thread_Enable_dispatch>     
    return RTEMS_TOO_MANY;                                            
ffc166f4:	38 00 00 05 	li      r0,5                                   
ffc166f8:	48 00 00 44 	b       ffc1673c <rtems_partition_create+0xf0> 
  the_partition->length                = length;                      
  the_partition->buffer_size           = buffer_size;                 
  the_partition->attribute_set         = attribute_set;               
  the_partition->number_of_used_blocks = 0;                           
                                                                      
  _Chain_Initialize( &the_partition->Memory, starting_address,        
ffc166fc:	7c bf 33 96 	divwu   r5,r31,r6                              
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
ffc16700:	90 9e 00 10 	stw     r4,16(r30)                             
  the_partition->length                = length;                      
  the_partition->buffer_size           = buffer_size;                 
ffc16704:	90 de 00 18 	stw     r6,24(r30)                             
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
  the_partition->length                = length;                      
ffc16708:	93 fe 00 14 	stw     r31,20(r30)                            
  the_partition->buffer_size           = buffer_size;                 
  the_partition->attribute_set         = attribute_set;               
ffc1670c:	93 5e 00 1c 	stw     r26,28(r30)                            
  the_partition->number_of_used_blocks = 0;                           
ffc16710:	93 3e 00 20 	stw     r25,32(r30)                            
                                                                      
  _Chain_Initialize( &the_partition->Memory, starting_address,        
ffc16714:	38 7e 00 24 	addi    r3,r30,36                              
ffc16718:	48 00 35 0d 	bl      ffc19c24 <_Chain_Initialize>           
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
ffc1671c:	80 1e 00 08 	lwz     r0,8(r30)                              
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
ffc16720:	81 7c 00 1c 	lwz     r11,28(r28)                            
ffc16724:	54 09 13 ba 	rlwinm  r9,r0,2,14,29                          
ffc16728:	7f cb 49 2e 	stwx    r30,r11,r9                             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
ffc1672c:	93 7e 00 0c 	stw     r27,12(r30)                            
    &_Partition_Information,                                          
    &the_partition->Object,                                           
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_partition->Object.id;                                     
ffc16730:	90 1d 00 00 	stw     r0,0(r29)                              
      name,                                                           
      0                  /* Not used */                               
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
ffc16734:	48 00 5c 25 	bl      ffc1c358 <_Thread_Enable_dispatch>     
  return RTEMS_SUCCESSFUL;                                            
ffc16738:	38 00 00 00 	li      r0,0                                   
}                                                                     
ffc1673c:	39 61 00 30 	addi    r11,r1,48                              
ffc16740:	7c 03 03 78 	mr      r3,r0                                  
ffc16744:	4b ff 7b 60 	b       ffc0e2a4 <_restgpr_25_x>               
                                                                      

ffc16894 <rtems_partition_return_buffer>: rtems_status_code rtems_partition_return_buffer( rtems_id id, void *buffer ) {
ffc16894:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc16898:	7c 08 02 a6 	mflr    r0                                     
ffc1689c:	90 01 00 24 	stw     r0,36(r1)                              
ffc168a0:	7c 60 1b 78 	mr      r0,r3                                  
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Partition_Control *)                                        
    _Objects_Get( &_Partition_Information, id, location );            
ffc168a4:	3c 60 00 00 	lis     r3,0                                   
ffc168a8:	bf c1 00 18 	stmw    r30,24(r1)                             
ffc168ac:	38 63 6e 40 	addi    r3,r3,28224                            
ffc168b0:	7c 9f 23 78 	mr      r31,r4                                 
ffc168b4:	38 a1 00 08 	addi    r5,r1,8                                
ffc168b8:	7c 04 03 78 	mr      r4,r0                                  
ffc168bc:	48 00 51 0d 	bl      ffc1b9c8 <_Objects_Get>                
  register Partition_Control *the_partition;                          
  Objects_Locations           location;                               
                                                                      
  the_partition = _Partition_Get( id, &location );                    
  switch ( location ) {                                               
ffc168c0:	80 01 00 08 	lwz     r0,8(r1)                               
ffc168c4:	7c 7e 1b 78 	mr      r30,r3                                 
ffc168c8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc168cc:	38 60 00 04 	li      r3,4                                   
{                                                                     
  register Partition_Control *the_partition;                          
  Objects_Locations           location;                               
                                                                      
  the_partition = _Partition_Get( id, &location );                    
  switch ( location ) {                                               
ffc168d0:	40 9e 00 58 	bne-    cr7,ffc16928 <rtems_partition_return_buffer+0x94>
)                                                                     
{                                                                     
  void *starting;                                                     
  void *ending;                                                       
                                                                      
  starting = the_partition->starting_address;                         
ffc168d4:	80 1e 00 10 	lwz     r0,16(r30)                             
  ending   = _Addresses_Add_offset( starting, the_partition->length );
ffc168d8:	81 3e 00 14 	lwz     r9,20(r30)                             
  const void *address,                                                
  const void *base,                                                   
  const void *limit                                                   
)                                                                     
{                                                                     
  return (address >= base && address <= limit);                       
ffc168dc:	7f 9f 00 40 	cmplw   cr7,r31,r0                             
ffc168e0:	41 9c 00 50 	blt-    cr7,ffc16930 <rtems_partition_return_buffer+0x9c>
RTEMS_INLINE_ROUTINE void *_Addresses_Add_offset (                    
  const void *base,                                                   
  uintptr_t   offset                                                  
)                                                                     
{                                                                     
  return (void *)((uintptr_t)base + offset);                          
ffc168e4:	7d 20 4a 14 	add     r9,r0,r9                               
  const void *address,                                                
  const void *base,                                                   
  const void *limit                                                   
)                                                                     
{                                                                     
  return (address >= base && address <= limit);                       
ffc168e8:	7f 9f 48 40 	cmplw   cr7,r31,r9                             
ffc168ec:	41 9d 00 44 	bgt-    cr7,ffc16930 <rtems_partition_return_buffer+0x9c><== NEVER TAKEN
  offset = (uint32_t) _Addresses_Subtract(                            
    the_buffer,                                                       
    the_partition->starting_address                                   
  );                                                                  
                                                                      
  return ((offset % the_partition->buffer_size) == 0);                
ffc168f0:	81 3e 00 18 	lwz     r9,24(r30)                             
RTEMS_INLINE_ROUTINE int32_t _Addresses_Subtract (                    
  const void *left,                                                   
  const void *right                                                   
)                                                                     
{                                                                     
  return (int32_t) ((const char *) left - (const char *) right);      
ffc168f4:	7c 00 f8 50 	subf    r0,r0,r31                              
ffc168f8:	7d 60 4b 96 	divwu   r11,r0,r9                              
ffc168fc:	7d 2b 49 d6 	mullw   r9,r11,r9                              
                                                                      
  starting = the_partition->starting_address;                         
  ending   = _Addresses_Add_offset( starting, the_partition->length );
                                                                      
  return (                                                            
    _Addresses_Is_in_range( the_buffer, starting, ending ) &&         
ffc16900:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc16904:	40 9e 00 2c 	bne-    cr7,ffc16930 <rtems_partition_return_buffer+0x9c>
RTEMS_INLINE_ROUTINE void _Partition_Free_buffer (                    
  Partition_Control *the_partition,                                   
  Chain_Node        *the_buffer                                       
)                                                                     
{                                                                     
  _Chain_Append( &the_partition->Memory, the_buffer );                
ffc16908:	38 7e 00 24 	addi    r3,r30,36                              
ffc1690c:	7f e4 fb 78 	mr      r4,r31                                 
ffc16910:	48 00 32 7d 	bl      ffc19b8c <_Chain_Append>               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( _Partition_Is_buffer_valid( buffer, the_partition ) ) {    
        _Partition_Free_buffer( the_partition, buffer );              
        the_partition->number_of_used_blocks -= 1;                    
ffc16914:	81 3e 00 20 	lwz     r9,32(r30)                             
ffc16918:	38 09 ff ff 	addi    r0,r9,-1                               
ffc1691c:	90 1e 00 20 	stw     r0,32(r30)                             
        _Thread_Enable_dispatch();                                    
ffc16920:	48 00 5a 39 	bl      ffc1c358 <_Thread_Enable_dispatch>     
        return RTEMS_SUCCESSFUL;                                      
ffc16924:	38 60 00 00 	li      r3,0                                   
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc16928:	39 61 00 20 	addi    r11,r1,32                              
ffc1692c:	4b ff 79 8c 	b       ffc0e2b8 <_restgpr_30_x>               
        _Partition_Free_buffer( the_partition, buffer );              
        the_partition->number_of_used_blocks -= 1;                    
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
ffc16930:	48 00 5a 29 	bl      ffc1c358 <_Thread_Enable_dispatch>     
      return RTEMS_INVALID_ADDRESS;                                   
ffc16934:	38 60 00 09 	li      r3,9                                   
ffc16938:	4b ff ff f0 	b       ffc16928 <rtems_partition_return_buffer+0x94>
                                                                      

ffc08d98 <rtems_rate_monotonic_period>: rtems_status_code rtems_rate_monotonic_period( rtems_id id, rtems_interval length ) {
ffc08d98:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc08d9c:	7c 08 02 a6 	mflr    r0                                     
ffc08da0:	bf 81 00 18 	stmw    r28,24(r1)                             
ffc08da4:	7c 7e 1b 78 	mr      r30,r3                                 
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Rate_monotonic_Control *)                                   
    _Objects_Get( &_Rate_monotonic_Information, id, location );       
ffc08da8:	3c 60 00 00 	lis     r3,0                                   
ffc08dac:	7c 9f 23 78 	mr      r31,r4                                 
ffc08db0:	90 01 00 2c 	stw     r0,44(r1)                              
ffc08db4:	38 63 2b a0 	addi    r3,r3,11168                            
ffc08db8:	7f c4 f3 78 	mr      r4,r30                                 
ffc08dbc:	38 a1 00 08 	addi    r5,r1,8                                
ffc08dc0:	48 00 25 a1 	bl      ffc0b360 <_Objects_Get>                
  rtems_rate_monotonic_period_states   local_state;                   
  ISR_Level                            level;                         
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
                                                                      
  switch ( location ) {                                               
ffc08dc4:	80 01 00 08 	lwz     r0,8(r1)                               
ffc08dc8:	7c 7d 1b 78 	mr      r29,r3                                 
ffc08dcc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc08dd0:	40 9e 01 70 	bne-    cr7,ffc08f40 <rtems_rate_monotonic_period+0x1a8>
    case OBJECTS_LOCAL:                                               
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
ffc08dd4:	3d 60 00 00 	lis     r11,0                                  
ffc08dd8:	81 23 00 40 	lwz     r9,64(r3)                              
ffc08ddc:	80 0b 2e 90 	lwz     r0,11920(r11)                          
ffc08de0:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc08de4:	41 9e 00 10 	beq-    cr7,ffc08df4 <rtems_rate_monotonic_period+0x5c>
        _Thread_Enable_dispatch();                                    
ffc08de8:	48 00 2f 09 	bl      ffc0bcf0 <_Thread_Enable_dispatch>     
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
ffc08dec:	3b c0 00 17 	li      r30,23                                 
ffc08df0:	48 00 01 54 	b       ffc08f44 <rtems_rate_monotonic_period+0x1ac>
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
ffc08df4:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc08df8:	40 9e 00 2c 	bne-    cr7,ffc08e24 <rtems_rate_monotonic_period+0x8c>
        switch ( the_period->state ) {                                
ffc08dfc:	80 03 00 38 	lwz     r0,56(r3)                              
ffc08e00:	3b c0 00 00 	li      r30,0                                  
ffc08e04:	2b 80 00 04 	cmplwi  cr7,r0,4                               
ffc08e08:	41 9d 00 14 	bgt-    cr7,ffc08e1c <rtems_rate_monotonic_period+0x84><== NEVER TAKEN
ffc08e0c:	3d 20 ff c2 	lis     r9,-62                                 
ffc08e10:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc08e14:	39 29 d7 e0 	addi    r9,r9,-10272                           
ffc08e18:	7f c9 00 2e 	lwzx    r30,r9,r0                              
          case RATE_MONOTONIC_ACTIVE:                                 
          default:              /* unreached -- only to remove warnings */
            return_value = RTEMS_SUCCESSFUL;                          
            break;                                                    
        }                                                             
        _Thread_Enable_dispatch();                                    
ffc08e1c:	48 00 2e d5 	bl      ffc0bcf0 <_Thread_Enable_dispatch>     
        return( return_value );                                       
ffc08e20:	48 00 01 24 	b       ffc08f44 <rtems_rate_monotonic_period+0x1ac>
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc08e24:	7f 80 00 a6 	mfmsr   r28                                    
ffc08e28:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc08e2c:	7f 80 00 78 	andc    r0,r28,r0                              
ffc08e30:	7c 00 01 24 	mtmsr   r0                                     
      }                                                               
                                                                      
      _ISR_Disable( level );                                          
      if ( the_period->state == RATE_MONOTONIC_INACTIVE ) {           
ffc08e34:	80 03 00 38 	lwz     r0,56(r3)                              
ffc08e38:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc08e3c:	40 be 00 4c 	bne+    cr7,ffc08e88 <rtems_rate_monotonic_period+0xf0>
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc08e40:	7f 80 01 24 	mtmsr   r28                                    
        _ISR_Enable( level );                                         
                                                                      
        /*                                                            
         *  Baseline statistics information for the beginning of a period.
         */                                                           
        _Rate_monotonic_Initiate_statistics( the_period );            
ffc08e44:	4b ff fd cd 	bl      ffc08c10 <_Rate_monotonic_Initiate_statistics>
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
ffc08e48:	38 00 00 02 	li      r0,2                                   
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
ffc08e4c:	3d 20 ff c1 	lis     r9,-63                                 
ffc08e50:	90 1d 00 38 	stw     r0,56(r29)                             
ffc08e54:	39 29 92 4c 	addi    r9,r9,-28084                           
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
ffc08e58:	38 00 00 00 	li      r0,0                                   
  the_watchdog->routine   = routine;                                  
ffc08e5c:	91 3d 00 2c 	stw     r9,44(r29)                             
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc08e60:	3c 60 00 00 	lis     r3,0                                   
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
ffc08e64:	90 1d 00 18 	stw     r0,24(r29)                             
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc08e68:	38 63 2d 68 	addi    r3,r3,11624                            
ffc08e6c:	38 9d 00 10 	addi    r4,r29,16                              
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
ffc08e70:	93 dd 00 30 	stw     r30,48(r29)                            
  the_watchdog->user_data = user_data;                                
ffc08e74:	90 1d 00 34 	stw     r0,52(r29)                             
          _Rate_monotonic_Timeout,                                    
          id,                                                         
          NULL                                                        
        );                                                            
                                                                      
        the_period->next_length = length;                             
ffc08e78:	93 fd 00 3c 	stw     r31,60(r29)                            
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
ffc08e7c:	93 fd 00 1c 	stw     r31,28(r29)                            
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc08e80:	48 00 42 41 	bl      ffc0d0c0 <_Watchdog_Insert>            
ffc08e84:	48 00 00 70 	b       ffc08ef4 <rtems_rate_monotonic_period+0x15c>
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
                                                                      
      if ( the_period->state == RATE_MONOTONIC_ACTIVE ) {             
ffc08e88:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc08e8c:	40 be 00 74 	bne+    cr7,ffc08f00 <rtems_rate_monotonic_period+0x168>
        /*                                                            
         *  Update statistics from the concluding period.             
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
ffc08e90:	4b ff fe 01 	bl      ffc08c90 <_Rate_monotonic_Update_statistics>
        /*                                                            
         *  This tells the _Rate_monotonic_Timeout that this task is  
         *  in the process of blocking on the period and that we      
         *  may be changing the length of the next period.            
         */                                                           
        the_period->state = RATE_MONOTONIC_OWNER_IS_BLOCKING;         
ffc08e94:	38 00 00 01 	li      r0,1                                   
ffc08e98:	90 1d 00 38 	stw     r0,56(r29)                             
        the_period->next_length = length;                             
ffc08e9c:	93 fd 00 3c 	stw     r31,60(r29)                            
ffc08ea0:	7f 80 01 24 	mtmsr   r28                                    
                                                                      
        _ISR_Enable( level );                                         
                                                                      
        _Thread_Executing->Wait.id = the_period->Object.id;           
ffc08ea4:	3d 20 00 00 	lis     r9,0                                   
ffc08ea8:	80 1d 00 08 	lwz     r0,8(r29)                              
ffc08eac:	80 69 2e 90 	lwz     r3,11920(r9)                           
        _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
ffc08eb0:	38 80 40 00 	li      r4,16384                               
        the_period->state = RATE_MONOTONIC_OWNER_IS_BLOCKING;         
        the_period->next_length = length;                             
                                                                      
        _ISR_Enable( level );                                         
                                                                      
        _Thread_Executing->Wait.id = the_period->Object.id;           
ffc08eb4:	90 03 00 20 	stw     r0,32(r3)                              
        _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
ffc08eb8:	48 00 37 c9 	bl      ffc0c680 <_Thread_Set_state>           
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc08ebc:	7d 20 00 a6 	mfmsr   r9                                     
ffc08ec0:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc08ec4:	7d 20 00 78 	andc    r0,r9,r0                               
ffc08ec8:	7c 00 01 24 	mtmsr   r0                                     
         *  Did the watchdog timer expire while we were actually blocking
         *  on it?                                                    
         */                                                           
        _ISR_Disable( level );                                        
          local_state = the_period->state;                            
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
ffc08ecc:	39 60 00 02 	li      r11,2                                  
        /*                                                            
         *  Did the watchdog timer expire while we were actually blocking
         *  on it?                                                    
         */                                                           
        _ISR_Disable( level );                                        
          local_state = the_period->state;                            
ffc08ed0:	80 1d 00 38 	lwz     r0,56(r29)                             
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
ffc08ed4:	91 7d 00 38 	stw     r11,56(r29)                            
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc08ed8:	7d 20 01 24 	mtmsr   r9                                     
                                                                      
        /*                                                            
         *  If it did, then we want to unblock ourself and continue as
         *  if nothing happen.  The period was reset in the timeout routine.
         */                                                           
        if ( local_state == RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING )   
ffc08edc:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc08ee0:	40 be 00 14 	bne+    cr7,ffc08ef4 <rtems_rate_monotonic_period+0x15c><== ALWAYS TAKEN
          _Thread_Clear_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
ffc08ee4:	3d 20 00 00 	lis     r9,0                                   <== NOT EXECUTED
ffc08ee8:	80 69 2e 90 	lwz     r3,11920(r9)                           <== NOT EXECUTED
ffc08eec:	38 80 40 00 	li      r4,16384                               <== NOT EXECUTED
ffc08ef0:	48 00 29 d9 	bl      ffc0b8c8 <_Thread_Clear_state>         <== NOT EXECUTED
                                                                      
        _Thread_Enable_dispatch();                                    
ffc08ef4:	48 00 2d fd 	bl      ffc0bcf0 <_Thread_Enable_dispatch>     
        return RTEMS_SUCCESSFUL;                                      
ffc08ef8:	3b c0 00 00 	li      r30,0                                  
ffc08efc:	48 00 00 48 	b       ffc08f44 <rtems_rate_monotonic_period+0x1ac>
      }                                                               
                                                                      
      if ( the_period->state == RATE_MONOTONIC_EXPIRED ) {            
ffc08f00:	2f 80 00 04 	cmpwi   cr7,r0,4                               
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc08f04:	3b c0 00 04 	li      r30,4                                  
                                                                      
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
                                                                      
      if ( the_period->state == RATE_MONOTONIC_EXPIRED ) {            
ffc08f08:	40 be 00 3c 	bne+    cr7,ffc08f44 <rtems_rate_monotonic_period+0x1ac><== NEVER TAKEN
        /*                                                            
         *  Update statistics from the concluding period              
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
ffc08f0c:	4b ff fd 85 	bl      ffc08c90 <_Rate_monotonic_Update_statistics>
ffc08f10:	7f 80 01 24 	mtmsr   r28                                    
                                                                      
        _ISR_Enable( level );                                         
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
ffc08f14:	38 00 00 02 	li      r0,2                                   
        the_period->next_length = length;                             
ffc08f18:	93 fd 00 3c 	stw     r31,60(r29)                            
ffc08f1c:	3c 60 00 00 	lis     r3,0                                   
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
                                                                      
        _ISR_Enable( level );                                         
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
ffc08f20:	90 1d 00 38 	stw     r0,56(r29)                             
ffc08f24:	38 63 2d 68 	addi    r3,r3,11624                            
ffc08f28:	38 9d 00 10 	addi    r4,r29,16                              
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
ffc08f2c:	93 fd 00 1c 	stw     r31,28(r29)                            
        the_period->next_length = length;                             
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Thread_Enable_dispatch();                                    
        return RTEMS_TIMEOUT;                                         
ffc08f30:	3b c0 00 06 	li      r30,6                                  
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc08f34:	48 00 41 8d 	bl      ffc0d0c0 <_Watchdog_Insert>            
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
        the_period->next_length = length;                             
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Thread_Enable_dispatch();                                    
ffc08f38:	48 00 2d b9 	bl      ffc0bcf0 <_Thread_Enable_dispatch>     
        return RTEMS_TIMEOUT;                                         
ffc08f3c:	48 00 00 08 	b       ffc08f44 <rtems_rate_monotonic_period+0x1ac>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc08f40:	3b c0 00 04 	li      r30,4                                  
}                                                                     
ffc08f44:	39 61 00 28 	addi    r11,r1,40                              
ffc08f48:	7f c3 f3 78 	mr      r3,r30                                 
ffc08f4c:	4b ff 82 74 	b       ffc011c0 <_restgpr_28_x>               
                                                                      

ffc08f50 <rtems_rate_monotonic_report_statistics_with_plugin>: */ void rtems_rate_monotonic_report_statistics_with_plugin( void *context, rtems_printk_plugin_t print ) {
ffc08f50:	94 21 ff 58 	stwu    r1,-168(r1)                            
ffc08f54:	7c 08 02 a6 	mflr    r0                                     
ffc08f58:	90 01 00 ac 	stw     r0,172(r1)                             
  rtems_id                               id;                          
  rtems_rate_monotonic_period_statistics the_stats;                   
  rtems_rate_monotonic_period_status     the_status;                  
  char                                   name[5];                     
                                                                      
  if ( !print )                                                       
ffc08f5c:	7c 80 23 79 	mr.     r0,r4                                  
 */                                                                   
void rtems_rate_monotonic_report_statistics_with_plugin(              
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
ffc08f60:	be 41 00 70 	stmw    r18,112(r1)                            
ffc08f64:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_id                               id;                          
  rtems_rate_monotonic_period_statistics the_stats;                   
  rtems_rate_monotonic_period_status     the_status;                  
  char                                   name[5];                     
                                                                      
  if ( !print )                                                       
ffc08f68:	90 01 00 68 	stw     r0,104(r1)                             
ffc08f6c:	41 82 01 fc 	beq-    ffc09168 <rtems_rate_monotonic_report_statistics_with_plugin+0x218><== NEVER TAKEN
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
ffc08f70:	3c 80 ff c2 	lis     r4,-62                                 
ffc08f74:	7c 09 03 a6 	mtctr   r0                                     
ffc08f78:	38 84 d7 f4 	addi    r4,r4,-10252                           
                                                                      
  /*                                                                  
   * Cycle through all possible ids and try to report on each one.  If it
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
ffc08f7c:	3e 60 00 00 	lis     r19,0                                  
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
ffc08f80:	3e c0 ff c2 	lis     r22,-62                                
      struct timespec *min_cpu = &the_stats.min_cpu_time;             
      struct timespec *max_cpu = &the_stats.max_cpu_time;             
      struct timespec *total_cpu = &the_stats.total_cpu_time;         
                                                                      
      _Timespec_Divide_by_integer( total_cpu, the_stats.count, &cpu_average );
      (*print)( context,                                              
ffc08f84:	3f 00 ff c2 	lis     r24,-62                                
  char                                   name[5];                     
                                                                      
  if ( !print )                                                       
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
ffc08f88:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc08f8c:	4e 80 04 21 	bctrl                                          
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)( context, "--- CPU times are in seconds ---\n" );        
ffc08f90:	80 01 00 68 	lwz     r0,104(r1)                             
ffc08f94:	3c 80 ff c2 	lis     r4,-62                                 
ffc08f98:	7c 09 03 a6 	mtctr   r0                                     
ffc08f9c:	38 84 d8 12 	addi    r4,r4,-10222                           
ffc08fa0:	7f e3 fb 78 	mr      r3,r31                                 
      struct timespec *min_wall = &the_stats.min_wall_time;           
      struct timespec *max_wall = &the_stats.max_wall_time;           
      struct timespec *total_wall = &the_stats.total_wall_time;       
                                                                      
      _Timespec_Divide_by_integer(total_wall, the_stats.count, &wall_average);
      (*print)( context,                                              
ffc08fa4:	3f 40 ff c2 	lis     r26,-62                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
      (*print)( context, "\n" );                                      
ffc08fa8:	3e 40 ff c2 	lis     r18,-62                                
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
    status = rtems_rate_monotonic_get_statistics( id, &the_stats );   
ffc08fac:	3a 81 00 30 	addi    r20,r1,48                              
  if ( !print )                                                       
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)( context, "--- CPU times are in seconds ---\n" );        
ffc08fb0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc08fb4:	4e 80 04 21 	bctrl                                          
    (*print)( context, "--- Wall times are in seconds ---\n" );       
ffc08fb8:	80 01 00 68 	lwz     r0,104(r1)                             
ffc08fbc:	3c 80 ff c2 	lis     r4,-62                                 
ffc08fc0:	7c 09 03 a6 	mtctr   r0                                     
ffc08fc4:	38 84 d8 34 	addi    r4,r4,-10188                           
ffc08fc8:	7f e3 fb 78 	mr      r3,r31                                 
    status = rtems_rate_monotonic_get_statistics( id, &the_stats );   
    if ( status != RTEMS_SUCCESSFUL )                                 
      continue;                                                       
                                                                      
    /* If the above passed, so should this but check it anyway */     
    status = rtems_rate_monotonic_get_status( id, &the_status );      
ffc08fcc:	3a a1 00 18 	addi    r21,r1,24                              
    #if defined(RTEMS_DEBUG)                                          
      if ( status != RTEMS_SUCCESSFUL )                               
        continue;                                                     
    #endif                                                            
                                                                      
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
ffc08fd0:	3b 61 00 08 	addi    r27,r1,8                               
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
ffc08fd4:	3a d6 d8 ee 	addi    r22,r22,-10002                         
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)( context, "--- CPU times are in seconds ---\n" );        
    (*print)( context, "--- Wall times are in seconds ---\n" );       
ffc08fd8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc08fdc:	4e 80 04 21 	bctrl                                          
  Be sure to test the various cases.                                  
  (*print)( context,"\                                                
1234567890123456789012345678901234567890123456789012345678901234567890123456789\
\n");                                                                 
*/                                                                    
  (*print)( context, "   ID     OWNER COUNT MISSED     "              
ffc08fe0:	80 01 00 68 	lwz     r0,104(r1)                             
ffc08fe4:	3c 80 ff c2 	lis     r4,-62                                 
ffc08fe8:	7c 09 03 a6 	mtctr   r0                                     
ffc08fec:	38 84 d8 57 	addi    r4,r4,-10153                           
ffc08ff0:	7f e3 fb 78 	mr      r3,r31                                 
    {                                                                 
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      struct timespec  cpu_average;                                   
      struct timespec *min_cpu = &the_stats.min_cpu_time;             
      struct timespec *max_cpu = &the_stats.max_cpu_time;             
      struct timespec *total_cpu = &the_stats.total_cpu_time;         
ffc08ff4:	3a e1 00 48 	addi    r23,r1,72                              
                                                                      
      _Timespec_Divide_by_integer( total_cpu, the_stats.count, &cpu_average );
ffc08ff8:	3b 81 00 10 	addi    r28,r1,16                              
      (*print)( context,                                              
ffc08ffc:	3b 18 d9 05 	addi    r24,r24,-9979                          
  Be sure to test the various cases.                                  
  (*print)( context,"\                                                
1234567890123456789012345678901234567890123456789012345678901234567890123456789\
\n");                                                                 
*/                                                                    
  (*print)( context, "   ID     OWNER COUNT MISSED     "              
ffc09000:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09004:	4e 80 04 21 	bctrl                                          
       #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                     
          "          "                                                
       #endif                                                         
          "   WALL TIME\n"                                            
  );                                                                  
  (*print)( context, "                               "                
ffc09008:	80 01 00 68 	lwz     r0,104(r1)                             
ffc0900c:	3c 80 ff c2 	lis     r4,-62                                 
ffc09010:	7f e3 fb 78 	mr      r3,r31                                 
ffc09014:	7c 09 03 a6 	mtctr   r0                                     
ffc09018:	38 84 d8 a2 	addi    r4,r4,-10078                           
      struct timespec *min_cpu = &the_stats.min_cpu_time;             
      struct timespec *max_cpu = &the_stats.max_cpu_time;             
      struct timespec *total_cpu = &the_stats.total_cpu_time;         
                                                                      
      _Timespec_Divide_by_integer( total_cpu, the_stats.count, &cpu_average );
      (*print)( context,                                              
ffc0901c:	3b c0 03 e8 	li      r30,1000                               
    {                                                                 
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      struct timespec  wall_average;                                  
      struct timespec *min_wall = &the_stats.min_wall_time;           
      struct timespec *max_wall = &the_stats.max_wall_time;           
      struct timespec *total_wall = &the_stats.total_wall_time;       
ffc09020:	3b 21 00 60 	addi    r25,r1,96                              
                                                                      
      _Timespec_Divide_by_integer(total_wall, the_stats.count, &wall_average);
      (*print)( context,                                              
ffc09024:	3b 5a d9 24 	addi    r26,r26,-9948                          
       #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                     
          "          "                                                
       #endif                                                         
          "   WALL TIME\n"                                            
  );                                                                  
  (*print)( context, "                               "                
ffc09028:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0902c:	4e 80 04 21 	bctrl                                          
                                                                      
  /*                                                                  
   * Cycle through all possible ids and try to report on each one.  If it
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
ffc09030:	39 33 2b a0 	addi    r9,r19,11168                           
ffc09034:	83 a9 00 08 	lwz     r29,8(r9)                              
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
      (*print)( context, "\n" );                                      
ffc09038:	3a 52 d7 92 	addi    r18,r18,-10350                         
                                                                      
  /*                                                                  
   * Cycle through all possible ids and try to report on each one.  If it
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
ffc0903c:	48 00 01 1c 	b       ffc09158 <rtems_rate_monotonic_report_statistics_with_plugin+0x208>
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
    status = rtems_rate_monotonic_get_statistics( id, &the_stats );   
ffc09040:	7f a3 eb 78 	mr      r3,r29                                 
ffc09044:	7e 84 a3 78 	mr      r4,r20                                 
ffc09048:	48 00 5c f9 	bl      ffc0ed40 <rtems_rate_monotonic_get_statistics>
    if ( status != RTEMS_SUCCESSFUL )                                 
ffc0904c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc09050:	40 be 01 04 	bne+    cr7,ffc09154 <rtems_rate_monotonic_report_statistics_with_plugin+0x204>
      continue;                                                       
                                                                      
    /* If the above passed, so should this but check it anyway */     
    status = rtems_rate_monotonic_get_status( id, &the_status );      
ffc09054:	7e a4 ab 78 	mr      r4,r21                                 
ffc09058:	7f a3 eb 78 	mr      r3,r29                                 
ffc0905c:	48 00 5d b1 	bl      ffc0ee0c <rtems_rate_monotonic_get_status>
    #if defined(RTEMS_DEBUG)                                          
      if ( status != RTEMS_SUCCESSFUL )                               
        continue;                                                     
    #endif                                                            
                                                                      
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
ffc09060:	80 61 00 18 	lwz     r3,24(r1)                              
ffc09064:	38 80 00 05 	li      r4,5                                   
ffc09068:	7f 65 db 78 	mr      r5,r27                                 
ffc0906c:	48 00 02 a1 	bl      ffc0930c <rtems_object_get_name>       
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
ffc09070:	80 01 00 68 	lwz     r0,104(r1)                             
ffc09074:	7e c4 b3 78 	mr      r4,r22                                 
ffc09078:	80 e1 00 30 	lwz     r7,48(r1)                              
ffc0907c:	7f e3 fb 78 	mr      r3,r31                                 
ffc09080:	81 01 00 34 	lwz     r8,52(r1)                              
ffc09084:	7f a5 eb 78 	mr      r5,r29                                 
ffc09088:	7c 09 03 a6 	mtctr   r0                                     
ffc0908c:	7f 66 db 78 	mr      r6,r27                                 
ffc09090:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09094:	4e 80 04 21 	bctrl                                          
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
ffc09098:	80 81 00 30 	lwz     r4,48(r1)                              
ffc0909c:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc090a0:	40 9e 00 20 	bne-    cr7,ffc090c0 <rtems_rate_monotonic_report_statistics_with_plugin+0x170>
      (*print)( context, "\n" );                                      
ffc090a4:	80 01 00 68 	lwz     r0,104(r1)                             
ffc090a8:	7f e3 fb 78 	mr      r3,r31                                 
ffc090ac:	7e 44 93 78 	mr      r4,r18                                 
ffc090b0:	7c 09 03 a6 	mtctr   r0                                     
ffc090b4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc090b8:	4e 80 04 21 	bctrl                                          
      continue;                                                       
ffc090bc:	48 00 00 98 	b       ffc09154 <rtems_rate_monotonic_report_statistics_with_plugin+0x204>
      struct timespec  cpu_average;                                   
      struct timespec *min_cpu = &the_stats.min_cpu_time;             
      struct timespec *max_cpu = &the_stats.max_cpu_time;             
      struct timespec *total_cpu = &the_stats.total_cpu_time;         
                                                                      
      _Timespec_Divide_by_integer( total_cpu, the_stats.count, &cpu_average );
ffc090c0:	7e e3 bb 78 	mr      r3,r23                                 
ffc090c4:	7f 85 e3 78 	mr      r5,r28                                 
ffc090c8:	48 00 3b 71 	bl      ffc0cc38 <_Timespec_Divide_by_integer> 
      (*print)( context,                                              
ffc090cc:	80 01 00 68 	lwz     r0,104(r1)                             
ffc090d0:	80 c1 00 3c 	lwz     r6,60(r1)                              
ffc090d4:	7f 04 c3 78 	mr      r4,r24                                 
ffc090d8:	81 01 00 44 	lwz     r8,68(r1)                              
ffc090dc:	7c 09 03 a6 	mtctr   r0                                     
ffc090e0:	81 41 00 14 	lwz     r10,20(r1)                             
ffc090e4:	7c c6 f3 d6 	divw    r6,r6,r30                              
ffc090e8:	80 e1 00 40 	lwz     r7,64(r1)                              
ffc090ec:	81 21 00 10 	lwz     r9,16(r1)                              
ffc090f0:	80 a1 00 38 	lwz     r5,56(r1)                              
ffc090f4:	7d 08 f3 d6 	divw    r8,r8,r30                              
ffc090f8:	7d 4a f3 d6 	divw    r10,r10,r30                            
ffc090fc:	7f e3 fb 78 	mr      r3,r31                                 
ffc09100:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09104:	4e 80 04 21 	bctrl                                          
      struct timespec  wall_average;                                  
      struct timespec *min_wall = &the_stats.min_wall_time;           
      struct timespec *max_wall = &the_stats.max_wall_time;           
      struct timespec *total_wall = &the_stats.total_wall_time;       
                                                                      
      _Timespec_Divide_by_integer(total_wall, the_stats.count, &wall_average);
ffc09108:	80 81 00 30 	lwz     r4,48(r1)                              
ffc0910c:	7f 23 cb 78 	mr      r3,r25                                 
ffc09110:	7f 85 e3 78 	mr      r5,r28                                 
ffc09114:	48 00 3b 25 	bl      ffc0cc38 <_Timespec_Divide_by_integer> 
      (*print)( context,                                              
ffc09118:	80 c1 00 54 	lwz     r6,84(r1)                              
ffc0911c:	81 01 00 5c 	lwz     r8,92(r1)                              
ffc09120:	7f e3 fb 78 	mr      r3,r31                                 
ffc09124:	81 41 00 14 	lwz     r10,20(r1)                             
ffc09128:	7f 44 d3 78 	mr      r4,r26                                 
ffc0912c:	80 01 00 68 	lwz     r0,104(r1)                             
ffc09130:	7c c6 f3 d6 	divw    r6,r6,r30                              
ffc09134:	80 a1 00 50 	lwz     r5,80(r1)                              
ffc09138:	80 e1 00 58 	lwz     r7,88(r1)                              
ffc0913c:	7c 09 03 a6 	mtctr   r0                                     
ffc09140:	81 21 00 10 	lwz     r9,16(r1)                              
ffc09144:	7d 08 f3 d6 	divw    r8,r8,r30                              
ffc09148:	7d 4a f3 d6 	divw    r10,r10,r30                            
ffc0914c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09150:	4e 80 04 21 	bctrl                                          
   * Cycle through all possible ids and try to report on each one.  If it
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
ffc09154:	3b bd 00 01 	addi    r29,r29,1                              
  /*                                                                  
   * Cycle through all possible ids and try to report on each one.  If it
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
        id <= _Rate_monotonic_Information.maximum_id ;                
ffc09158:	39 33 2b a0 	addi    r9,r19,11168                           
                                                                      
  /*                                                                  
   * Cycle through all possible ids and try to report on each one.  If it
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
ffc0915c:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc09160:	7f 9d 00 40 	cmplw   cr7,r29,r0                             
ffc09164:	40 9d fe dc 	ble+    cr7,ffc09040 <rtems_rate_monotonic_report_statistics_with_plugin+0xf0>
        the_stats.min_wall_time, the_stats.max_wall_time, ival_wall, fval_wall
      );                                                              
    #endif                                                            
    }                                                                 
  }                                                                   
}                                                                     
ffc09168:	39 61 00 a8 	addi    r11,r1,168                             
ffc0916c:	4b ff 80 2c 	b       ffc01198 <_restgpr_18_x>               
                                                                      

ffc17d7c <rtems_signal_send>: rtems_status_code rtems_signal_send( rtems_id id, rtems_signal_set signal_set ) {
ffc17d7c:	7c 2b 0b 78 	mr      r11,r1                                 
ffc17d80:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc17d84:	7c 08 02 a6 	mflr    r0                                     
ffc17d88:	48 01 83 fd 	bl      ffc30184 <_savegpr_31>                 
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
ffc17d8c:	7c 9f 23 79 	mr.     r31,r4                                 
                                                                      
rtems_status_code rtems_signal_send(                                  
  rtems_id          id,                                               
  rtems_signal_set  signal_set                                        
)                                                                     
{                                                                     
ffc17d90:	90 01 00 24 	stw     r0,36(r1)                              
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
    return RTEMS_INVALID_NUMBER;                                      
ffc17d94:	38 00 00 0a 	li      r0,10                                  
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
ffc17d98:	41 82 00 bc 	beq-    ffc17e54 <rtems_signal_send+0xd8>      
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc17d9c:	38 81 00 08 	addi    r4,r1,8                                
ffc17da0:	48 00 45 d9 	bl      ffc1c378 <_Thread_Get>                 
  switch ( location ) {                                               
ffc17da4:	80 01 00 08 	lwz     r0,8(r1)                               
ffc17da8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc17dac:	40 9e 00 a4 	bne-    cr7,ffc17e50 <rtems_signal_send+0xd4>  
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_RTEMS ];           
ffc17db0:	81 23 01 40 	lwz     r9,320(r3)                             
      asr = &api->Signal;                                             
                                                                      
      if ( ! _ASR_Is_null_handler( asr->handler ) ) {                 
ffc17db4:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc17db8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc17dbc:	41 9e 00 88 	beq-    cr7,ffc17e44 <rtems_signal_send+0xc8>  
        if ( asr->is_enabled ) {                                      
ffc17dc0:	88 09 00 08 	lbz     r0,8(r9)                               
ffc17dc4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc17dc8:	41 9e 00 50 	beq-    cr7,ffc17e18 <rtems_signal_send+0x9c>  
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc17dcc:	7c 00 00 a6 	mfmsr   r0                                     
ffc17dd0:	7d 70 42 a6 	mfsprg  r11,0                                  
ffc17dd4:	7c 0b 58 78 	andc    r11,r0,r11                             
ffc17dd8:	7d 60 01 24 	mtmsr   r11                                    
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
    *signal_set |= signals;                                           
ffc17ddc:	81 69 00 14 	lwz     r11,20(r9)                             
ffc17de0:	7d 7f fb 78 	or      r31,r11,r31                            
ffc17de4:	93 e9 00 14 	stw     r31,20(r9)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc17de8:	7c 00 01 24 	mtmsr   r0                                     
          _ASR_Post_signals( signal_set, &asr->signals_posted );      
                                                                      
          if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
ffc17dec:	3d 20 00 00 	lis     r9,0                                   
ffc17df0:	39 29 71 a4 	addi    r9,r9,29092                            
ffc17df4:	80 09 00 08 	lwz     r0,8(r9)                               
ffc17df8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc17dfc:	41 9e 00 3c 	beq-    cr7,ffc17e38 <rtems_signal_send+0xbc>  
ffc17e00:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc17e04:	7f 83 00 00 	cmpw    cr7,r3,r0                              
ffc17e08:	40 be 00 30 	bne+    cr7,ffc17e38 <rtems_signal_send+0xbc>  <== NEVER TAKEN
            _Thread_Dispatch_necessary = true;                        
ffc17e0c:	38 00 00 01 	li      r0,1                                   
ffc17e10:	98 09 00 18 	stb     r0,24(r9)                              
ffc17e14:	48 00 00 24 	b       ffc17e38 <rtems_signal_send+0xbc>      
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc17e18:	7c 00 00 a6 	mfmsr   r0                                     
ffc17e1c:	7d 70 42 a6 	mfsprg  r11,0                                  
ffc17e20:	7c 0b 58 78 	andc    r11,r0,r11                             
ffc17e24:	7d 60 01 24 	mtmsr   r11                                    
ffc17e28:	81 69 00 18 	lwz     r11,24(r9)                             
ffc17e2c:	7d 7f fb 78 	or      r31,r11,r31                            
ffc17e30:	93 e9 00 18 	stw     r31,24(r9)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc17e34:	7c 00 01 24 	mtmsr   r0                                     
        } else {                                                      
          _ASR_Post_signals( signal_set, &asr->signals_pending );     
        }                                                             
        _Thread_Enable_dispatch();                                    
ffc17e38:	48 00 45 21 	bl      ffc1c358 <_Thread_Enable_dispatch>     
        return RTEMS_SUCCESSFUL;                                      
ffc17e3c:	38 00 00 00 	li      r0,0                                   
ffc17e40:	48 00 00 14 	b       ffc17e54 <rtems_signal_send+0xd8>      
      }                                                               
      _Thread_Enable_dispatch();                                      
ffc17e44:	48 00 45 15 	bl      ffc1c358 <_Thread_Enable_dispatch>     
      return RTEMS_NOT_DEFINED;                                       
ffc17e48:	38 00 00 0b 	li      r0,11                                  
ffc17e4c:	48 00 00 08 	b       ffc17e54 <rtems_signal_send+0xd8>      
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc17e50:	38 00 00 04 	li      r0,4                                   
}                                                                     
ffc17e54:	39 61 00 20 	addi    r11,r1,32                              
ffc17e58:	7c 03 03 78 	mr      r3,r0                                  
ffc17e5c:	4b ff 64 60 	b       ffc0e2bc <_restgpr_31_x>               
                                                                      

ffc10c6c <rtems_task_mode>: ASR_Information *asr; bool is_asr_enabled = false; bool needs_asr_dispatching = false; rtems_mode old_mode; if ( !previous_mode_set )
ffc10c6c:	2c 05 00 00 	cmpwi   r5,0                                   
rtems_status_code rtems_task_mode(                                    
  rtems_mode  mode_set,                                               
  rtems_mode  mask,                                                   
  rtems_mode *previous_mode_set                                       
)                                                                     
{                                                                     
ffc10c70:	7c 08 02 a6 	mflr    r0                                     
ffc10c74:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc10c78:	90 01 00 0c 	stw     r0,12(r1)                              
ffc10c7c:	7c 60 1b 78 	mr      r0,r3                                  
  bool                is_asr_enabled = false;                         
  bool                needs_asr_dispatching = false;                  
  rtems_mode          old_mode;                                       
                                                                      
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc10c80:	38 60 00 09 	li      r3,9                                   
  ASR_Information    *asr;                                            
  bool                is_asr_enabled = false;                         
  bool                needs_asr_dispatching = false;                  
  rtems_mode          old_mode;                                       
                                                                      
  if ( !previous_mode_set )                                           
ffc10c84:	41 82 01 8c 	beq-    ffc10e10 <rtems_task_mode+0x1a4>       
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
ffc10c88:	3d 20 00 00 	lis     r9,0                                   
ffc10c8c:	81 69 2e 30 	lwz     r11,11824(r9)                          
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
ffc10c90:	81 0b 00 7c 	lwz     r8,124(r11)                            
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
ffc10c94:	89 4b 00 74 	lbz     r10,116(r11)                           
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
ffc10c98:	2f 88 00 00 	cmpwi   cr7,r8,0                               
                                                                      
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
ffc10c9c:	81 2b 01 40 	lwz     r9,320(r11)                            
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
ffc10ca0:	7d 4a 00 34 	cntlzw  r10,r10                                
ffc10ca4:	55 4a d9 7e 	rlwinm  r10,r10,27,5,31                        
ffc10ca8:	55 4a 40 2e 	rlwinm  r10,r10,8,0,23                         
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
ffc10cac:	41 9e 00 08 	beq-    cr7,ffc10cb4 <rtems_task_mode+0x48>    
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
ffc10cb0:	61 4a 02 00 	ori     r10,r10,512                            
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
ffc10cb4:	89 09 00 08 	lbz     r8,8(r9)                               
ffc10cb8:	7d 08 00 34 	cntlzw  r8,r8                                  
ffc10cbc:	55 08 d9 7e 	rlwinm  r8,r8,27,5,31                          
ffc10cc0:	55 08 50 2a 	rlwinm  r8,r8,10,0,21                          
ffc10cc4:	7d 08 53 78 	or      r8,r8,r10                              
#ifndef ASM                                                           
                                                                      
static inline uint32_t   _CPU_ISR_Get_level( void )                   
{                                                                     
  register unsigned int msr;                                          
  _CPU_MSR_GET(msr);                                                  
ffc10cc8:	39 40 00 00 	li      r10,0                                  
ffc10ccc:	7d 40 00 a6 	mfmsr   r10                                    
  if (msr & MSR_EE) return 0;                                         
ffc10cd0:	71 47 80 00 	andi.   r7,r10,32768                           
ffc10cd4:	7c e0 00 26 	mfcr    r7                                     
ffc10cd8:	54 e7 1f fe 	rlwinm  r7,r7,3,31,31                          
  old_mode |= _ISR_Get_level();                                       
ffc10cdc:	7d 0a 3b 78 	or      r10,r8,r7                              
                                                                      
  *previous_mode_set = old_mode;                                      
ffc10ce0:	91 45 00 00 	stw     r10,0(r5)                              
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
  if ( mask & RTEMS_PREEMPT_MASK )                                    
ffc10ce4:	70 8a 01 00 	andi.   r10,r4,256                             
ffc10ce8:	41 82 00 14 	beq-    ffc10cfc <rtems_task_mode+0x90>        
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
ffc10cec:	70 07 01 00 	andi.   r7,r0,256                              
ffc10cf0:	7d 40 00 26 	mfcr    r10                                    
ffc10cf4:	55 4a 1f fe 	rlwinm  r10,r10,3,31,31                        
ffc10cf8:	99 4b 00 74 	stb     r10,116(r11)                           
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
ffc10cfc:	70 8a 02 00 	andi.   r10,r4,512                             
ffc10d00:	41 82 00 28 	beq-    ffc10d28 <rtems_task_mode+0xbc>        
    if ( _Modes_Is_timeslice(mode_set) ) {                            
ffc10d04:	70 0a 02 00 	andi.   r10,r0,512                             
ffc10d08:	41 82 00 1c 	beq-    ffc10d24 <rtems_task_mode+0xb8>        
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
ffc10d0c:	39 40 00 01 	li      r10,1                                  
ffc10d10:	91 4b 00 7c 	stw     r10,124(r11)                           
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
ffc10d14:	3d 40 00 00 	lis     r10,0                                  
ffc10d18:	81 4a 27 44 	lwz     r10,10052(r10)                         
ffc10d1c:	91 4b 00 78 	stw     r10,120(r11)                           
ffc10d20:	48 00 00 08 	b       ffc10d28 <rtems_task_mode+0xbc>        
    } else                                                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE; 
ffc10d24:	91 4b 00 7c 	stw     r10,124(r11)                           
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
ffc10d28:	70 8b 00 01 	andi.   r11,r4,1                               
ffc10d2c:	41 82 00 2c 	beq-    ffc10d58 <rtems_task_mode+0xec>        
}                                                                     
                                                                      
static inline void _CPU_ISR_Set_level( uint32_t   level )             
{                                                                     
  register unsigned int msr;                                          
  _CPU_MSR_GET(msr);                                                  
ffc10d30:	39 60 00 00 	li      r11,0                                  
ffc10d34:	7d 60 00 a6 	mfmsr   r11                                    
  if (!(level & CPU_MODES_INTERRUPT_MASK)) {                          
ffc10d38:	70 07 00 01 	andi.   r7,r0,1                                
ffc10d3c:	40 82 00 10 	bne-    ffc10d4c <rtems_task_mode+0xe0>        
                                                                      
static inline uint32_t ppc_interrupt_get_disable_mask( void )         
{                                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc10d40:	7d 50 42 a6 	mfsprg  r10,0                                  
    msr |= ppc_interrupt_get_disable_mask();                          
ffc10d44:	7d 4b 5b 78 	or      r11,r10,r11                            
ffc10d48:	48 00 00 0c 	b       ffc10d54 <rtems_task_mode+0xe8>        
ffc10d4c:	7d 50 42 a6 	mfsprg  r10,0                                  
  }                                                                   
  else {                                                              
    msr &= ~ppc_interrupt_get_disable_mask();                         
ffc10d50:	7d 6b 50 78 	andc    r11,r11,r10                            
  }                                                                   
  _CPU_MSR_SET(msr);                                                  
ffc10d54:	7d 60 01 24 	mtmsr   r11                                    
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
ffc10d58:	70 8a 04 00 	andi.   r10,r4,1024                            
                                                                      
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
ffc10d5c:	39 60 00 00 	li      r11,0                                  
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
ffc10d60:	41 82 00 58 	beq-    ffc10db8 <rtems_task_mode+0x14c>       
 *  Output:                                                           
 *    *previous_mode_set - previous mode set                          
 *     always return RTEMS_SUCCESSFUL;                                
 */                                                                   
                                                                      
rtems_status_code rtems_task_mode(                                    
ffc10d64:	70 07 04 00 	andi.   r7,r0,1024                             
  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 ) {                        
ffc10d68:	89 49 00 08 	lbz     r10,8(r9)                              
 *  Output:                                                           
 *    *previous_mode_set - previous mode set                          
 *     always return RTEMS_SUCCESSFUL;                                
 */                                                                   
                                                                      
rtems_status_code rtems_task_mode(                                    
ffc10d6c:	7c 00 00 26 	mfcr    r0                                     
ffc10d70:	54 00 1f fe 	rlwinm  r0,r0,3,31,31                          
  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 ) {                        
ffc10d74:	7f 8a 00 00 	cmpw    cr7,r10,r0                             
ffc10d78:	41 9e 00 40 	beq-    cr7,ffc10db8 <rtems_task_mode+0x14c>   
      asr->is_enabled = is_asr_enabled;                               
ffc10d7c:	98 09 00 08 	stb     r0,8(r9)                               
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc10d80:	7c 00 00 a6 	mfmsr   r0                                     
ffc10d84:	7d 70 42 a6 	mfsprg  r11,0                                  
ffc10d88:	7c 0b 58 78 	andc    r11,r0,r11                             
ffc10d8c:	7d 60 01 24 	mtmsr   r11                                    
{                                                                     
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
    _signals                     = information->signals_pending;      
ffc10d90:	81 69 00 18 	lwz     r11,24(r9)                             
    information->signals_pending = information->signals_posted;       
ffc10d94:	81 49 00 14 	lwz     r10,20(r9)                             
    information->signals_posted  = _signals;                          
ffc10d98:	91 69 00 14 	stw     r11,20(r9)                             
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
    _signals                     = information->signals_pending;      
    information->signals_pending = information->signals_posted;       
ffc10d9c:	91 49 00 18 	stw     r10,24(r9)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc10da0:	7c 00 01 24 	mtmsr   r0                                     
      _ASR_Swap_signals( asr );                                       
      if ( _ASR_Are_signals_pending( asr ) ) {                        
ffc10da4:	80 09 00 14 	lwz     r0,20(r9)                              
        needs_asr_dispatching = true;                                 
ffc10da8:	39 60 00 01 	li      r11,1                                  
  if ( mask & RTEMS_ASR_MASK ) {                                      
    is_asr_enabled = _Modes_Is_asr_disabled( mode_set ) ? false : true;
    if ( is_asr_enabled != asr->is_enabled ) {                        
      asr->is_enabled = is_asr_enabled;                               
      _ASR_Swap_signals( asr );                                       
      if ( _ASR_Are_signals_pending( asr ) ) {                        
ffc10dac:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc10db0:	40 9e 00 08 	bne-    cr7,ffc10db8 <rtems_task_mode+0x14c>   
                                                                      
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
ffc10db4:	39 60 00 00 	li      r11,0                                  
        needs_asr_dispatching = true;                                 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
ffc10db8:	3d 20 00 00 	lis     r9,0                                   
ffc10dbc:	80 09 27 90 	lwz     r0,10128(r9)                           
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc10dc0:	38 60 00 00 	li      r3,0                                   
        needs_asr_dispatching = true;                                 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
ffc10dc4:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc10dc8:	40 be 00 48 	bne+    cr7,ffc10e10 <rtems_task_mode+0x1a4>   <== NEVER TAKEN
{                                                                     
  Thread_Control     *executing;                                      
                                                                      
  executing = _Thread_Executing;                                      
                                                                      
  if ( are_signals_pending ||                                         
ffc10dcc:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
  bool are_signals_pending                                            
)                                                                     
{                                                                     
  Thread_Control     *executing;                                      
                                                                      
  executing = _Thread_Executing;                                      
ffc10dd0:	3d 40 00 00 	lis     r10,0                                  
ffc10dd4:	39 4a 2e 24 	addi    r10,r10,11812                          
ffc10dd8:	81 2a 00 0c 	lwz     r9,12(r10)                             
                                                                      
  if ( are_signals_pending ||                                         
ffc10ddc:	40 9e 00 1c 	bne-    cr7,ffc10df8 <rtems_task_mode+0x18c>   
ffc10de0:	80 0a 00 10 	lwz     r0,16(r10)                             
ffc10de4:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc10de8:	41 9e 00 28 	beq-    cr7,ffc10e10 <rtems_task_mode+0x1a4>   
       (!_Thread_Is_heir( executing ) && executing->is_preemptible) ) {
ffc10dec:	88 09 00 74 	lbz     r0,116(r9)                             
ffc10df0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc10df4:	41 9e 00 1c 	beq-    cr7,ffc10e10 <rtems_task_mode+0x1a4>   <== NEVER TAKEN
    _Thread_Dispatch_necessary = true;                                
ffc10df8:	3d 20 00 00 	lis     r9,0                                   
ffc10dfc:	38 00 00 01 	li      r0,1                                   
ffc10e00:	39 29 2e 24 	addi    r9,r9,11812                            
ffc10e04:	98 09 00 18 	stb     r0,24(r9)                              
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
ffc10e08:	4b ff a1 89 	bl      ffc0af90 <_Thread_Dispatch>            
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc10e0c:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc10e10:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc10e14:	38 21 00 08 	addi    r1,r1,8                                
ffc10e18:	7c 08 03 a6 	mtlr    r0                                     
ffc10e1c:	4e 80 00 20 	blr                                            
                                                                      

ffc0c674 <rtems_task_set_priority>: rtems_status_code rtems_task_set_priority( rtems_id id, rtems_task_priority new_priority, rtems_task_priority *old_priority ) {
ffc0c674:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0c678:	7c 08 02 a6 	mflr    r0                                     
ffc0c67c:	bf c1 00 18 	stmw    r30,24(r1)                             
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
ffc0c680:	7c 9f 23 79 	mr.     r31,r4                                 
rtems_status_code rtems_task_set_priority(                            
  rtems_id             id,                                            
  rtems_task_priority  new_priority,                                  
  rtems_task_priority *old_priority                                   
)                                                                     
{                                                                     
ffc0c684:	7c be 2b 78 	mr      r30,r5                                 
ffc0c688:	90 01 00 24 	stw     r0,36(r1)                              
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
ffc0c68c:	41 82 00 18 	beq-    ffc0c6a4 <rtems_task_set_priority+0x30>
RTEMS_INLINE_ROUTINE bool _RTEMS_tasks_Priority_is_valid (            
  rtems_task_priority the_priority                                    
)                                                                     
{                                                                     
  return (  ( the_priority >= RTEMS_MINIMUM_PRIORITY ) &&             
            ( the_priority <= RTEMS_MAXIMUM_PRIORITY ) );             
ffc0c690:	3d 20 00 00 	lis     r9,0                                   
ffc0c694:	89 29 26 a4 	lbz     r9,9892(r9)                            
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
ffc0c698:	38 00 00 13 	li      r0,19                                  
)                                                                     
{                                                                     
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
ffc0c69c:	7f 9f 48 40 	cmplw   cr7,r31,r9                             
ffc0c6a0:	41 9d 00 6c 	bgt-    cr7,ffc0c70c <rtems_task_set_priority+0x98>
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
                                                                      
  if ( !old_priority )                                                
ffc0c6a4:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    return RTEMS_INVALID_ADDRESS;                                     
ffc0c6a8:	38 00 00 09 	li      r0,9                                   
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
                                                                      
  if ( !old_priority )                                                
ffc0c6ac:	41 9e 00 60 	beq-    cr7,ffc0c70c <rtems_task_set_priority+0x98>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc0c6b0:	38 81 00 08 	addi    r4,r1,8                                
ffc0c6b4:	48 00 21 f1 	bl      ffc0e8a4 <_Thread_Get>                 
  switch ( location ) {                                               
ffc0c6b8:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0c6bc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0c6c0:	40 9e 00 48 	bne-    cr7,ffc0c708 <rtems_task_set_priority+0x94>
                                                                      
    case OBJECTS_LOCAL:                                               
      /* XXX need helper to "convert" from core priority */           
      *old_priority = the_thread->current_priority;                   
      if ( new_priority != RTEMS_CURRENT_PRIORITY ) {                 
ffc0c6c4:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      /* XXX need helper to "convert" from core priority */           
      *old_priority = the_thread->current_priority;                   
ffc0c6c8:	80 03 00 14 	lwz     r0,20(r3)                              
ffc0c6cc:	90 1e 00 00 	stw     r0,0(r30)                              
      if ( new_priority != RTEMS_CURRENT_PRIORITY ) {                 
ffc0c6d0:	41 9e 00 2c 	beq-    cr7,ffc0c6fc <rtems_task_set_priority+0x88>
        the_thread->real_priority = new_priority;                     
        if ( the_thread->resource_count == 0 ||                       
ffc0c6d4:	80 03 00 1c 	lwz     r0,28(r3)                              
                                                                      
    case OBJECTS_LOCAL:                                               
      /* XXX need helper to "convert" from core priority */           
      *old_priority = the_thread->current_priority;                   
      if ( new_priority != RTEMS_CURRENT_PRIORITY ) {                 
        the_thread->real_priority = new_priority;                     
ffc0c6d8:	93 e3 00 18 	stw     r31,24(r3)                             
        if ( the_thread->resource_count == 0 ||                       
ffc0c6dc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0c6e0:	41 9e 00 10 	beq-    cr7,ffc0c6f0 <rtems_task_set_priority+0x7c>
ffc0c6e4:	80 03 00 14 	lwz     r0,20(r3)                              
ffc0c6e8:	7f 80 f8 40 	cmplw   cr7,r0,r31                             
ffc0c6ec:	40 9d 00 10 	ble-    cr7,ffc0c6fc <rtems_task_set_priority+0x88><== ALWAYS TAKEN
             the_thread->current_priority > new_priority )            
          _Thread_Change_priority( the_thread, new_priority, false ); 
ffc0c6f0:	7f e4 fb 78 	mr      r4,r31                                 
ffc0c6f4:	38 a0 00 00 	li      r5,0                                   
ffc0c6f8:	48 00 1b e1 	bl      ffc0e2d8 <_Thread_Change_priority>     
      }                                                               
      _Thread_Enable_dispatch();                                      
ffc0c6fc:	48 00 21 89 	bl      ffc0e884 <_Thread_Enable_dispatch>     
      return RTEMS_SUCCESSFUL;                                        
ffc0c700:	38 00 00 00 	li      r0,0                                   
ffc0c704:	48 00 00 08 	b       ffc0c70c <rtems_task_set_priority+0x98>
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc0c708:	38 00 00 04 	li      r0,4                                   
}                                                                     
ffc0c70c:	39 61 00 20 	addi    r11,r1,32                              
ffc0c710:	7c 03 03 78 	mr      r3,r0                                  
ffc0c714:	4b ff 4a 0c 	b       ffc01120 <_restgpr_30_x>               
                                                                      

ffc18848 <rtems_timer_cancel>: */ rtems_status_code rtems_timer_cancel( rtems_id id ) {
ffc18848:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc1884c:	7c 08 02 a6 	mflr    r0                                     
ffc18850:	7c 64 1b 78 	mr      r4,r3                                  
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Timer_Control *)                                            
    _Objects_Get( &_Timer_Information, id, location );                
ffc18854:	3c 60 00 00 	lis     r3,0                                   
ffc18858:	90 01 00 1c 	stw     r0,28(r1)                              
ffc1885c:	38 63 72 00 	addi    r3,r3,29184                            
ffc18860:	38 a1 00 08 	addi    r5,r1,8                                
ffc18864:	48 00 31 65 	bl      ffc1b9c8 <_Objects_Get>                
  Timer_Control   *the_timer;                                         
  Objects_Locations       location;                                   
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
ffc18868:	80 01 00 08 	lwz     r0,8(r1)                               
ffc1886c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc18870:	40 9e 00 24 	bne-    cr7,ffc18894 <rtems_timer_cancel+0x4c> 
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Timer_Is_dormant_class( the_timer->the_class ) )         
ffc18874:	80 03 00 38 	lwz     r0,56(r3)                              
ffc18878:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc1887c:	41 9e 00 0c 	beq-    cr7,ffc18888 <rtems_timer_cancel+0x40> <== NEVER TAKEN
        (void) _Watchdog_Remove( &the_timer->Ticker );                
ffc18880:	38 63 00 10 	addi    r3,r3,16                               
ffc18884:	48 00 52 a5 	bl      ffc1db28 <_Watchdog_Remove>            
      _Thread_Enable_dispatch();                                      
ffc18888:	48 00 3a d1 	bl      ffc1c358 <_Thread_Enable_dispatch>     
      return RTEMS_SUCCESSFUL;                                        
ffc1888c:	38 60 00 00 	li      r3,0                                   
ffc18890:	48 00 00 08 	b       ffc18898 <rtems_timer_cancel+0x50>     
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc18894:	38 60 00 04 	li      r3,4                                   
}                                                                     
ffc18898:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc1889c:	38 21 00 18 	addi    r1,r1,24                               
ffc188a0:	7c 08 03 a6 	mtlr    r0                                     
ffc188a4:	4e 80 00 20 	blr                                            
                                                                      

ffc18dc8 <rtems_timer_server_fire_when>: rtems_id id, rtems_time_of_day *wall_time, rtems_timer_service_routine_entry routine, void *user_data ) {
ffc18dc8:	94 21 ff c8 	stwu    r1,-56(r1)                             
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
ffc18dcc:	3d 20 00 00 	lis     r9,0                                   
  rtems_id                           id,                              
  rtems_time_of_day                  *wall_time,                      
  rtems_timer_service_routine_entry  routine,                         
  void                              *user_data                        
)                                                                     
{                                                                     
ffc18dd0:	7c 08 02 a6 	mflr    r0                                     
ffc18dd4:	bf 01 00 18 	stmw    r24,24(r1)                             
ffc18dd8:	7c 7f 1b 78 	mr      r31,r3                                 
ffc18ddc:	7c 9c 23 78 	mr      r28,r4                                 
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
ffc18de0:	83 a9 28 80 	lwz     r29,10368(r9)                          
  rtems_id                           id,                              
  rtems_time_of_day                  *wall_time,                      
  rtems_timer_service_routine_entry  routine,                         
  void                              *user_data                        
)                                                                     
{                                                                     
ffc18de4:	7c be 2b 78 	mr      r30,r5                                 
ffc18de8:	90 01 00 3c 	stw     r0,60(r1)                              
ffc18dec:	7c da 33 78 	mr      r26,r6                                 
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
ffc18df0:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
    return RTEMS_INCORRECT_STATE;                                     
ffc18df4:	3b 20 00 0e 	li      r25,14                                 
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
ffc18df8:	41 9e 00 c8 	beq-    cr7,ffc18ec0 <rtems_timer_server_fire_when+0xf8>
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
ffc18dfc:	3d 20 00 00 	lis     r9,0                                   
ffc18e00:	88 09 28 28 	lbz     r0,10280(r9)                           
    return RTEMS_NOT_DEFINED;                                         
ffc18e04:	3b 20 00 0b 	li      r25,11                                 
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
ffc18e08:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc18e0c:	41 9e 00 b4 	beq-    cr7,ffc18ec0 <rtems_timer_server_fire_when+0xf8><== NEVER TAKEN
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
ffc18e10:	2f 85 00 00 	cmpwi   cr7,r5,0                               
    return RTEMS_INVALID_ADDRESS;                                     
ffc18e14:	3b 20 00 09 	li      r25,9                                  
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
ffc18e18:	41 9e 00 a8 	beq-    cr7,ffc18ec0 <rtems_timer_server_fire_when+0xf8>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
ffc18e1c:	7c 83 23 78 	mr      r3,r4                                  
ffc18e20:	4b ff cc 6d 	bl      ffc15a8c <_TOD_Validate>               
    return RTEMS_INVALID_CLOCK;                                       
ffc18e24:	3b 20 00 14 	li      r25,20                                 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
ffc18e28:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc18e2c:	41 9e 00 94 	beq-    cr7,ffc18ec0 <rtems_timer_server_fire_when+0xf8>
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
ffc18e30:	7f 83 e3 78 	mr      r3,r28                                 
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
ffc18e34:	3f 60 00 00 	lis     r27,0                                  
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
ffc18e38:	4b ff cb c9 	bl      ffc15a00 <_TOD_To_seconds>             
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
ffc18e3c:	80 1b 28 3c 	lwz     r0,10300(r27)                          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
ffc18e40:	7c 7c 1b 78 	mr      r28,r3                                 
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
ffc18e44:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc18e48:	40 9d 00 78 	ble-    cr7,ffc18ec0 <rtems_timer_server_fire_when+0xf8>
ffc18e4c:	3c 60 00 00 	lis     r3,0                                   
ffc18e50:	38 63 72 00 	addi    r3,r3,29184                            
ffc18e54:	7f e4 fb 78 	mr      r4,r31                                 
ffc18e58:	38 a1 00 08 	addi    r5,r1,8                                
ffc18e5c:	48 00 2b 6d 	bl      ffc1b9c8 <_Objects_Get>                
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
ffc18e60:	83 01 00 08 	lwz     r24,8(r1)                              
ffc18e64:	7c 79 1b 78 	mr      r25,r3                                 
ffc18e68:	2f 98 00 00 	cmpwi   cr7,r24,0                              
ffc18e6c:	40 9e 00 50 	bne-    cr7,ffc18ebc <rtems_timer_server_fire_when+0xf4>
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
ffc18e70:	38 63 00 10 	addi    r3,r3,16                               
ffc18e74:	48 00 4c b5 	bl      ffc1db28 <_Watchdog_Remove>            
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
ffc18e78:	38 00 00 03 	li      r0,3                                   
ffc18e7c:	90 19 00 38 	stw     r0,56(r25)                             
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
ffc18e80:	7f 24 cb 78 	mr      r4,r25                                 
ffc18e84:	7f a3 eb 78 	mr      r3,r29                                 
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
ffc18e88:	80 1b 28 3c 	lwz     r0,10300(r27)                          
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
ffc18e8c:	93 19 00 18 	stw     r24,24(r25)                            
ffc18e90:	7f 80 e0 50 	subf    r28,r0,r28                             
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
ffc18e94:	80 1d 00 04 	lwz     r0,4(r29)                              
  the_watchdog->routine   = routine;                                  
ffc18e98:	93 d9 00 2c 	stw     r30,44(r25)                            
ffc18e9c:	7c 09 03 a6 	mtctr   r0                                     
  the_watchdog->id        = id;                                       
ffc18ea0:	93 f9 00 30 	stw     r31,48(r25)                            
  the_watchdog->user_data = user_data;                                
ffc18ea4:	93 59 00 34 	stw     r26,52(r25)                            
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
ffc18ea8:	93 99 00 1c 	stw     r28,28(r25)                            
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
                                                                      
      _Thread_Enable_dispatch();                                      
      return RTEMS_SUCCESSFUL;                                        
ffc18eac:	3b 20 00 00 	li      r25,0                                  
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
ffc18eb0:	4e 80 04 21 	bctrl                                          
                                                                      
      _Thread_Enable_dispatch();                                      
ffc18eb4:	48 00 34 a5 	bl      ffc1c358 <_Thread_Enable_dispatch>     
      return RTEMS_SUCCESSFUL;                                        
ffc18eb8:	48 00 00 08 	b       ffc18ec0 <rtems_timer_server_fire_when+0xf8>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc18ebc:	3b 20 00 04 	li      r25,4                                  
}                                                                     
ffc18ec0:	39 61 00 38 	addi    r11,r1,56                              
ffc18ec4:	7f 23 cb 78 	mr      r3,r25                                 
ffc18ec8:	4b ff 53 d8 	b       ffc0e2a0 <_restgpr_24_x>