Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102059463
D43919.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
734 B
Referenced Files
None
Subscribers
None
D43919.diff
View Options
diff --git a/sys/riscv/riscv/machdep.c b/sys/riscv/riscv/machdep.c
--- a/sys/riscv/riscv/machdep.c
+++ b/sys/riscv/riscv/machdep.c
@@ -33,6 +33,7 @@
* SUCH DAMAGE.
*/
+#include "opt_ddb.h"
#include "opt_kstack_pages.h"
#include "opt_platform.h"
@@ -91,6 +92,10 @@
#include <machine/trap.h>
#include <machine/vmparam.h>
+#ifdef DDB
+#include <ddb/ddb.h>
+#endif
+
#ifdef FDT
#include <contrib/libfdt/libfdt.h>
#include <dev/fdt/fdt_common.h>
@@ -455,7 +460,7 @@
#ifdef DDB
ksym_start = MD_FETCH(kmdp, MODINFOMD_SSYM, uintptr_t);
ksym_end = MD_FETCH(kmdp, MODINFOMD_ESYM, uintptr_t);
- db_fetch_ksymtab(ksym_start, ksym_end);
+ db_fetch_ksymtab(ksym_start, ksym_end, 0);
#endif
#ifdef FDT
try_load_dtb(kmdp);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 8, 2:55 AM (21 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14526206
Default Alt Text
D43919.diff (734 B)
Attached To
Mode
D43919: riscv: Add missing includes for DDB
Attached
Detach File
Event Timeline
Log In to Comment