allow 39-bit addr for GPU

This commit is contained in:
Marcel Lütke Dreimann
2023-09-18 15:40:52 +02:00
parent eb85a021de
commit 5dd9ce0e63

View File

@@ -53,7 +53,7 @@ class Genode::Pd_root : public Genode::Root_component<Genode::Pd_session_compone
*/
addr_t const start = 0x1000;
addr_t const end = (sizeof(long) == 4) /* 32bit arch ? */
? 0xbfffffffUL : 0xffffffffUL;
? 0xbfffffffUL : 0xFFffffffffUL; // 0xffffffffUL; // mld: THIS IS IT! => allow 39 bit address for iGPU
return Ram_dataspace_factory::Phys_range { start, end };
}