src/kernel/devices/clock.c
void clock_set_phase(int hz)
{
    int divisor = PIT_SCALE / hz;

    outb(PORT_PIT_COMMAND,      PIT_SET);
    outb(PORT_PIT_CHANNEL_0,    divisor & 0xFF);
    outb(PORT_PIT_CHANNEL_0,    (divisor >> 8) & 0xFF);
}
/**
 * \brief   Set the phase (in hertz) for the PIT
 */
\brief   Set the phase (in hertz) for the PIT
\ brief Set the phase ( in hertz ) for the PIT
void clock_set_phase(int hz)
{
    int divisor = PIT_SCALE / hz;
    outb(PORT_PIT_COMMAND,      PIT_SET);
    outb(PORT_PIT_CHANNEL_0,    divisor & 0xFF);
    outb(PORT_PIT_CHANNEL_0,    (divisor >> 8) & 0xFF);
}
void clock_set_phase ( int hz ) { int divisor = PIT_SCALE / hz ; outb ( PORT_PIT_COMMAND , PIT_SET ) ; outb ( PORT_PIT_CHANNEL_0 , divisor & 0xFF ) ; outb ( PORT_PIT_CHANNEL_0 , ( divisor >> 8 ) & 0xFF ) ; }
\brief   Set the phase (in hertz) for the PIT
\ brief Set the phase ( in hertz ) for the PIT