<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Courier 10 Pitch">Hi,<br>
For the purpose of NUMA based memory management, I would like to
have Genode allow me to allocate physical memory at a specified
address, i.e., support something like...<br>
<br>
</font><code id="content"><code id="namespace"><code
id="namespaceblock"><code id="struct"><code id="classblock"><code
id="declseq"><code id="funcdecl"><code id="modifier"><code
id="keyvirtual">virtual</code> </code><code
id="retval">Ram_dataspace_capability </code><code
id="funcsignature">alloc<code id="argparenblk"><code
id="openparen">_at(</code><code id="argdecl"><code
id="argtype">size_t </code><code id="argname">size</code></code><code
id="comma">, addr_t start_address, </code><code
id="argdecl"><code id="argtype">bool </code><code
id="argname">cached</code></code> <code
id="assign">=</code> true<code id="closeparen">)</code></code></code> <code
id="virtassign"><code id="assign">=</code> 0</code>;<br>
<br>
I figure I can temporarily hack this by extending
Ram_session_component::alloc and using
Range_allocator::alloc_addr. <br>
<br>
Is there any danger here?<br>
<br>
Can Genode be persuaded to extend the main line to
support this? An address range parameter instead of
start address would be even better, i.e., try to
allocate me some RAM somewhere between physical
address X and Y.<br>
<br>
Best,<br>
Daniel<br>
<br>
</code></code></code></code></code></code></code>
</body>
</html>