?? powerpc-linux.kernel.vmlinux.s
字號:
/*; powerpc-linux.kernel.vmlinux.S -- loader & decompressor for the vmlinux/powerpc format;; This file is part of the UPX executable compressor.;; Copyright (C) 1996-2007 Markus Franz Xaver Johannes Oberhumer; Copyright (C) 1996-2007 Laszlo Molnar; Copyright (C) 2004-2007 John Reiser; All Rights Reserved.;; UPX and the UCL library are free software; you can redistribute them; and/or modify them under the terms of the GNU General Public License as; published by the Free Software Foundation; either version 2 of; the License, or (at your option) any later version.;; This program is distributed in the hope that it will be useful,; but WITHOUT ANY WARRANTY; without even the implied warranty of; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the; GNU General Public License for more details.;; You should have received a copy of the GNU General Public License; along with this program; see the file COPYING.; If not, write to the Free Software Foundation, Inc.,; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.;; Markus F.X.J. Oberhumer Laszlo Molnar; <mfx@users.sourceforge.net> <ml1050@users.sourceforge.net>;; John Reiser; <jreiser@users.sourceforge.net>*/#include "arch/powerpc/32/macros.S"#include "arch/powerpc/32/regs.h"// offsets in struct b_infosz_unc = 0sz_cpr = 4b_method = 8b_ftid = 9b_cto8 = 10sz_b_info = 12// ========== ENTRY POINTsection LINUX000 // adjust parameters; call decompressor b uncompress b unfiltersection LINUX010 // call unfilter .long filter_length .long filter_ctosection LINUX020 // adjust return value// ========== UNFILTERunfilter://section ctok32.00#include "arch/powerpc/32/bxx.S"// ========== DECOMPRESSIONsection LINUX030 // decompressoruncompress:SZ_DLINE=128 # size of data cache line in Apple G5/* register assingments for NRV algorithms */#define hibit r0 /* holds 0x80000000 during decompress */#define src a0#define lsrc a1#define dst a2#define ldst a3 /* Out: actually a reference: &len_dst */#define meth a4#define off a4#define len a5#define bits a6#define disp a7section NRV2B#include "arch/powerpc/32/nrv2b_d.S"section NRV2D#include "arch/powerpc/32/nrv2d_d.S"section NRV2E#include "arch/powerpc/32/nrv2e_d.S"#undef hibit#undef src#undef lsrc#undef dst#undef ldst#undef meth#undef off#undef len#undef bits#undef dispsection LZMA#include "arch/powerpc/32/lzma_d.S"// ========== IDENT#include "include/header.S"// vi:ts=8:et:nowrap
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -