ShellBanner
System:Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686
Software:Apache. PHP/5.3.6-13ubuntu3.10
ID:uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
Safe Mode:OFF
Open_Basedir:OFF
Freespace:21.93 GB of 70.42 GB (31.14%)
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,

/ usr/ src/ linux-headers-3.0.0-14/ arch/ mn10300/ include/ asm/ - drwxr-xr-x

Directory:
Viewing file:     frame.inc (2.38 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* MN10300 Microcontroller core system register definitions -*- asm -*-
 *
 * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
 * Written by David Howells (dhowells@redhat.com)
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public Licence
 * as published by the Free Software Foundation; either version
 * 2 of the Licence, or (at your option) any later version.
 */
#ifndef _ASM_FRAME_INC
#define _ASM_FRAME_INC

#ifndef __ASSEMBLY__
#error not for use in C files
#endif

#ifndef __ASM_OFFSETS_H__
#include <asm/asm-offsets.h>
#endif
#include <asm/thread_info.h>

#define pi break

#define fp a3

###############################################################################
#
# build a stack frame from the registers
# - the caller has subtracted 4 from SP before coming here
#
###############################################################################
.macro SAVE_ALL
    add    -4,sp                # next exception frame ptr save area
    movm    [other],(sp)
    mov    usp,a1
    mov    a1,(sp)                # USP in MOVM[other] dummy slot
    movm    [d2,d3,a2,a3,exreg0,exreg1,exother],(sp)
    mov    sp,fp                # FRAME pointer in A3
    add    -12,sp                # allow for calls to be made

    # push the exception frame onto the front of the list
    GET_THREAD_INFO a1
    mov    (TI_frame,a1),a0
    mov    a0,(REG_NEXT,fp)
    mov    fp,(TI_frame,a1)

    # disable the FPU inside the kernel
    and    ~EPSW_FE,epsw

    # we may be holding current in E2
#ifdef CONFIG_MN10300_CURRENT_IN_E2
    mov    (__current),e2
#endif
.endm

###############################################################################
#
# restore the registers from a stack frame
#
###############################################################################
.macro RESTORE_ALL
    # peel back the stack to the calling frame
    # - this permits execve() to discard extra frames due to kernel syscalls
    GET_THREAD_INFO a0
    mov    (TI_frame,a0),fp
    mov    fp,sp
    mov    (REG_NEXT,fp),d0
    mov    d0,(TI_frame,a0)                # userspace has regs->next == 0

#ifndef CONFIG_MN10300_USING_JTAG
    mov    (REG_EPSW,fp),d0
    btst    EPSW_T,d0
    beq    99f

    or    EPSW_NMID,epsw
    movhu    (DCR),d1
    or    0x0001, d1
    movhu    d1,(DCR)

99:
#endif
    movm    (sp),[d2,d3,a2,a3,exreg0,exreg1,exother]

    # must restore usp even if returning to kernel space,
    # when CONFIG_PREEMPT is enabled.
    mov    (sp),a1                # USP in MOVM[other] dummy slot
    mov    a1,usp

    movm    (sp),[other]
    add    8,sp
    rti

.endm


#endif /* _ASM_FRAME_INC */
Command:
Quick Commands:
Upload:
[Read-Only] Max size: 100MB
PHP Filesystem: <@ Ú
Search File:
regexp
Create File:
Overwrite [Read-Only]
View File:
Mass Defacement:
[+] Main Directory: [+] Defacement Url:
LmfaoX Shell - Private Build [BETA] - v0.1 -; Generated: 0.3316 seconds