[BACK]Return to cpu.h CVS log [TXT][DIR] Up to [local] / funnyos / sys

File: [local] / funnyos / sys / Attic / cpu.h (download)

Revision 1.1, Tue Oct 16 08:41:05 2007 UTC (16 years, 7 months ago) by init
Branch: MAIN

Initial revision

/*
 * $Id: cpu.h,v 1.1 2007/10/16 08:41:05 init Exp $
 */
#ifndef _SYS_CPU_H
#define _SYS_CPU_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 /* _SYS_CPU_H */