|
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 | : | 20.2 GB of 70.42 GB (28.68%) |
|
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,
|
[ System Info ]
[ Processes ]
[ SQL Manager ]
[ Eval ]
[ Encoder ]
[ Mailer ]
[ Back Connection ]
[ Backdoor Server ]
[ Kernel Exploit Search ]
[ MD5 Decrypter ]
[ Reverse IP ]
[ Kill Shell ]
[ FTP Brute-Force ]
|
|
/
usr/
src/
linux-headers-3.0.0-14/
arch/
arm/
mach-ep93xx/
include/
mach/
- drwxr-xr-x
|
Viewing file: uncompress.h (2.18 KB) -rw-r--r--Select action/file-type:  ( +) |  ( +) |  ( +) | Code ( +) | Session ( +) |  ( +) | SDB ( +) |  ( +) |  ( +) |  ( +) |  ( +) |  ( +) |
/* * arch/arm/mach-ep93xx/include/mach/uncompress.h * * Copyright (C) 2006 Lennert Buytenhek <buytenh@wantstofly.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your option) any later version. */
#include <mach/ep93xx-regs.h>
static unsigned char __raw_readb(unsigned int ptr) { return *((volatile unsigned char *)ptr); }
static unsigned int __raw_readl(unsigned int ptr) { return *((volatile unsigned int *)ptr); }
static void __raw_writeb(unsigned char value, unsigned int ptr) { *((volatile unsigned char *)ptr) = value; }
static void __raw_writel(unsigned int value, unsigned int ptr) { *((volatile unsigned int *)ptr) = value; }
#if defined(CONFIG_EP93XX_EARLY_UART1) #define UART_BASE EP93XX_UART1_PHYS_BASE #elif defined(CONFIG_EP93XX_EARLY_UART2) #define UART_BASE EP93XX_UART2_PHYS_BASE #elif defined(CONFIG_EP93XX_EARLY_UART3) #define UART_BASE EP93XX_UART3_PHYS_BASE #else #define UART_BASE EP93XX_UART1_PHYS_BASE #endif
#define PHYS_UART_DATA (UART_BASE + 0x00) #define PHYS_UART_FLAG (UART_BASE + 0x18) #define UART_FLAG_TXFF 0x20
static inline void putc(int c) { int i;
for (i = 0; i < 1000; i++) { /* Transmit fifo not full? */ if (!(__raw_readb(PHYS_UART_FLAG) & UART_FLAG_TXFF)) break; }
__raw_writeb(c, PHYS_UART_DATA); }
static inline void flush(void) { }
/* * Some bootloaders don't turn off DMA from the ethernet MAC before * jumping to linux, which means that we might end up with bits of RX * status and packet data scribbled over the uncompressed kernel image. * Work around this by resetting the ethernet MAC before we uncompress. */ #define PHYS_ETH_SELF_CTL 0x80010020 #define ETH_SELF_CTL_RESET 0x00000001
static void ethernet_reset(void) { unsigned int v;
/* Reset the ethernet MAC. */ v = __raw_readl(PHYS_ETH_SELF_CTL); __raw_writel(v | ETH_SELF_CTL_RESET, PHYS_ETH_SELF_CTL);
/* Wait for reset to finish. */ while (__raw_readl(PHYS_ETH_SELF_CTL) & ETH_SELF_CTL_RESET) ; }
static void arch_decomp_setup(void) { ethernet_reset(); }
#define arch_decomp_wdog()
|