!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/alpha/kernel/   drwxr-xr-x
Free 318.36 GB of 458.09 GB (69.5%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     console.c (1.5 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
 *    linux/arch/alpha/kernel/console.c
 *
 * Architecture-specific specific support for VGA device on 
 * non-0 I/O hose
 */

#include <linux/config.h>
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/tty.h>
#include <linux/console.h>
#include <asm/vga.h>
#include <asm/machvec.h>

#ifdef CONFIG_VGA_HOSE

/*
 * Externally-visible vga hose bases
 */
unsigned long __vga_hose_io_base = 0;    /* base for default hose */
unsigned long __vga_hose_mem_base = 0;    /* base for default hose */

static struct pci_controller * __init 
default_vga_hose_select(struct pci_controller *h1, struct pci_controller *h2)
{
    if (h2->index < h1->index)
        return h2;

    return h1;
}

void __init 
set_vga_hose(struct pci_controller *hose)
{
    if (hose) {
        __vga_hose_io_base = hose->io_space->start;
        __vga_hose_mem_base = hose->mem_space->start;
    }
}

void __init 
locate_and_init_vga(void *(*sel_func)(void *, void *))
{
    struct pci_controller *hose = NULL;
    struct pci_dev *dev = NULL;

    if (!sel_func) sel_func = (void *)default_vga_hose_select;

    for(dev=NULL; (dev=pci_find_class(PCI_CLASS_DISPLAY_VGA << 8, dev));) {
        if (!hose) hose = dev->sysdata;
        else hose = sel_func(hose, dev->sysdata);
    }

    /* Did we already inititialize the correct one? */
    if (conswitchp == &vga_con &&
        __vga_hose_io_base == hose->io_space->start &&
        __vga_hose_mem_base == hose->mem_space->start)
        return;

    /* Set the VGA hose and init the new console */
    set_vga_hose(hose);
    take_over_console(&vga_con, 0, MAX_NR_CONSOLES-1, 1);
}

#endif

:: 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.0336 ]--