gem5  v20.1.0.0
Functions
mc146818.cc File Reference
#include "dev/mc146818.hh"
#include <sys/time.h>
#include <ctime>
#include <string>
#include "base/bitfield.hh"
#include "base/time.hh"
#include "base/trace.hh"
#include "debug/MC146818.hh"
#include "dev/rtcreg.h"

Go to the source code of this file.

Functions

static uint8_t bcdize (uint8_t val)
 
static uint8_t unbcdize (uint8_t val)
 

Function Documentation

◆ bcdize()

static uint8_t bcdize ( uint8_t  val)
static

Definition at line 45 of file mc146818.cc.

References X86ISA::val.

Referenced by MC146818::setTime().

◆ unbcdize()

static uint8_t unbcdize ( uint8_t  val)
static

Definition at line 54 of file mc146818.cc.

References X86ISA::val.

Referenced by MC146818::writeData().


Generated on Wed Sep 30 2020 14:02:18 for gem5 by doxygen 1.8.17