Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F96275333
D34120.id102183.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
781 B
Referenced Files
None
Subscribers
None
D34120.id102183.diff
View Options
Index: sys/arm64/arm64/machdep.c
===================================================================
--- sys/arm64/arm64/machdep.c
+++ sys/arm64/arm64/machdep.c
@@ -855,6 +855,10 @@
dbg_init();
kdb_init();
+#ifdef KDB
+ if ((boothowto & RB_KDB) != 0)
+ kdb_enter(KDB_WHY_BOOTFLAGS, "Boot flags requested debugger");
+#endif
pan_enable();
kcsan_cpu_init(0);
Index: sys/riscv/riscv/machdep.c
===================================================================
--- sys/riscv/riscv/machdep.c
+++ sys/riscv/riscv/machdep.c
@@ -587,6 +587,10 @@
mutex_init();
init_param2(physmem);
kdb_init();
+#ifdef KDB
+ if ((boothowto & RB_KDB) != 0)
+ kdb_enter(KDB_WHY_BOOTFLAGS, "Boot flags requested debugger");
+#endif
env = kern_getenv("kernelname");
if (env != NULL)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Sep 25, 7:45 AM (4 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
12744811
Default Alt Text
D34120.id102183.diff (781 B)
Attached To
Mode
D34120: arm64, riscv: handle RB_KDB
Attached
Detach File
Event Timeline
Log In to Comment