gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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

static uint8_t bcdize ( uint8_t  val)
static

Definition at line 49 of file mc146818.cc.

Referenced by MC146818::setTime().

static uint8_t unbcdize ( uint8_t  val)
static

Definition at line 58 of file mc146818.cc.

Referenced by MC146818::writeData().


Generated on Fri Jun 9 2017 13:03:57 for gem5 by doxygen 1.8.6