OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-arm/] [arch-arc/] [system.h] - Blame information for rev 1276

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1276 phoenix
/*
2
 *  linux/include/asm-arm/arch-arc/system.h
3
 *
4
 *  Copyright (C) 1996-1999 Russell King and Dave Gilbert
5
 *
6
 * This program is free software; you can redistribute it and/or modify
7
 * it under the terms of the GNU General Public License version 2 as
8
 * published by the Free Software Foundation.
9
 */
10
 
11
static inline void arch_idle(void)
12
{
13
}
14
 
15
static inline void arch_reset(char mode)
16
{
17
        /*
18
         * copy branch instruction to reset location and call it
19
         */
20
        *(unsigned long *)0 = *(unsigned long *)0x03800000;
21
        ((void(*)(void))0)();
22
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.