mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-10 09:44:13 +00:00
dart: limit vm-base to 36-bit io address space
Required for t602x dcp*. Signed-off-by: Janne Grunau <j@jannau.net>
This commit is contained in:
parent
b9975760d7
commit
4cb3dceb0a
1 changed files with 2 additions and 0 deletions
|
@ -324,6 +324,8 @@ dart_dev_t *dart_init_adt(const char *path, int instance, int device, bool keep_
|
|||
}
|
||||
if (ADT_GETPROP(adt, node, "vm-base", &dart->vm_base) < 0)
|
||||
dart->vm_base = 0;
|
||||
else
|
||||
dart->vm_base &= (1LLU << 36) - 1;
|
||||
|
||||
return dart;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue