?? utils.c
字號:
/****************************************************************************** * * Copyright (c) 2003 Gerhard W. Gruber * * PROJECT: pICE * $Source: /cvsroot/pice/pice/module/utils.c,v $ * $Revision: 1.6 $ * $Date: 2004/02/17 23:07:37 $ * $Author: lightweave $ * $Name: $ * * $Log: utils.c,v $ * Revision 1.6 2004/02/17 23:07:37 lightweave * * Improved the DEBUG facillity and replaced the configuration handler with a * new code which now can read MS Windows INI style files. See CHANGES.txt for * more details. * Also added a macro which prevents compiling for kernels before 2.4.19. * * Revision 1.4 2003/06/18 22:00:22 lightweave * DEBUG and DEBUG_SERIAL added * * *****************************************************************************/static char *ident = "$Header: /cvsroot/pice/pice/module/utils.c,v 1.6 2004/02/17 23:07:37 lightweave Exp $";/*++Copyright (c) 1998-2001 Klaus P. GerlicherModule Name: util.cAbstract: Environment: Kernel mode onlyAuthor: Klaus P. Gerlicher Gerhard W. GruberCopyright notice: This file may be distributed under the terms of the GNU Public License.--*/////////////////////////////////////////////////////// INCLUDES////#include "remods.h"#include <asm/io.h>#include <asm/page.h>#include <linux/fs.h>//#include <linux/syscall.h> /* sys_read, sys_lseek, etc. */#include <linux/vmalloc.h>#include <asm/uaccess.h>#include <asm/delay.h>#include <linux/types.h>#include <linux/string.h>#include <linux/ctype.h>#include <linux/mm.h>#include <linux/highmem.h>#include "precomp.h"////////////////////////////////////////////////////// GLOBALS////// output stringchar tempUtil[1024];char tempFlowChanges[256];struct mm_struct* my_init_mm=(struct mm_struct*)NULL;struct module *pmodule_list=NULL;ULONG TwoPagesForPhysMem[2*PAGE_SIZE];// scancode to ASCII conversiontypedef struct tagSCANTOASCII{ UCHAR s,a;}SCANTOASCII;// scancode to ASCII tableSCANTOASCII ucScanToAscii_GER[]={// german keyboard {16,'q'},{17,'w'},{18,'e'},{19,'r'},{20,'t'}, {21,'z'},{22,'u'},{23,'i'},{24,'o'},{25,'p'}, {30,'a'},{31,'s'},{32,'d'},{33,'f'},{34,'g'}, {35,'h'},{36,'j'},{37,'k'},{38,'l'}, {44,'y'},{45,'x'},{46,'c'},{47,'v'},{48,'b'}, {49,'n'},{50,'m'}, {2,'1'},{3,'2'},{4,'3'},{ 5,'4'},{ 6,'5'}, {7,'6'},{8,'7'},{9,'8'},{10,'9'},{11,'0'}, {12,'
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -