mirror of
https://github.com/reactos/reactos.git
synced 2024-09-09 04:10:19 +00:00
e1ef078741
The idea then would be to have the following behaviour (when specifying the following options in the kernel command line): /DEBUGPORT=COMi --> load KDCOM.DLL and use COMi port (i == 1,2,3,4) if possible. /DEBUGPORT=FOO --> load KDFOO.DLL (useful for KDUSB.DLL, KD1394.DLL, KDBAZIS.DLL for VirtualKD, etc...) /DEBUGPORT=ROSDBG:[COMi|SCREEN|FILE|GDB|...] --> load KDROSDBG.DLL which contains the ROS kernel debugger, and use COMi or SCREEN or... as output port. svn path=/branches/kd++/; revision=58883
41 lines
1.4 KiB
C
41 lines
1.4 KiB
C
/**
|
|
* This file has no copyright assigned and is placed in the Public Domain.
|
|
* This file is part of the w64 mingw-runtime package.
|
|
* No warranty is given; refer to the file DISCLAIMER within this package.
|
|
*/
|
|
#include <crtdefs.h>
|
|
|
|
#ifndef _EH_H_
|
|
#define _EH_H_
|
|
|
|
#ifndef RC_INVOKED
|
|
|
|
#pragma pack(push,_CRT_PACKING)
|
|
|
|
#ifndef __cplusplus
|
|
#error eh.h is only for C++!
|
|
#endif
|
|
|
|
typedef void (__cdecl *terminate_function)(void);
|
|
typedef void (__cdecl *terminate_handler)(void);
|
|
typedef void (__cdecl *unexpected_function)(void);
|
|
typedef void (__cdecl *unexpected_handler)(void);
|
|
|
|
struct _EXCEPTION_POINTERS;
|
|
typedef void (__cdecl *_se_translator_function)(unsigned int,struct _EXCEPTION_POINTERS *);
|
|
|
|
_CRTIMP __declspec(noreturn) void __cdecl terminate(void);
|
|
_CRTIMP void __cdecl unexpected(void);
|
|
_CRTIMP int __cdecl _is_exception_typeof(const type_info &_Type,struct _EXCEPTION_POINTERS *_ExceptionPtr);
|
|
_CRTIMP terminate_function __cdecl set_terminate(terminate_function _NewPtFunc);
|
|
extern "C" _CRTIMP terminate_function __cdecl _get_terminate(void);
|
|
_CRTIMP unexpected_function __cdecl set_unexpected(unexpected_function _NewPtFunc);
|
|
extern "C" _CRTIMP unexpected_function __cdecl _get_unexpected(void);
|
|
_CRTIMP _se_translator_function __cdecl _set_se_translator(_se_translator_function _NewPtFunc);
|
|
_CRTIMP bool __cdecl __uncaught_exception(void);
|
|
|
|
#pragma pack(pop)
|
|
#endif
|
|
#endif /* End _EH_H_ */
|
|
|