• G
    Add rtc reset function. · eeb7c03c
    Gleb Natapov 提交于
    On reset:
    Periodic Interrupt Enable (PIE) bit is cleared to zero
    Alarm Interrupt Enable (AIE) bit is cleared to zero
    Update ended Interrupt Flag (UF) bit is cleared to zero
    Interrupt Request status Flag (IRQF) bit is cleared to zero
    Periodic Interrupt Flag (PF) bit is cleared to zero
    Alarm Interrupt Flag (AF) bit is cleared to zero
    Square Wave output Enable (SQWE) zero
    Signed-off-by: NGleb Natapov <gleb@redhat.com>
    Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
    eeb7c03c
mc146818rtc.c 20.8 KB