⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 os.tcl

📁 一个用在mips体系结构中的操作系统
💻 TCL
字号:
## Copyright (C) 1998 by the Board of Trustees#    of Leland Stanford Junior University.# Copyright (C) 1998 Digital Equipment Corporation## This file is part of the SimOS distribution.# See LICENSE file for terms of the license.### Copyright (C) 1996-1998 by the Board of Trustees#    of Leland Stanford Junior University.# # This file is part of the SimOS distribution. # See LICENSE file for terms of the license. ####### This file is responsible for raising OS level annotations and tracking### the current process.############## init this module####FileSourced ntalpha/os.tclannotation type osEvent enum {    startUser   endUser    startKernel endKernel    startPal    endPal    startIdle   endIdle    startSync   endSync    switchIn    switchOut    procstart   procexit   procexec  procwait}# must agree with cpus-alpha/alpha-shared/ev5.cannotation type exc enum {    reset mchk arith interrupt ndtb_miss pdtb_miss unalign dtb_fault itb_miss itb_acv opdec fen pal}proc inUserMode {} {    global IPR    set IPR_PS 0x10f    set PS $IPR(0x10f)    return [expr ($PS & 24) != 0]}set PROCESS($CPU) noneset PID($CPU) none######## the annotations ######## process and idle tracking##

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -