Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151332144
D6204.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
632 B
Referenced Files
None
Subscribers
None
D6204.diff
View Options
Index: head/sys/arm/qemu/virt_machdep.c
===================================================================
--- head/sys/arm/qemu/virt_machdep.c
+++ head/sys/arm/qemu/virt_machdep.c
@@ -97,3 +97,20 @@
};
FDT_PLATFORM_DEF(virt, "virt", 0, "linux,dummy-virt", 1);
+
+static int
+gem5_devmap_init(platform_t plat)
+{
+
+ devmap_add_entry(0x1c090000, 0x100000); /* Uart */
+ return (0);
+}
+
+static platform_method_t gem5_methods[] = {
+ PLATFORMMETHOD(platform_devmap_init, gem5_devmap_init),
+ PLATFORMMETHOD(platform_lastaddr, virt_lastaddr),
+
+ PLATFORMMETHOD_END,
+};
+
+FDT_PLATFORM_DEF(gem5, "gem5", 0, "arm,vexpress", 1);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 8, 4:09 PM (21 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31106937
Default Alt Text
D6204.diff (632 B)
Attached To
Mode
D6204: Add gem5 UART support to arm/qemu/virt_machdep.c
Attached
Detach File
Event Timeline
Log In to Comment