📄 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 + -