This source file includes following definitions.
- mca_patcher_linux_register
- mca_patcher_linux_query
   1 
   2 
   3 
   4 
   5 
   6 
   7 
   8 
   9 
  10 
  11 
  12 #include "patcher_linux.h"
  13 
  14 static int mca_patcher_linux_priority;
  15 
  16 static int mca_patcher_linux_register (void)
  17 {
  18     mca_patcher_linux_priority = 13;
  19     mca_base_component_var_register (&mca_patcher_linux_component.patcherc_version,
  20                                      "priority", "Priority of the linux binary patcher component",
  21                                      MCA_BASE_VAR_TYPE_INT, NULL, 0, 0, OPAL_INFO_LVL_5,
  22                                      MCA_BASE_VAR_SCOPE_CONSTANT, &mca_patcher_linux_priority);
  23 
  24     return OPAL_SUCCESS;
  25 }
  26 
  27 static int mca_patcher_linux_query (mca_base_module_t **module, int *priority)
  28 {
  29     *module = &mca_patcher_linux_module.super;
  30     *priority = mca_patcher_linux_priority;
  31     return OPAL_SUCCESS;
  32 }
  33 
  34 mca_patcher_base_component_t mca_patcher_linux_component = {
  35     .patcherc_version = {
  36         OPAL_PATCHER_BASE_VERSION_1_0_0,
  37         .mca_component_name = "linux",
  38         MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
  39                               OPAL_RELEASE_VERSION),
  40         .mca_query_component = mca_patcher_linux_query,
  41         .mca_register_component_params = mca_patcher_linux_register,
  42     },
  43 };