www.pudn.com > mizi_vivi.rar > proc.c
/* * vivi/arch/pxa250/proc.c * * Copyright (C) 2001 MIZI Research, Inc. * * Author: Yong-iL Joh* Date : $Date: 2002/08/10 07:47:07 $ * * $Revision: 1.9 $ * Mon May 28 2002 Yong-iL Joh - initial based on cpu-sa1100.c Mon Jul 22 2002 Janghoon Lyu - ´Ù½Ã ÀÛ¼ºÇÕ´Ï´Ù. * * This file is subject to the terms and conditions of the GNU General Public * License. See the file COPYING in the main directory of this archive * for more details. */ #include "config.h" #include "mmu.h" #include "command.h" #include static void temp_udelay(unsigned long u) { unsigned long i, j; for (j = 0; j < u; j++) { for (i = 0; i < 1000; i++) ; } } void arch_udelay(unsigned long usec) { } void arch_mdelay(unsigned long msec) { temp_udelay(msec * 1000); } extern void cpu_xscale_reset(unsigned long loc); void command_reset(int argc, const char **argv) { cpu_xscale_reset(0); } user_command_t reset_cmd = { "reset", command_reset, NULL, "reset \t\t\t\t-- Reset the System" }; /* | $Id: proc.c,v 1.9 2002/08/10 07:47:07 nandy Exp $ | | Local Variables: | mode: c | mode: font-lock | version-control: t | delete-old-versions: t | End: | | -*- End-Of-File -*- */