History log of /openbsd-current/sys/arch/powerpc64/powerpc64/db_interface.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.6 14-Apr-2022 naddy

ddb: constify command tables

ok jca@


# 1.5 12-Apr-2022 naddy

ddb: simplify machine command handling

Define a consistently named db_machine_command_table[] across all
archs that implement the MD "machine" command, and hook this into
the main command table instead of patching it at runtime.

ok mpi@ jca@


Revision tags: OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.4 30-May-2021 visa

Include <sys/mutex.h> to avoid a hidden header dependency.

OK jsg@ deraadt@


Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.3 22-Jul-2020 kettenis

Make switching CPUs in DDB work.


# 1.2 26-Jun-2020 jsg

return early if either initrd property is missing

avoids unlikely path with use of uninitialised pointer
found with scan-build, ok kettenis@


# 1.1 27-May-2020 gkoehler

Enter ddb at a trap instruction or with db_enter().

Tell make that trap_subr.S needs assym.h.
Fill in opal_cngetc() so I can type at the "ddb>" prompt.
Add enough code to trap_subr.S to "c" continue from ddb.
Give registers to ddb.
Try to load symbols from initrd.

ok kettenis@


# 1.5 12-Apr-2022 naddy

ddb: simplify machine command handling

Define a consistently named db_machine_command_table[] across all
archs that implement the MD "machine" command, and hook this into
the main command table instead of patching it at runtime.

ok mpi@ jca@


Revision tags: OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.4 30-May-2021 visa

Include <sys/mutex.h> to avoid a hidden header dependency.

OK jsg@ deraadt@


Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.3 22-Jul-2020 kettenis

Make switching CPUs in DDB work.


# 1.2 26-Jun-2020 jsg

return early if either initrd property is missing

avoids unlikely path with use of uninitialised pointer
found with scan-build, ok kettenis@


# 1.1 27-May-2020 gkoehler

Enter ddb at a trap instruction or with db_enter().

Tell make that trap_subr.S needs assym.h.
Fill in opal_cngetc() so I can type at the "ddb>" prompt.
Add enough code to trap_subr.S to "c" continue from ddb.
Give registers to ddb.
Try to load symbols from initrd.

ok kettenis@