!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/sparc/kernel/   drwxr-xr-x
Free 318.35 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:     tick14.c (1.83 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* tick14.c
 * linux/arch/sparc/kernel/tick14.c
 *
 * Copyright (C) 1996 David Redman (djhr@tadpole.co.uk)
 *
 * This file handles the Sparc specific level14 ticker
 * This is really useful for profiling OBP uses it for keyboard
 * aborts and other stuff.
 *
 *
 */
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/param.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/timex.h>

#include <asm/oplib.h>
#include <asm/segment.h>
#include <asm/timer.h>
#include <asm/mostek.h>
#include <asm/system.h>
#include <asm/irq.h>
#include <asm/io.h>

extern unsigned long lvl14_save[5];
static unsigned long *linux_lvl14 = NULL;
static unsigned long obp_lvl14[4];
 
void install_linux_ticker(void)
{
    unsigned long flags;

    if (!linux_lvl14)
        return;
    save_and_cli(flags);
    linux_lvl14[0] =  lvl14_save[0];
    linux_lvl14[1] =  lvl14_save[1];
    linux_lvl14[2] =  lvl14_save[2];
    linux_lvl14[3] =  lvl14_save[3];
    restore_flags(flags);
}

void install_obp_ticker(void)
{
    unsigned long flags;
    
    if (!linux_lvl14)
        return;
    save_and_cli(flags);
    linux_lvl14[0] =  obp_lvl14[0];
    linux_lvl14[1] =  obp_lvl14[1];
    linux_lvl14[2] =  obp_lvl14[2];
    linux_lvl14[3] =  obp_lvl14[3]; 
    restore_flags(flags);
}

void claim_ticker14(void (*handler)(int, void *, struct pt_regs *),
            int irq_nr, unsigned int timeout )
{
    int cpu = smp_processor_id();

    /* first we copy the obp handler instructions
     */
    disable_irq(irq_nr);
    if (!handler)
        return;
    
    linux_lvl14 = (unsigned long *)lvl14_save[4];
    obp_lvl14[0] = linux_lvl14[0];
    obp_lvl14[1] = linux_lvl14[1];
    obp_lvl14[2] = linux_lvl14[2];
    obp_lvl14[3] = linux_lvl14[3];

    if (!request_irq(irq_nr,
             handler,
             (SA_INTERRUPT | SA_STATIC_ALLOC),
             "counter14",
             NULL)) {
        install_linux_ticker();
        load_profile_irq(cpu, timeout);
        enable_irq(irq_nr);
    }
}

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