!C99Shell v. 1.0 pre-release build #13!

Software: Apache/2.0.54 (Unix) mod_perl/1.99_09 Perl/v5.8.0 mod_ssl/2.0.54 OpenSSL/0.9.7l DAV/2 FrontPage/5.0.2.2635 PHP/4.4.0 mod_gzip/2.0.26.1a 

uname -a: Linux snow.he.net 4.4.276-v2-mono-1 #1 SMP Wed Jul 21 11:21:17 PDT 2021 i686 

uid=99(nobody) gid=98(nobody) groups=98(nobody) 

Safe-mode: OFF (not secure)

/usr/src/linux-2.4.18-xfs-1.1/arch/arm/mach-footbridge/   drwxr-xr-x
Free 318.3 GB of 458.09 GB (69.48%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     cats-hw.c (1.25 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
 * linux/arch/arm/mach-footbridge/cats-hw.c
 *
 * CATS machine fixup
 *
 * Copyright (C) 1998, 1999 Russell King, Phil Blundell
 */
#include <linux/sched.h>
#include <linux/ioport.h>
#include <linux/kernel.h>
#include <linux/init.h>

#include <asm/io.h>
#include <asm/mach-types.h>

#define CFG_PORT    0x370
#define INDEX_PORT    (CFG_PORT)
#define DATA_PORT    (CFG_PORT + 1)

static int __init cats_hw_init(void)
{
    if (machine_is_cats()) {
        /* Set Aladdin to CONFIGURE mode */
        outb(0x51, CFG_PORT);
        outb(0x23, CFG_PORT);

        /* Select logical device 3 */
        outb(0x07, INDEX_PORT);
        outb(0x03, DATA_PORT);

        /* Set parallel port to DMA channel 3, ECP+EPP1.9, 
           enable EPP timeout */
        outb(0x74, INDEX_PORT);
        outb(0x03, DATA_PORT);
    
        outb(0xf0, INDEX_PORT);
        outb(0x0f, DATA_PORT);

        outb(0xf1, INDEX_PORT);
        outb(0x07, DATA_PORT);

        /* Select logical device 4 */
        outb(0x07, INDEX_PORT);
        outb(0x04, DATA_PORT);

        /* UART1 high speed mode */
        outb(0xf0, INDEX_PORT);
        outb(0x02, DATA_PORT);

        /* Select logical device 5 */
        outb(0x07, INDEX_PORT);
        outb(0x05, DATA_PORT);

        /* UART2 high speed mode */
        outb(0xf0, INDEX_PORT);
        outb(0x02, DATA_PORT);

        /* Set Aladdin to RUN mode */
        outb(0xbb, CFG_PORT);
    }

    return 0;
}

__initcall(cats_hw_init);

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0198 ]--