blob: d9507733a78ea0b4f06711eccda5d637db5eeea1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
/*++
Module Name:
include/pal/debug.h
Abstract:
Debug API utility functions
--*/
#ifndef _PAL_DEBUG_H_
#define _PAL_DEBUG_H_
#ifdef __cplusplus
extern "C"
{
#endif // __cplusplus
/*++
Function :
DBG_DebugBreak
Processor-dependent implementation of DebugBreak
(no parameters, no return value)
--*/
VOID DBG_DebugBreak();
/*++
Function :
DBG_FlushInstructionCache
Processor-dependent implementation of FlushInstructionCache
Parameters :
LPCVOID lpBaseAddress: start of region to flush
SIZE_T dwSize : length of region to flush
Return value :
TRUE on success, FALSE on failure
--*/
BOOL
DBG_FlushInstructionCache(
IN LPCVOID lpBaseAddress,
IN SIZE_T dwSize);
#if defined(__APPLE__)
/*++
Function:
DBG_CheckStackAlignment
The Apple ABI requires 16-byte alignment on the stack pointer.
This function traps/interrupts otherwise.
--*/
VOID
DBG_CheckStackAlignment();
#endif
#ifdef __cplusplus
}
#endif // __cplusplus
#endif //PAL_DEBUG_H_
|