EmEditorみんなでまとめサイト

Linuxカーネル構文ファイル

最終更新:

匿名ユーザー

- view
だれでも歓迎! 編集

構文ファイル

オリジナルのC++構文ファイルにLinuxカーネルのシンボルを追加したものです。
デバイスドライバ開発用を想定しています。

TODO:

  • マクロシンボル(大文字)とカーネル関数(小文字)は分けた方がいいかもしれません。
  • カーネルの設定変数(CONFIG_*)を含んでいませんが追加した方が使い勝手がよくなるかもしれません。
; EmEditor Syntax File
;
; To import this file to an existing configuration, select Configuration
; under the Tool menu, select Define Configurations, select a configuration
; you want to import to, press [Properties], select the Highlight page, and
; press [Import].
;
; Submit your customized file to submit@emurasoft.com 
; to be listed in www.emurasoft.com user files pages.
;
#Highlight=on
#BeginTag=
#EndTag=
#CommentBegin=/*
#CommentEnd=*/
#LineComment1=//
#LineComment2=
#SingleQuote=on
#DoubleQuote=on
#ContinueQuote=off
#Escape=\
#ScriptBegin=
#ScriptEnd=
#SpecialSyntax=off
#HighlightBraces=on

#Keyword color=4,word=on,rightall=off,case=on,insidetag=off,regexp=off
asm
auto
bad_cast
bad_typeid
bool
break
case
catch
char
class
const
const_cast
continue
default
delete
do
double
dynamic_cast
else
enum
except
explicit
extern
false
finally
float
for
friend
goto
if
inline
int
long
mutable
namespace
new
operator
private
protected
public
register
reinterpret_cast
return
short
signed
sizeof
static
static_cast
struct
switch
template
this
throw
true
try
type_info
typedef
typeid
typename
union
unsigned
using
virtual
void
volatile
while
xalloc

#Keyword color=2,word=off,rightall=on,case=off,insidetag=off,regexp=off
^#

#Keyword color=3,word=on,rightall=off,case=on,insidetag=off,regexp=off
__KERNEL__
__NO_VERSION__
__SMP__
_IOC_DIR
_IOC_NR
_IOC_READ
_IOC_SIZE
_IOC_TYPE
C_CRTSCTS
C_CRTSCTS
CAP_DAC_OVERRIDE
CAP_NET_ADMIN
CAP_SYS_ADMIN
CAP_SYS_MODULE
CAP_SYS_RAWIO
CAP_SYS_TTY_CONFIG
CBAUD
CIRC_CNT
CIRC_SPACE
CIRC_SPACE_TO_END
CS5
CS6
CS7
CSIZE
CSTOPB
DEVFS_FL_AUTO_DEVNUM
DEVFS_FL_AUTO_OWNER
DEVFS_FL_DEFAULT
DEVFS_FL_HIDE
DEVFS_FL_NO_PERSISTENCE
DEVFS_FL_NONE
DEVFS_FL_SHOW_UNREG
EBUSY
EFAULT
EINVAL
ENODEV
ENOMEM
ENOTTY
EPERM
ERESTARTSYS
EXPORT_NO_SYMBOLS
EXPORT_SYMBOL
EXPORT_SYMBOL_NOVERS
EXPORT_SYMTAB
GFP_KERNEL
I_IXOFF
KERN_WARNING
LINUX_VERSION_CODE
MAJOR
MINER
MKDEV
MOD_DEC_USE_COUNT
MOD_IN_USE
MOD_INC_USE_COUNT
MODULE
MODULE_AUTHOR
MODULE_DESCRIPTION
MODULE_PARM
MODULE_PARM_DESC
MODULE_SUPPORTED_DEVICE
O_ACCMODE
O_WRANDLY
O_WRONLY
PARENB
PARODD
POLLERR
POLLHUP
POLLIN
POLLMSG
POLLNVAL
POLLOUT
POLLPRI
POLLRDBAND
POLLRDNORM
POLLWRBAND
POLLWRNORM
S_IFCHR
S_IFREG
S_IRUGO
S_IWUGO
SERIAL_MAGIC
SET_MODULE_OWNER
THIS_MODULE
TTY_FRAME
TTY_PARITY
UTS_RELEASE
VERIFY_READ
VERIFY_WRITE
__get_user
__put_user
access_ok
async_struct
capable
check_mem_region
check_region
cleanup_module
copy_from_user
copy_to_user
current->comm
current->pid
devfs_get_flags
devfs_handle_t
devfs_mk_dir
devfs_register
devfs_set_flags
devfs_unregister
disable_irq
down_interruptible
enable_irq
file
file_operations
get_user
init_module
k_dev_t_to_nr
kdev_t
kdevname
kfree
kmalloc
loff_t
module_exit
module_init
poll_wait
printk
put_user
queue_task
register_chrdev
register_symtab
release_mem_region
release_region
request_irq
request_mem_region
request_region
restore_flags
save_flags
sema_init
semaphore
ssize_t
task_struct
termios
to_kdev_t
tty_struct
up
verify_area
ウィキ募集バナー