coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
hpet.c File Reference
#include <arch/hpet.h>
#include <southbridge/intel/common/rcba.h>
#include <stdint.h>
#include "hpet.h"
Include dependency graph for hpet.c:

Go to the source code of this file.

Macros

#define HPTC   0x3404
 
#define HPET32(x)   (*((volatile u32 *)(HPET_BASE_ADDRESS + (x))))
 

Functions

void enable_hpet (void)
 
void hpet_udelay (u32 delay)
 

Macro Definition Documentation

◆ HPET32

#define HPET32 (   x)    (*((volatile u32 *)(HPET_BASE_ADDRESS + (x))))

Definition at line 11 of file hpet.c.

◆ HPTC

#define HPTC   0x3404

Definition at line 9 of file hpet.c.

Function Documentation

◆ enable_hpet()

void enable_hpet ( void  )

Definition at line 13 of file hpet.c.

References HPET32, HPTC, and RCBA32.

◆ hpet_udelay()

void hpet_udelay ( u32  delay)

Definition at line 25 of file hpet.c.

References delay(), and HPET32.

Referenced by sampledqs(), sdram_jedec(), sdram_jedecinit(), and sdram_rcompupdate().

Here is the call graph for this function:
Here is the caller graph for this function: