panic.cc.svn-base
来自「德国Erlangen大学教学操作系统源码。」· SVN-BASE 代码 · 共 51 行
SVN-BASE
51 行
/*****************************************************************************//* Betriebssysteme I, Uni-Magdeburg, SS 98, OO-Stubs *//*---------------------------------------------------------------------------*//* *//* P A N I C *//* *//*---------------------------------------------------------------------------*//* Standard Unterbrechungsbehandlung. *//*****************************************************************************/#include "device/panic.h"#include "device/cgastr.h"#include "guard/gate.h"#include "machine/cpu.h"extern CGA_Stream kout;extern CPU cpu;Panic::Panic(){}Panic::Panic(Panic &panic){}Panic::~Panic(){} /*********************void Panic::trigger(){ kout << "panic.trigger()" << endl; kout.flush(); cpu.halt();}*********************/bool Panic::prologue(){ kout << "panic.prologue()" << endl; kout.flush(); cpu.halt(); return false;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?