?? msgs.h
字號:
/* msgs.h : FritzOS Messages Header File For The FritzOS C++ Kernel. Copyright (C) 2002 Tom Fritz * This program is a part of the FritzOS kernel, and may be freely * copied under the terms of the GNU General Public License (GPL), * version 2, or at your option any later version. For more info, look at the COPYING file.*/// Define MSGS_H to let other files know if or not this file was included:#ifndef MSGS_H#define MSGS_H// voids:// This is for printing a message stating the GDT is being loaded. This is called in the assembly module // "kernelasm.asm"extern "C" void LoadingGDTMsg(); // NOTE: I use the extern "C" so that the ASM module can call this... // even though LoadingGDTMsg is defined here.////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Example: Should not be called more than once ( the assembly language module "kernelasm.asm" uses this )void LoadingGDTMsg(){ // Set the color to BLUE_BLACK setcolor( BLUE_BLACK ); // Print the message: printf( "Loading Global Descriptor Table:\n" );}#endif// End Of msgs.h
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -