⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cputable.t

📁 RTEMS (Real-Time Executive for Multiprocessor Systems) is a free open source real-time operating sys
💻 T
字号:
@c@c  COPYRIGHT (c) 1988-2002.@c  On-Line Applications Research Corporation (OAR).@c  All rights reserved.@c@c  $Id: cputable.t,v 1.9 2002/01/17 21:47:46 joel Exp $@c@chapter Processor Dependent Information Table@section IntroductionAny highly processor dependent information requiredto describe a processor to RTEMS is provided in the CPUDependent Information Table.  This table is not required for allprocessors supported by RTEMS.  This chapter describes thecontents, if any, for a particular processor type.@section CPU Dependent Information TableThe PA-RISC version of the RTEMS CPU DependentInformation Table contains the information required to interfacea Board Support Package and RTEMS on the PA-RISC.  Thisinformation is provided to allow RTEMS to interoperateeffectively with the BSP.  The C structure definition is givenhere:@exampletypedef struct @{  void       (*pretasking_hook)( void );  void       (*predriver_hook)( void );  void       (*postdriver_hook)( void );  void       (*idle_task)( void );  boolean      do_zero_of_workspace;  unsigned32   idle_task_stack_size;  unsigned32   interrupt_stack_size;  unsigned32   extra_mpci_receive_server_stack;  void *     (*stack_allocate_hook)( unsigned32 );  void       (*stack_free_hook)( void * );  /* end of fields required on all CPUs */   hppa_rtems_isr_entry spurious_handler;       /* itimer_clicks_per_microsecond is for the Clock driver */  unsigned32   itimer_clicks_per_microsecond;@}   rtems_cpu_table;@end example@table @code@item pretasking_hookis the address of the user provided routine which is invokedonce RTEMS APIs are initialized.  This routine will be invokedbefore any system tasks are created.  Interrupts are disabled.This field may be NULL to indicate that the hook is not utilized.@item predriver_hookis the address of the user providedroutine that is invoked immediately before the the device drivers and MPCI are initialized. RTEMSinitialization is complete but interrupts and tasking are disabled.This field may be NULL to indicate that the hook is not utilized.@item postdriver_hookis the address of the user providedroutine that is invoked immediately after the the device drivers and MPCI are initialized. RTEMSinitialization is complete but interrupts and tasking are disabled.This field may be NULL to indicate that the hook is not utilized.@item idle_taskis the address of the optional userprovided routine which is used as the system's IDLE task.  Ifthis field is not NULL, then the RTEMS default IDLE task is notused.  This field may be NULL to indicate that the default IDLEis to be used.@item do_zero_of_workspaceindicates whether RTEMS shouldzero the Workspace as part of its initialization.  If set toTRUE, the Workspace is zeroed.  Otherwise, it is not.@item idle_task_stack_sizeis the size of the RTEMS idle task stack in bytes.  If this number is less than MINIMUM_STACK_SIZE, then the idle task's stack will be MINIMUM_STACK_SIZE in byte.@item interrupt_stack_sizeis the size of the RTEMS allocated interrupt stack in bytes.  This value must be at least as large as MINIMUM_STACK_SIZE.@item extra_mpci_receive_server_stackis the extra stack space allocated for the RTEMS MPCI receive server taskin bytes.  The MPCI receive server may invoke nearly all directives and may require extra stack space on some targets.@item stack_allocate_hookis the address of the optional user provided routine which allocates memory for task stacks.  If this hook is not NULL, then a stack_free_hookmust be provided as well.@item stack_free_hookis the address of the optional user provided routine which frees memory for task stacks.  If this hook is not NULL, then a stack_allocate_hookmust be provided as well.@item spurious_handleris the address of the optional user provided routine which is invokedwhen a spurious external interrupt occurs.  A spurious interrupt is onefor which no handler is installed.@item itimer_clicks_per_microsecondis the number of countdowns in the on-CPU timer which correspondsto a microsecond.  This is a function of the clock speed of the CPUbeing used.@end table

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -