Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-9] src/sys/arch/powerpc/ibm4xx



Module Name:    src
Committed By:   martin
Date:           Mon Mar  9 11:52:15 UTC 2020

Modified Files:
        src/sys/arch/powerpc/ibm4xx [netbsd-9]: copyinstr.c copyoutstr.c

Log Message:
Pull up following revision(s) (requested by rin in ticket #772):

        sys/arch/powerpc/ibm4xx/copyinstr.c: revision 1.12
        sys/arch/powerpc/ibm4xx/copyinstr.c: revision 1.13
        sys/arch/powerpc/ibm4xx/copyoutstr.c: revision 1.10
        sys/arch/powerpc/ibm4xx/copyoutstr.c: revision 1.11
        sys/arch/powerpc/ibm4xx/copyoutstr.c: revision 1.12
        sys/arch/powerpc/ibm4xx/copyoutstr.c: revision 1.13
        sys/arch/powerpc/ibm4xx/copyinstr.c: revision 1.10
        sys/arch/powerpc/ibm4xx/copyinstr.c: revision 1.11

copy{in,out}str: sync style with booke.
- early return in case of len == 0
- *done = 0 on fault

copy{in,out}str: Correctly return ENAMETOOLONG if source is not
NUL-terminated.

Use dcbst instead of dcbf to flush cache; the former does not invalidate
the cache line, which should be used immediately in most cases.

Cosmetic changes. No binary changes.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.9.64.1 src/sys/arch/powerpc/ibm4xx/copyinstr.c \
    src/sys/arch/powerpc/ibm4xx/copyoutstr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index