msgs.h

来自「FritzOS - 简单的C++开发OS的实例// 英文」· C头文件 代码 · 共 38 行

H
38
字号
/* 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 + =
减小字号Ctrl + -
显示快捷键?