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


Viewing file:     identify.c (2.39 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
 * identify.c: machine identification code.
 *
 * Copyright (C) 1998 Harald Koerfgen and Paul M. Antoine
 *
 * $Id: identify.c,v 1.2 1999/10/09 00:00:58 ralf Exp $
 */
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/string.h>

#include <asm/bootinfo.h>

#include "dectypes.h"
#include "prom.h"

extern char *(*prom_getenv)(char *);
extern int (*prom_printf)(char *, ...);
extern int (*rex_getsysid)(void);

extern unsigned long mips_machgroup;
extern unsigned long mips_machtype;

void __init prom_identify_arch (unsigned int magic)
{
    unsigned char dec_cpunum, dec_firmrev, dec_etc;
    int dec_systype;
    unsigned long dec_sysid;

    if (magic != REX_PROM_MAGIC) {
        dec_sysid = simple_strtoul(prom_getenv("systype"), (char **)0, 0);
    } else {
        dec_sysid = rex_getsysid();
        if (dec_sysid == 0) {
            prom_printf("Zero sysid returned from PROMs! Assuming PMAX-like machine.\n");
            dec_sysid = 1;
        }
    }

    dec_cpunum = (dec_sysid & 0xff000000) >> 24;
    dec_systype = (dec_sysid & 0xff0000) >> 16;
    dec_firmrev = (dec_sysid & 0xff00) >> 8;
    dec_etc = dec_sysid & 0xff;

    /* We're obviously one of the DEC machines */
    mips_machgroup = MACH_GROUP_DEC;

    /*
     * FIXME: This may not be an exhaustive list of DECStations/Servers!
     * Put all model-specific initialisation calls here.
     */
    prom_printf("This DECstation is a ");

    switch (dec_systype) {
    case DS2100_3100:
        prom_printf("DS2100/3100\n");
        mips_machtype = MACH_DS23100;
        break;
    case DS5100:        /* DS5100 MIPSMATE */
        prom_printf("DS5100\n");
        mips_machtype = MACH_DS5100;
        break;
    case DS5000_200:    /* DS5000 3max */
        prom_printf("DS5000/200\n");
        mips_machtype = MACH_DS5000_200;
        break;
    case DS5000_1XX:    /* DS5000/100 3min */
        prom_printf("DS5000/1xx\n");
        mips_machtype = MACH_DS5000_1XX;
        break;
    case DS5000_2X0:    /* DS5000/240 3max+ */
        prom_printf("DS5000/2x0\n");
        mips_machtype = MACH_DS5000_2X0;
        break;
    case DS5000_XX:    /* Personal DS5000/2x */
        prom_printf("Personal DS5000/xx\n");
        mips_machtype = MACH_DS5000_XX;
        break;
    case DS5800:        /* DS5800 Isis */
        prom_printf("DS5800\n");
        mips_machtype = MACH_DS5800;
        break;
    case DS5400:        /* DS5400 MIPSfair */
        prom_printf("DS5400\n");
        mips_machtype = MACH_DS5400;
        break;
    case DS5500:        /* DS5500 MIPSfair-2 */
        prom_printf("DS5500\n");
        mips_machtype = MACH_DS5500;
        break;
    default:
        prom_printf("unknown, id is %x", dec_systype);
        mips_machtype = MACH_DSUNKNOWN;
        break;
    }
}



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