#include <ntdef.h>
#include <reactos/rossym.h>
#include "rossympriv.h"
#include <debug.h>
Go to the source code of this file.
◆ NDEBUG
◆ FindEntry()
Definition at line 46 of file find.c.
47{
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
67
68 if (RelativeAddress < Base->
Address)
69 {
71 }
72
74 for (Lim = RosSymInfo->SymbolsCount; Lim != 0; Lim >>= 1)
75 {
76 Mid =
Base + (Lim >> 1);
77 if (RelativeAddress == Mid->
Address)
78 {
79 return Mid;
80 }
81 if (Mid->
Address < RelativeAddress)
82 {
85 Lim--;
86 }
87 }
88
90}
Referenced by RosSymGetAddressInformation().
◆ RosSymGetAddressInformation()
Definition at line 94 of file find.c.
99{
101
102 DPRINT(
"RelativeAddress = 0x%08x\n", RelativeAddress);
103
106 {
107 DPRINT1(
"Uninitialized RosSymInfo\n");
109 }
110
112
113
114 RosSymEntry =
FindEntry(RosSymInfo, RelativeAddress);
115
116 if (
NULL == RosSymEntry)
117 {
118 DPRINT(
"None of the requested information was found!\n");
120 }
121
123 {
125 }
127 {
130 {
132 }
134 }
136 {
139 {
141 }
143 }
144
146}
char * strcpy(char *DstString, const char *SrcString)
ACPI_BUFFER *RetBuffer ACPI_BUFFER *RetBuffer char ACPI_WALK_RESOURCE_CALLBACK void *Context ACPI_BUFFER *RetBuffer UINT16 ACPI_RESOURCE **ResourcePtr ACPI_GENERIC_ADDRESS *Reg UINT32 *ReturnValue UINT8 UINT8 *Slp_TypB ACPI_PHYSICAL_ADDRESS PhysicalAddress64 UINT32 UINT32 *TimeElapsed UINT32 LineNumber
ACPI_BUFFER *RetBuffer ACPI_BUFFER *RetBuffer char ACPI_WALK_RESOURCE_CALLBACK void *Context ACPI_BUFFER *RetBuffer UINT16 ACPI_RESOURCE **ResourcePtr ACPI_GENERIC_ADDRESS *Reg UINT32 *ReturnValue UINT8 UINT8 *Slp_TypB ACPI_PHYSICAL_ADDRESS PhysicalAddress64 UINT32 UINT32 *TimeElapsed UINT32 ACPI_STATUS const char UINT32 ACPI_STATUS const char UINT32 const char * FunctionName
static PROSSYM_ENTRY FindEntry(IN PROSSYM_INFO RosSymInfo, IN ULONG_PTR RelativeAddress)
Referenced by KdbSymPrintAddress().