Move TICKS_PER_SECOND in timer.h

This commit is contained in:
Enrico Fraccaroli (Galfurian)
2022-07-20 11:05:56 -04:00
parent e9d1cf9187
commit 259697608f
2 changed files with 4 additions and 3 deletions
+3
View File
@@ -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
+1 -3
View File
@@ -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.