History log of /openbsd/sys/arch/sh/sh/db_memrw.c (Results 1 – 2 of 2)
Revision Date Author Comments
# fe1fe620 23-Feb-2024 cheloha <cheloha@openbsd.org>

ddb(4): db_read_bytes/db_write_bytes: change dst/src parameter to void*

Almost all db_read_bytes() callers cast the destination buffer
argument to char*, which suggests the API's prototype is incomp

ddb(4): db_read_bytes/db_write_bytes: change dst/src parameter to void*

Almost all db_read_bytes() callers cast the destination buffer
argument to char*, which suggests the API's prototype is incompatible
with how the API is actually used.

Change db_read_bytes() and db_write_bytes() to take a void* as the
destination/source buffer parameter so callers don't need to cast the
argument.

With input from bluhm@. Bugs caught by Clemens Gossnitzer (ASCII
approximation of name).

Thread: https://marc.info/?l=openbsd-tech&m=170740813021636&w=2

ok bluhm@

show more ...


# 95c7671f 06-Oct-2006 miod <miod@openbsd.org>

Preliminary bits for SuperH-based ports, based on NetBSD/sh3 codebase with
minor changes.