[BACK]Return to cpuvar.h CVS log [TXT][DIR] Up to [local] / funnyos / dev

File: [local] / funnyos / dev / cpuvar.h (download)

Revision 1.1, Tue Oct 16 17:30:35 2007 UTC (16 years, 6 months ago) by init
Branch: MAIN

sys/cpu.h moved to dev/cpuvar.h

/*
 * $Id: cpuvar.h,v 1.1 2007/10/16 17:30:35 init Exp $
 */
#ifndef _DEV_CPUVAR_H
#define _DEV_CPUVAR_H

/*
 * CPU capabilities.
 */
/* TODO when CPU identification will work */
#define CPU_HAVE_ICACHE 	0x00000001
#define CPU_HAVE_DCACHE 	0x00000002
#define CPU_HAVE_MMU 		0x00000004


struct cpu_dd {
	uint32_t 	cpu_freq;
	char 		*cpu_name;
	uint32_t 	cpu_flags;
};

#endif /* _DEV_CPUVAR_H */