NerdTree

/* toshiba.c -- Linux driver for accessing the SMM on Toshiba laptops                                               |" Press <F1>, ? for help
 *                                                                                                                  |
 * Copyright (c) 1996-2001  Jonathan A. Buzzard ([email protected])                                           |▶ macros
 *                                                                                                                  |
 * Valuable assistance and patches from:                                                                            |▶ prototypes
 *     Tom May <[email protected]>                                                                               |
 *     Rob Napier <[email protected]>                                                                           |▼ variables
 *                                                                                                                  |   -tosh_bios
 * Fn status port numbers for machine ID's courtesy of                                                              |   -tosh_date
 *     0xfc02: Scott Eisert <[email protected]>                                                                   |   -tosh_device
 *     0xfc04: Steve VanDevender <[email protected]>                                                                   |   -tosh_fan
 *     0xfc08: Garth Berry <[email protected]>                                                                     |   -tosh_fn
 *     0xfc0a: Egbert Eich <[email protected]>                                                                       |   -tosh_fops
 *     0xfc10: Andrew Lofthouse <[email protected]>                                                    |   -tosh_id
 *     0xfc11: Spencer Olson <[email protected]>                                                                    |   -tosh_sci
 *     0xfc13: Claudius Frankewitz <[email protected]>                                                                    |    tosh_smm
 *     0xfc15: Tom May <[email protected]>                                                                       |    toshiba_exit
 *     0xfc17: Dave Konrad <[email protected]>                                                                        |    toshiba_init
 *     0xfc1a: George Betzos <[email protected]>                                                            |
 *     0xfc1b: Munemasa Wada <[email protected]>                                                                |▼ functions
 *     0xfc1d: Arthur Liu <[email protected]>                                                                      |   -proc_toshiba_show(str
 *     0xfc5a: Jacques L'helgoualc'h <[email protected]>                                                                  |   -tosh_emulate_fan(SMMR
 *     0xfcd1: Mr. Dave Konrad <[email protected]>                                                                    |   -tosh_fn_status(void)
 *                                                                                                                  |   -tosh_get_machine_id(v
 * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING                                          |   -tosh_ioctl(struct fil
 *                                                                                                                  |   -tosh_probe(void)
 *   This code is covered by the GNU GPL and you are free to make any                                               |   -tosh_set_fn_port(void
 *   changes you wish to it under the terms of the license. However the                                             |    tosh_smm(SMMRegisters
 *   code has the potential to render your computer and/or someone else's                                           |   -toshiba_exit(void)
 *   unusable. Please proceed with care when modifying the code.                                                    |   -toshiba_init(void)
 *                                                                                                                  |~                        
 * Note: Unfortunately the laptop hardware can close the System Configuration                                       |~                        
 *       Interface on it's own accord. It is therefore necessary for *all*                                          |~                        
 *       programs using this driver to be aware that *any* SCI call can fail at                                     |~                        
drivers/char/toshiba.c                                                                            1,1            Top [Name] toshiba.c         
:NERDTree

vim命令行模式 

 

:NERDTree

插件就是顯示個目錄樹而已 

" Press ? for help             |/*                                                                                  |" Press <F1>, ? for help
                               | * SN Platform system controller communication support                              |
.. (up a dir)                  | *                                                                                  |▶ macros
/home/nasri/work/linux-5.1.7/  | * This file is subject to the terms and conditions of the GNU General Public       |
▸ arch/                        | * License.  See the file "COPYING" in the main directory of this archive           |▶ prototypes
▸ block/                       | * for more details.                                                                |
▸ certs/                       | *                                                                                  |▼ variables
▸ crypto/                      | * Copyright (C) 2004, 2006 Silicon Graphics, Inc. All rights reserved.             |   -scdrv_fops
▸ Documentation/               | */                                                                                 |    scdrv_init
▸ drivers/                     |                                                                                    |   -snsc_class
▸ fs/                          |/*                                                                                  |
▸ include/                     | * System controller communication driver                                           |▼ functions
▸ init/                        | *                                                                                  |   -read_status_check(str
▸ ipc/                         | * This driver allows a user process to communicate with the system                 |    scdrv_init(void)
▸ kernel/                      | * controller (a.k.a. "IRouter") network in an SGI SN system.                       |   -scdrv_interrupt(int i
▸ lib/                         | */                                                                                 |   -scdrv_open(struct ino
▸ LICENSES/                    |                                                                                    |   -scdrv_poll(struct fil
▸ mm/                          |#include <linux/interrupt.h>                                                        |   -scdrv_read(struct fil
▸ net/                         |#include <linux/sched/signal.h>                                                     |   -scdrv_release(struct 
▸ samples/                     |#include <linux/device.h>                                                           |   -scdrv_write(struct fi
▸ scripts/                     |#include <linux/poll.h>                                                             |   -write_status_check(st
▸ security/                    |#include <linux/init.h>                                                             |~                        
▸ sound/                       |#include <linux/slab.h>                                                             |~                        
▸ tools/                       |#include <linux/mutex.h>                                                            |~                        
▸ usr/                         |#include <asm/sn/io.h>                                                              |~                        
▸ virt/                        |#include <asm/sn/sn_sal.h>                                                          |~                        
  COPYING                      |#include <asm/sn/module.h>                                                          |~                        
  CREDITS                      |#include <asm/sn/geo.h>                                                             |~                        
  cscope.in.out                |#include <asm/sn/nodepda.h>                                                         |~                        
  cscope.out                   |#include "snsc.h"                                                                   |~                        
  cscope.po.out                |                                                                                    |~                        
  Kbuild                       |#define SYSCTL_BASENAME "snsc"                                                      |~                        
  Kconfig                      |                                                                                    |~                        
  MAINTAINERS                  |#define SCDRV_BUFSZ     2048                                                        |~                      

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章