\hypertarget{OsdMemory_8c}{}\doxysection{dev/acpica/\+Osd/\+Osd\+Memory.c File Reference}
\label{OsdMemory_8c}\index{dev/acpica/Osd/OsdMemory.c@{dev/acpica/Osd/OsdMemory.c}}
{\ttfamily \#include $<$sys/cdefs.\+h$>$}\newline
{\ttfamily \#include $<$contrib/dev/acpica/include/acpi.\+h$>$}\newline
{\ttfamily \#include $<$sys/kernel.\+h$>$}\newline
{\ttfamily \#include $<$sys/malloc.\+h$>$}\newline
{\ttfamily \#include $<$vm/vm.\+h$>$}\newline
{\ttfamily \#include $<$vm/pmap.\+h$>$}\newline
Include dependency graph for Osd\+Memory.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d7/dd8/OsdMemory_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{OsdMemory_8c_a8c3ef283470a68cd30afe9b8a72cb60f}{\+\_\+\+\_\+\+FBSDID}} (\char`\"{}\$Free\+BSD\$\char`\"{})
\item 
static \mbox{\hyperlink{OsdMemory_8c_ac18230b4460aa10332479aa47a4618f2}{MALLOC\+\_\+\+DEFINE}} (M\+\_\+\+ACPICA, \char`\"{}acpica\char`\"{}, \char`\"{}ACPI CA memory pool\char`\"{})
\item 
void $\ast$ \mbox{\hyperlink{OsdMemory_8c_a612eac366def58161df3ed84674f4543}{Acpi\+Os\+Allocate}} (ACPI\+\_\+\+SIZE Size)
\item 
void \mbox{\hyperlink{OsdMemory_8c_aa3baac772ec8f5df4a49d97e39bfb307}{Acpi\+Os\+Free}} (void $\ast$Memory)
\item 
void $\ast$ \mbox{\hyperlink{OsdMemory_8c_ad22060c493833e90cf45a57396764648}{Acpi\+Os\+Map\+Memory}} (ACPI\+\_\+\+PHYSICAL\+\_\+\+ADDRESS Physical\+Address, ACPI\+\_\+\+SIZE Length)
\item 
void \mbox{\hyperlink{OsdMemory_8c_a38c378659a61ff1b39c4b376605d37e6}{Acpi\+Os\+Unmap\+Memory}} (void $\ast$Logical\+Address, ACPI\+\_\+\+SIZE Length)
\item 
ACPI\+\_\+\+STATUS \mbox{\hyperlink{OsdMemory_8c_a080300a9ff3367aa26f300c72d7084a3}{Acpi\+Os\+Get\+Physical\+Address}} (void $\ast$Logical\+Address, ACPI\+\_\+\+PHYSICAL\+\_\+\+ADDRESS $\ast$Physical\+Address)
\item 
BOOLEAN \mbox{\hyperlink{OsdMemory_8c_af10b2b8833b16f7a38bfa163b1ea2e8e}{Acpi\+Os\+Readable}} (void $\ast$Pointer, ACPI\+\_\+\+SIZE Length)
\item 
BOOLEAN \mbox{\hyperlink{OsdMemory_8c_afb1984598a8b6762d852e6a261bcd8b5}{Acpi\+Os\+Writable}} (void $\ast$Pointer, ACPI\+\_\+\+SIZE Length)
\item 
ACPI\+\_\+\+STATUS \mbox{\hyperlink{OsdMemory_8c_a43bb4cd865cfbe503bad2ee28854e215}{Acpi\+Os\+Read\+Memory}} (ACPI\+\_\+\+PHYSICAL\+\_\+\+ADDRESS Address, UINT64 $\ast$Value, UINT32 Width)
\item 
ACPI\+\_\+\+STATUS \mbox{\hyperlink{OsdMemory_8c_aabe95b60e5b2215f8e6c68865f2c3c2f}{Acpi\+Os\+Write\+Memory}} (ACPI\+\_\+\+PHYSICAL\+\_\+\+ADDRESS Address, UINT64 Value, UINT32 Width)
\end{DoxyCompactItemize}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{OsdMemory_8c_a8c3ef283470a68cd30afe9b8a72cb60f}\label{OsdMemory_8c_a8c3ef283470a68cd30afe9b8a72cb60f}} 
\index{OsdMemory.c@{OsdMemory.c}!\_\_FBSDID@{\_\_FBSDID}}
\index{\_\_FBSDID@{\_\_FBSDID}!OsdMemory.c@{OsdMemory.c}}
\doxysubsubsection{\texorpdfstring{\_\_FBSDID()}{\_\_FBSDID()}}
{\footnotesize\ttfamily \+\_\+\+\_\+\+FBSDID (\begin{DoxyParamCaption}\item[{\char`\"{}\$Free\+BSD\$\char`\"{}}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{OsdMemory_8c_a612eac366def58161df3ed84674f4543}\label{OsdMemory_8c_a612eac366def58161df3ed84674f4543}} 
\index{OsdMemory.c@{OsdMemory.c}!AcpiOsAllocate@{AcpiOsAllocate}}
\index{AcpiOsAllocate@{AcpiOsAllocate}!OsdMemory.c@{OsdMemory.c}}
\doxysubsubsection{\texorpdfstring{AcpiOsAllocate()}{AcpiOsAllocate()}}
{\footnotesize\ttfamily void $\ast$ Acpi\+Os\+Allocate (\begin{DoxyParamCaption}\item[{ACPI\+\_\+\+SIZE}]{Size }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{OsdMemory_8c_source_l00046}{46}} of file \mbox{\hyperlink{OsdMemory_8c_source}{Osd\+Memory.\+c}}.



Referenced by \mbox{\hyperlink{acpi_8c_source_l02837}{acpi\+\_\+\+Append\+Buffer\+Resource()}}, \mbox{\hyperlink{acpi_8c_source_l02706}{acpi\+\_\+\+Get\+Integer()}}, \mbox{\hyperlink{acpi__resource_8c_source_l00581}{acpi\+\_\+res\+\_\+set\+\_\+init()}}, and \mbox{\hyperlink{acpi__video_8c_source_l01091}{vo\+\_\+get\+\_\+brightness\+\_\+levels()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d8/da6/OsdMemory_8c_a612eac366def58161df3ed84674f4543_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{OsdMemory_8c_aa3baac772ec8f5df4a49d97e39bfb307}\label{OsdMemory_8c_aa3baac772ec8f5df4a49d97e39bfb307}} 
\index{OsdMemory.c@{OsdMemory.c}!AcpiOsFree@{AcpiOsFree}}
\index{AcpiOsFree@{AcpiOsFree}!OsdMemory.c@{OsdMemory.c}}
\doxysubsubsection{\texorpdfstring{AcpiOsFree()}{AcpiOsFree()}}
{\footnotesize\ttfamily void Acpi\+Os\+Free (\begin{DoxyParamCaption}\item[{void $\ast$}]{Memory }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{OsdMemory_8c_source_l00052}{52}} of file \mbox{\hyperlink{OsdMemory_8c_source}{Osd\+Memory.\+c}}.



Referenced by \mbox{\hyperlink{acpi_8c_source_l02837}{acpi\+\_\+\+Append\+Buffer\+Resource()}}, \mbox{\hyperlink{acpi__cmbat_8c_source_l00325}{acpi\+\_\+cmbat\+\_\+get\+\_\+bix()}}, \mbox{\hyperlink{acpi__cmbat_8c_source_l00250}{acpi\+\_\+cmbat\+\_\+get\+\_\+bst()}}, \mbox{\hyperlink{acpi__cpu_8c_source_l00307}{acpi\+\_\+cpu\+\_\+attach()}}, \mbox{\hyperlink{acpi__cpu_8c_source_l00770}{acpi\+\_\+cpu\+\_\+cx\+\_\+cst()}}, \mbox{\hyperlink{acpi__cpu_8c_source_l00229}{acpi\+\_\+cpu\+\_\+probe()}}, \mbox{\hyperlink{acpi__dock_8c_source_l00156}{acpi\+\_\+dock\+\_\+is\+\_\+ejd\+\_\+device()}}, \mbox{\hyperlink{acpi_8c_source_l02905}{acpi\+\_\+\+DSMQuery()}}, \mbox{\hyperlink{acpi__ec_8c_source_l00338}{acpi\+\_\+ec\+\_\+probe()}}, \mbox{\hyperlink{acpi_8c_source_l03008}{acpi\+\_\+\+Evaluate\+OSC()}}, \mbox{\hyperlink{acpi_8c_source_l02706}{acpi\+\_\+\+Get\+Integer()}}, \mbox{\hyperlink{acpi_8c_source_l02585}{acpi\+\_\+has\+\_\+hid()}}, \mbox{\hyperlink{acpi_8c_source_l01774}{acpi\+\_\+isa\+\_\+get\+\_\+compatid()}}, \mbox{\hyperlink{acpi_8c_source_l01752}{acpi\+\_\+isa\+\_\+get\+\_\+logicalid()}}, \mbox{\hyperlink{acpi_8c_source_l02612}{acpi\+\_\+\+Match\+Hid()}}, \mbox{\hyperlink{acpi_8c_source_l03722}{acpi\+\_\+parse\+\_\+prw()}}, \mbox{\hyperlink{acpi__pci__link_8c_source_l00857}{acpi\+\_\+pci\+\_\+link\+\_\+route\+\_\+irqs()}}, \mbox{\hyperlink{acpi__pci__link_8c_source_l00802}{acpi\+\_\+pci\+\_\+link\+\_\+srs\+\_\+from\+\_\+links()}}, \mbox{\hyperlink{acpi__pcib__acpi_8c_source_l00167}{acpi\+\_\+pcib\+\_\+acpi\+\_\+probe()}}, \mbox{\hyperlink{acpi__pcib__pci_8c_source_l00132}{acpi\+\_\+pcib\+\_\+pci\+\_\+detach()}}, \mbox{\hyperlink{acpi__perf_8c_source_l00243}{acpi\+\_\+perf\+\_\+evaluate()}}, \mbox{\hyperlink{acpi__perf_8c_source_l00172}{acpi\+\_\+perf\+\_\+probe()}}, \mbox{\hyperlink{acpi_8c_source_l00904}{acpi\+\_\+pnpinfo()}}, \mbox{\hyperlink{acpi_8c_source_l02310}{acpi\+\_\+probe\+\_\+child()}}, \mbox{\hyperlink{acpi__powerres_8c_source_l00297}{acpi\+\_\+pwr\+\_\+switch\+\_\+consumer()}}, \mbox{\hyperlink{acpi__resource_8c_source_l00593}{acpi\+\_\+res\+\_\+set\+\_\+done()}}, \mbox{\hyperlink{acpi_8c_source_l01432}{acpi\+\_\+set\+\_\+resource()}}, \mbox{\hyperlink{acpi__throttle_8c_source_l00189}{acpi\+\_\+throttle\+\_\+attach()}}, \mbox{\hyperlink{acpi__throttle_8c_source_l00131}{acpi\+\_\+throttle\+\_\+identify()}}, \mbox{\hyperlink{acpi__thermal_8c_source_l00381}{acpi\+\_\+tz\+\_\+establish()}}, \mbox{\hyperlink{acpi_8c_source_l04239}{acpi\+\_\+\+User\+Notify()}}, \mbox{\hyperlink{acpi__video_8c_source_l00703}{acpi\+\_\+video\+\_\+vo\+\_\+bind()}}, \mbox{\hyperlink{acpi__video_8c_source_l00733}{acpi\+\_\+video\+\_\+vo\+\_\+destroy()}}, \mbox{\hyperlink{acpi__video_8c_source_l01045}{vid\+\_\+enum\+\_\+outputs()}}, and \mbox{\hyperlink{acpi__video_8c_source_l01091}{vo\+\_\+get\+\_\+brightness\+\_\+levels()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{d8/da6/OsdMemory_8c_aa3baac772ec8f5df4a49d97e39bfb307_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{OsdMemory_8c_a080300a9ff3367aa26f300c72d7084a3}\label{OsdMemory_8c_a080300a9ff3367aa26f300c72d7084a3}} 
\index{OsdMemory.c@{OsdMemory.c}!AcpiOsGetPhysicalAddress@{AcpiOsGetPhysicalAddress}}
\index{AcpiOsGetPhysicalAddress@{AcpiOsGetPhysicalAddress}!OsdMemory.c@{OsdMemory.c}}
\doxysubsubsection{\texorpdfstring{AcpiOsGetPhysicalAddress()}{AcpiOsGetPhysicalAddress()}}
{\footnotesize\ttfamily ACPI\+\_\+\+STATUS Acpi\+Os\+Get\+Physical\+Address (\begin{DoxyParamCaption}\item[{void $\ast$}]{Logical\+Address,  }\item[{ACPI\+\_\+\+PHYSICAL\+\_\+\+ADDRESS $\ast$}]{Physical\+Address }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{OsdMemory_8c_source_l00070}{70}} of file \mbox{\hyperlink{OsdMemory_8c_source}{Osd\+Memory.\+c}}.

\mbox{\Hypertarget{OsdMemory_8c_ad22060c493833e90cf45a57396764648}\label{OsdMemory_8c_ad22060c493833e90cf45a57396764648}} 
\index{OsdMemory.c@{OsdMemory.c}!AcpiOsMapMemory@{AcpiOsMapMemory}}
\index{AcpiOsMapMemory@{AcpiOsMapMemory}!OsdMemory.c@{OsdMemory.c}}
\doxysubsubsection{\texorpdfstring{AcpiOsMapMemory()}{AcpiOsMapMemory()}}
{\footnotesize\ttfamily void $\ast$ Acpi\+Os\+Map\+Memory (\begin{DoxyParamCaption}\item[{ACPI\+\_\+\+PHYSICAL\+\_\+\+ADDRESS}]{Physical\+Address,  }\item[{ACPI\+\_\+\+SIZE}]{Length }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{OsdMemory_8c_source_l00058}{58}} of file \mbox{\hyperlink{OsdMemory_8c_source}{Osd\+Memory.\+c}}.



Referenced by \mbox{\hyperlink{acpi_8c_source_l00400}{acpi\+\_\+identify()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d8/da6/OsdMemory_8c_ad22060c493833e90cf45a57396764648_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{OsdMemory_8c_af10b2b8833b16f7a38bfa163b1ea2e8e}\label{OsdMemory_8c_af10b2b8833b16f7a38bfa163b1ea2e8e}} 
\index{OsdMemory.c@{OsdMemory.c}!AcpiOsReadable@{AcpiOsReadable}}
\index{AcpiOsReadable@{AcpiOsReadable}!OsdMemory.c@{OsdMemory.c}}
\doxysubsubsection{\texorpdfstring{AcpiOsReadable()}{AcpiOsReadable()}}
{\footnotesize\ttfamily BOOLEAN Acpi\+Os\+Readable (\begin{DoxyParamCaption}\item[{void $\ast$}]{Pointer,  }\item[{ACPI\+\_\+\+SIZE}]{Length }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{OsdMemory_8c_source_l00078}{78}} of file \mbox{\hyperlink{OsdMemory_8c_source}{Osd\+Memory.\+c}}.

\mbox{\Hypertarget{OsdMemory_8c_a43bb4cd865cfbe503bad2ee28854e215}\label{OsdMemory_8c_a43bb4cd865cfbe503bad2ee28854e215}} 
\index{OsdMemory.c@{OsdMemory.c}!AcpiOsReadMemory@{AcpiOsReadMemory}}
\index{AcpiOsReadMemory@{AcpiOsReadMemory}!OsdMemory.c@{OsdMemory.c}}
\doxysubsubsection{\texorpdfstring{AcpiOsReadMemory()}{AcpiOsReadMemory()}}
{\footnotesize\ttfamily ACPI\+\_\+\+STATUS Acpi\+Os\+Read\+Memory (\begin{DoxyParamCaption}\item[{ACPI\+\_\+\+PHYSICAL\+\_\+\+ADDRESS}]{Address,  }\item[{UINT64 $\ast$}]{Value,  }\item[{UINT32}]{Width }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{OsdMemory_8c_source_l00090}{90}} of file \mbox{\hyperlink{OsdMemory_8c_source}{Osd\+Memory.\+c}}.

\mbox{\Hypertarget{OsdMemory_8c_a38c378659a61ff1b39c4b376605d37e6}\label{OsdMemory_8c_a38c378659a61ff1b39c4b376605d37e6}} 
\index{OsdMemory.c@{OsdMemory.c}!AcpiOsUnmapMemory@{AcpiOsUnmapMemory}}
\index{AcpiOsUnmapMemory@{AcpiOsUnmapMemory}!OsdMemory.c@{OsdMemory.c}}
\doxysubsubsection{\texorpdfstring{AcpiOsUnmapMemory()}{AcpiOsUnmapMemory()}}
{\footnotesize\ttfamily void Acpi\+Os\+Unmap\+Memory (\begin{DoxyParamCaption}\item[{void $\ast$}]{Logical\+Address,  }\item[{ACPI\+\_\+\+SIZE}]{Length }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{OsdMemory_8c_source_l00064}{64}} of file \mbox{\hyperlink{OsdMemory_8c_source}{Osd\+Memory.\+c}}.



Referenced by \mbox{\hyperlink{acpi_8c_source_l00400}{acpi\+\_\+identify()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d8/da6/OsdMemory_8c_a38c378659a61ff1b39c4b376605d37e6_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{OsdMemory_8c_afb1984598a8b6762d852e6a261bcd8b5}\label{OsdMemory_8c_afb1984598a8b6762d852e6a261bcd8b5}} 
\index{OsdMemory.c@{OsdMemory.c}!AcpiOsWritable@{AcpiOsWritable}}
\index{AcpiOsWritable@{AcpiOsWritable}!OsdMemory.c@{OsdMemory.c}}
\doxysubsubsection{\texorpdfstring{AcpiOsWritable()}{AcpiOsWritable()}}
{\footnotesize\ttfamily BOOLEAN Acpi\+Os\+Writable (\begin{DoxyParamCaption}\item[{void $\ast$}]{Pointer,  }\item[{ACPI\+\_\+\+SIZE}]{Length }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{OsdMemory_8c_source_l00084}{84}} of file \mbox{\hyperlink{OsdMemory_8c_source}{Osd\+Memory.\+c}}.

\mbox{\Hypertarget{OsdMemory_8c_aabe95b60e5b2215f8e6c68865f2c3c2f}\label{OsdMemory_8c_aabe95b60e5b2215f8e6c68865f2c3c2f}} 
\index{OsdMemory.c@{OsdMemory.c}!AcpiOsWriteMemory@{AcpiOsWriteMemory}}
\index{AcpiOsWriteMemory@{AcpiOsWriteMemory}!OsdMemory.c@{OsdMemory.c}}
\doxysubsubsection{\texorpdfstring{AcpiOsWriteMemory()}{AcpiOsWriteMemory()}}
{\footnotesize\ttfamily ACPI\+\_\+\+STATUS Acpi\+Os\+Write\+Memory (\begin{DoxyParamCaption}\item[{ACPI\+\_\+\+PHYSICAL\+\_\+\+ADDRESS}]{Address,  }\item[{UINT64}]{Value,  }\item[{UINT32}]{Width }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{OsdMemory_8c_source_l00119}{119}} of file \mbox{\hyperlink{OsdMemory_8c_source}{Osd\+Memory.\+c}}.

\mbox{\Hypertarget{OsdMemory_8c_ac18230b4460aa10332479aa47a4618f2}\label{OsdMemory_8c_ac18230b4460aa10332479aa47a4618f2}} 
\index{OsdMemory.c@{OsdMemory.c}!MALLOC\_DEFINE@{MALLOC\_DEFINE}}
\index{MALLOC\_DEFINE@{MALLOC\_DEFINE}!OsdMemory.c@{OsdMemory.c}}
\doxysubsubsection{\texorpdfstring{MALLOC\_DEFINE()}{MALLOC\_DEFINE()}}
{\footnotesize\ttfamily static MALLOC\+\_\+\+DEFINE (\begin{DoxyParamCaption}\item[{M\+\_\+\+ACPICA}]{,  }\item[{\char`\"{}acpica\char`\"{}}]{,  }\item[{\char`\"{}ACPI CA memory pool\char`\"{}}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}

