hw: re-name scheduler files according to class

Fix genodelabs/genode#5115
This commit is contained in:
Stefan Kalkowski 2024-02-12 14:52:06 +01:00 committed by Christian Helmuth
parent 79167d8f5c
commit 394801c998
6 changed files with 8 additions and 8 deletions

View File

@ -50,7 +50,7 @@ SRC_CC += region_map_support.cc
SRC_CC += pager.cc
SRC_CC += _main.cc
SRC_CC += kernel/cpu.cc
SRC_CC += kernel/cpu_scheduler.cc
SRC_CC += kernel/scheduler.cc
SRC_CC += kernel/ipc_node.cc
SRC_CC += kernel/irq.cc
SRC_CC += kernel/main.cc

View File

@ -16,7 +16,7 @@
#define _CORE__KERNEL__CPU_CONTEXT_H_
/* core includes */
#include <kernel/cpu_scheduler.h>
#include <kernel/scheduler.h>
#include <kernel/timer.h>
namespace Kernel {

View File

@ -14,7 +14,7 @@
#include <types.h>
#include <hw/assert.h>
#include <kernel/cpu_scheduler.h>
#include <kernel/scheduler.h>
using namespace Kernel;

View File

@ -12,8 +12,8 @@
* under the terms of the GNU Affero General Public License version 3.
*/
#ifndef _CORE__KERNEL__CPU_SCHEDULER_H_
#define _CORE__KERNEL__CPU_SCHEDULER_H_
#ifndef _CORE__KERNEL__SCHEDULER_H_
#define _CORE__KERNEL__SCHEDULER_H_
/* core includes */
#include <util.h>
@ -246,4 +246,4 @@ class Kernel::Scheduler
return Genode::min(_current_quantum, _super_period_left); }
};
#endif /* _CORE__KERNEL__CPU_SCHEDULER_H_ */
#endif /* _CORE__KERNEL__SCHEDULER_H_ */

View File

@ -17,7 +17,7 @@
#include <base/component.h>
/* core includes */
#include <kernel/cpu_scheduler.h>
#include <kernel/scheduler.h>
using namespace Genode;
using namespace Kernel;

View File

@ -5,7 +5,7 @@
#
TARGET = test-cpu_scheduler
SRC_CC = main.cc cpu_scheduler.cc
SRC_CC = main.cc scheduler.cc
INC_DIR += $(REP_DIR)/src/core $(REP_DIR)/src/include $(BASE_DIR)/src/include
LIBS = base