Changeset c346f33d in rtems for cpukit/score/cpu/no_cpu


Ignore:
Timestamp:
Mar 30, 2004, 11:49:14 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
30b1016
Parents:
e6aeabd
Message:

2004-03-30 Ralf Corsepius <ralf_corsepius@…>

  • cpu.c, rtems/score/cpu.h: Convert to using c99 fixed size types.
Location:
cpukit/score/cpu/no_cpu
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/no_cpu/ChangeLog

    re6aeabd rc346f33d  
     12004-03-30      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * cpu.c, rtems/score/cpu.h: Convert to using c99 fixed size types.
     4
    152004-03-29      Ralf Corsepius <ralf_corsepius@rtems.org>
    26
  • cpukit/score/cpu/no_cpu/cpu.c

    re6aeabd rc346f33d  
    7070 */
    7171 
    72 unsigned32 _CPU_ISR_Get_level( void )
     72uint32_t  _CPU_ISR_Get_level( void )
    7373{
    7474  /*
     
    8989 
    9090void _CPU_ISR_install_raw_handler(
    91   unsigned32  vector,
     91  uint32_t    vector,
    9292  proc_ptr    new_handler,
    9393  proc_ptr   *old_handler
     
    121121
    122122void _CPU_ISR_install_vector(
    123   unsigned32  vector,
     123  uint32_t    vector,
    124124  proc_ptr    new_handler,
    125125  proc_ptr   *old_handler
  • cpukit/score/cpu/no_cpu/rtems/score/cpu.h

    re6aeabd rc346f33d  
    409409
    410410typedef struct {
    411     unsigned32 some_integer_register;
    412     unsigned32 some_system_register;
     411    uint32_t  some_integer_register;
     412    uint32_t  some_system_register;
    413413} Context_Control;
    414414
     
    418418
    419419typedef struct {
    420     unsigned32 special_interrupt_register;
     420    uint32_t  special_interrupt_register;
    421421} CPU_Interrupt_frame;
    422422
     
    437437  void       (*idle_task)( void );
    438438  boolean      do_zero_of_workspace;
    439   unsigned32   idle_task_stack_size;
    440   unsigned32   interrupt_stack_size;
    441   unsigned32   extra_mpci_receive_server_stack;
    442   void *     (*stack_allocate_hook)( unsigned32 );
     439  uint32_t     idle_task_stack_size;
     440  uint32_t     interrupt_stack_size;
     441  uint32_t     extra_mpci_receive_server_stack;
     442  void *     (*stack_allocate_hook)( uint32_t  );
    443443  void       (*stack_free_hook)( void* );
    444444  /* end of fields required on all CPUs */
     
    727727  }
    728728
    729 unsigned32 _CPU_ISR_Get_level( void );
     729uint32_t  _CPU_ISR_Get_level( void );
    730730
    731731/* end of ISR handler macros */
     
    983983 
    984984void _CPU_ISR_install_raw_handler(
    985   unsigned32  vector,
     985  uint32_t    vector,
    986986  proc_ptr    new_handler,
    987987  proc_ptr   *old_handler
     
    999999
    10001000void _CPU_ISR_install_vector(
    1001   unsigned32  vector,
     1001  uint32_t    vector,
    10021002  proc_ptr    new_handler,
    10031003  proc_ptr   *old_handler
     
    11221122)
    11231123{
    1124   unsigned32 byte1, byte2, byte3, byte4, swapped;
     1124  uint32_t  byte1, byte2, byte3, byte4, swapped;
    11251125 
    11261126  byte4 = (value >> 24) & 0xff;
Note: See TracChangeset for help on using the changeset viewer.