OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [stable_0_2_0_rc1/] [or1ksim/] [sim-config.c] - Diff between revs 1506 and 1520

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 1506 Rev 1520
Line 276... Line 276...
  enum param_t type;
  enum param_t type;
  void (*func)(union param_val, void *dat);
  void (*func)(union param_val, void *dat);
  struct config_param *next;
  struct config_param *next;
};
};
 
 
/* FIXME: These will be removed */
 
int current_device = -1;
 
void change_device (union param_val val, void *dat) {
 
  current_device = val.int_val;
 
}
 
 
 
void end_device (union param_val val, void *dat) {
 
  current_device = -1;
 
}
 
 
 
void base_include (union param_val val, void *dat) {
void base_include (union param_val val, void *dat) {
  read_script_file (val.str_val);
  read_script_file (val.str_val);
  cur_section = NULL;
  cur_section = NULL;
}
}
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.