!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/m68k/sun3x/   drwxr-xr-x
Free 318.34 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:     config.c (2.02 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
 * Setup kernel for a Sun3x machine
 *
 * (C) 1999 Thomas Bogendoerfer (tsbogend@alpha.franken.de)
 *
 * based on code from Oliver Jowett <oliver@jowett.manawatu.gen.nz>
 */

#include <linux/types.h>
#include <linux/mm.h>
#include <linux/console.h>
#include <linux/init.h>

#include <asm/system.h>
#include <asm/machdep.h>
#include <asm/irq.h>
#include <asm/sun3xprom.h>
#include <asm/sun3ints.h>
#include <asm/setup.h>

#include "time.h"

volatile char *clock_va;
extern volatile unsigned char *sun3_intreg;


int __init sun3x_keyb_init(void)
{
    return 0;
}

int sun3x_kbdrate(struct kbd_repeat *r)
{
    return 0;
}

void sun3x_kbd_leds(unsigned int i)
{

}

void sun3_leds(unsigned int i)
{

}

/* should probably detect types of these eventually. */
static void sun3x_get_model(char *model)
{
    sprintf(model, "Sun3x");
}

/*
 *  Setup the sun3x configuration info
 */
void __init config_sun3x(void)
{

    sun3x_prom_init();

    mach_get_irq_list     = sun3_get_irq_list;
    mach_max_dma_address = 0xffffffff; /* we can DMA anywhere, whee */

    mach_keyb_init       = sun3x_keyb_init;
    mach_kbdrate         = sun3x_kbdrate;
    mach_kbd_leds        = sun3x_kbd_leds;

    mach_default_handler = &sun3_default_handler;
    mach_sched_init      = sun3x_sched_init;
    mach_init_IRQ        = sun3_init_IRQ;
    enable_irq           = sun3_enable_irq;
    disable_irq          = sun3_disable_irq;
    mach_request_irq     = sun3_request_irq;
    mach_free_irq        = sun3_free_irq;
    mach_process_int     = sun3_process_int;
    
    mach_gettimeoffset   = sun3x_gettimeoffset;
    mach_reset           = sun3x_reboot;

    mach_gettod          = sun3x_gettod;
    mach_hwclk           = sun3x_hwclk;
    mach_get_model       = sun3x_get_model;

    sun3_intreg = (unsigned char *)SUN3X_INTREG;

    /* only the serial console is known to work anyway... */
#if 0    
    switch (*(unsigned char *)SUN3X_EEPROM_CONS) {
    case 0x10:
        serial_console = 1;
        conswitchp = NULL;
        break;
    case 0x11:
        serial_console = 2;
        conswitchp = NULL;
        break;
    default:
        serial_console = 0;
        conswitchp = &dummy_con;
        break;
    }
#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.0276 ]--