1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=utf-8"> 6<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 9<title>OSPhysicalToUncached</title> 10</head> 11 12<body> 13 14<h1>OSPhysicalToUncached</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/os.h> 19 20void* OSPhysicalToUncached(u32 addr); 21</pre></dd></dl> 22 23<h2>Arguments</h2> 24<TABLE class="arguments" border="1" > 25 <tr> 26<TH>addr</TH> 27<TD>Physical address.</TD> 28 </tr> 29</TABLE> 30 31<h2>Return Values</h2> 32<p>Uncached address.</p> 33 34<H2>Description</H2> 35<P>Converts <SPAN class="argument">addr</SPAN> from a physical address into a non-cached address.</P> 36<P> 37<B>Note:</B> Uncached access is only supported for access in units of 4, 8, and 32 bytes. If you attempt to access in byte units other than these, a PI <CODE>Unsupported transfer size</CODE> error occurs. 38</P> 39<h2>See Also</h2> 40<P class="reference"> 41<a href="../toc.html#Address Conversion" target="contents">Address Conversion Functions</a><BR> <a href="OSUncachedToPhysical.html">OSUncachedToPhysical</a> 42</p> 43 44<H2>Revision History</H2> 45<P> 462009/07/13 Added a note about uncached access.<br>2006/03/01 Initial version.<br> 47</P> 48 49<hr><p>CONFIDENTIAL</p></body> 50</html>