資源簡介
bochs虛擬機,可以調試x86匯編代碼,它完整的模擬了一臺x86計算機,可以調試自己的操作系統................................................................................................
代碼片段和文件信息
/////////////////////////////////////////////////////////////////////////
//?$Id:?ltdl.cv?1.5?2009/02/08?09:05:51?vruppert?Exp?$
//
//?NOTE:?The?ltdl?library?comes?from?the?Libtool?package.??Bochs?uses
//?ltdl?and?libtool?to?build?and?load?plugins.??The?libtool
//?documentation?describes?how?to?copy?ltdl.c?and?ltdl.h?into?your
//?distribution?so?it?is?clearly?legal?to?do?so.
/////////////////////////////////////////////////////////////////////////
/*?ltdl.c?--?system?independent?dlopen?wrapper
???Copyright?(C)?1998?1999?2000?Free?Software?Foundation?Inc.
???Originally?by?Thomas?Tanner?
???This?file?is?part?of?GNU?Libtool.
This?library?is?free?software;?you?can?redistribute?it?and/or
modify?it?under?the?terms?of?the?GNU?Lesser?General?Public
License?as?published?by?the?Free?Software?Foundation;?either
version?2?of?the?License?or?(at?your?option)?any?later?version.
As?a?special?exception?to?the?GNU?Lesser?General?Public?License
if?you?distribute?this?file?as?part?of?a?program?or?library?that
is?built?using?GNU?libtool?you?may?include?it?under?the?same
distribution?terms?that?you?use?for?the?rest?of?that?program.
This?library?is?distributed?in?the?hope?that?it?will?be?useful
but?WITHOUT?ANY?WARRANTY;?without?even?the?implied?warranty?of
MERCHANTABILITY?or?FITNESS?FOR?A?PARTICULAR?PURPOSE.??See?the?GNU
Lesser?General?Public?License?for?more?details.
You?should?have?received?a?copy?of?the?GNU?Lesser?General?Public
License?along?with?this?library;?if?not?write?to?the?Free?Software
Foundation?Inc.?51?Franklin?St?Fifth?Floor?Boston?MA??02110-1301?USA
*/
//?ltdlconf.h?added?for?Bochs
#include?“ltdlconf.h“
#if?HAVE_CONFIG_H
#??include?
#endif
#if?HAVE_UNISTD_H
#??include?
#endif
#if?HAVE_STDIO_H
#??include?
#endif
#if?HAVE_STDLIB_H
#??include?
#endif
#if?HAVE_STRING_H
#??include?
#else
#??if?HAVE_STRINGS_H
#????include?
#??endif
#endif
#if?HAVE_CTYPE_H
#??include?
#endif
#if?HAVE_MALLOC_H
#??include?
#endif
#if?HAVE_MEMORY_H
#??include?
#endif
#if?HAVE_ERRNO_H
#??include?
#endif
#if?HAVE_DIRENT_H
#??include?
#??define?LT_D_NAMLEN(dirent)?(strlen((dirent)->d_name))
#else
#??define?dirent?direct
#??define?LT_D_NAMLEN(dirent)?((dirent)->d_namlen)
#??if?HAVE_SYS_NDIR_H
#????include?
#??endif
#??if?HAVE_SYS_DIR_H
#????include?
#??endif
#??if?HAVE_NDIR_H
#????include?
#??endif
#endif
#if?HAVE_ARGZ_H
#??include?
#endif
#if?HAVE_ASSERT_H
#??include?
#else
#??ifdef?__GNUC__
#????warning?using?my?own?assert
#??endif
#??define?assert(cond)???while?(!(cond))?{?fprintf?(stderr?“Assert?failed?at?%s:%d:?‘%s‘\n“?__FILE__?__LINE__?#cond);?abort();?}
#endif
#define?LTDEBUG_PRINTF(x)?/*?debug?output?disabled?*/
//#define?LTDEBUG_PRINTF(x)?do{?printf(“LT_DEBUG:?“);?printf?x;?}?while?(0)
#include?“ltdl.h“
/*?---?WINDOWS?SUPPORT?---?*/
#ifdef?DLL_EXPORT
#??defi
- 上一篇:高程點生成TIN
- 下一篇:IEEE9-IEEE300節點數據(全)
評論
共有 條評論