Move TICKS_PER_SECOND in timer.h
This commit is contained in:
@@ -29,6 +29,9 @@
|
|||||||
/// time consumed by the process.
|
/// time consumed by the process.
|
||||||
#define ITIMER_PROF 2
|
#define ITIMER_PROF 2
|
||||||
|
|
||||||
|
/// Number of ticks per seconds.
|
||||||
|
#define TICKS_PER_SECOND 1193
|
||||||
|
|
||||||
/// @brief Handles the timer.
|
/// @brief Handles the timer.
|
||||||
/// @param f The interrupt stack frame.
|
/// @param f The interrupt stack frame.
|
||||||
/// @details
|
/// @details
|
||||||
|
|||||||
@@ -26,9 +26,7 @@
|
|||||||
#include "system/signal.h"
|
#include "system/signal.h"
|
||||||
#include "assert.h"
|
#include "assert.h"
|
||||||
#include "sys/errno.h"
|
#include "sys/errno.h"
|
||||||
|
#include "io/vga/vga.h"
|
||||||
/// Number of ticks per seconds.
|
|
||||||
#define TICKS_PER_SECOND 1193
|
|
||||||
|
|
||||||
/// @defgroup picregs Programmable Interval Timer Registers
|
/// @defgroup picregs Programmable Interval Timer Registers
|
||||||
/// @brief The list of registers used to set the PIT.
|
/// @brief The list of registers used to set the PIT.
|
||||||
|
|||||||
Reference in New Issue
Block a user