Chameleon

Chameleon Svn Source Tree

Root/branches/module_system/i386/libsaio/hpet.h

Source at commit 840 created 13 years 4 days ago.
By azimutz, Following r820: - removed a duplicate "execute_hook("Kernel Start"..." - checked and added missing "boot_args/boot_args_pre_lion" stuff - small tweaks to "kDefaultCachePath..." and "gMacOSVersion" - enabled masking out of Pic interrupts on asm.s (thanks to DHP) - comment edits - reverted to XCode 3.2.6 build environment Folder is now on a working state :)
1/*
2 *
3 */
4
5#ifndef __LIBSAIO_HPET_H
6#define __LIBSAIO_HPET_H
7
8#include "libsaio.h"
9
10#define REG32(base, reg) ((volatile uint32_t *)base)[(reg) >> 2]
11
12void force_enable_hpet(pci_dt_t *lpc_dev);
13
14struct lpc_controller_t {
15unsigned vendor;
16unsigned device;
17char *name;
18};
19
20#endif /* !__LIBSAIO_HPET_H */
21

Archive Download this file

Revision: 840