Update due to API changes

This commit is contained in:
Sebastian Huber
2019-04-11 09:33:39 +02:00
parent 9723b63327
commit 647dd08ae2
12 changed files with 18 additions and 18 deletions

View File

@@ -145,7 +145,7 @@ rtems_bsd_initialize(void)
sbt_timethreshold = bttosbt(bt_timethreshold);
sbt_tickthreshold = bttosbt(bt_tickthreshold);
maxusers = 1;
maxid_maxcpus = (int) rtems_get_processor_count();
maxid_maxcpus = (int) rtems_scheduler_get_processor_maximum();
mkdir("/etc", S_IRWXU | S_IRWXG | S_IRWXO);