Source-Changes archive

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

CVS commit: src/sys/arch/arm



Module Name:    src
Committed By:   rin
Date:           Tue Dec  1 02:48:29 UTC 2020

Modified Files:
        src/sys/arch/arm/arm: disassem.c
        src/sys/arch/arm/arm32: db_interface.c
        src/sys/arch/arm/include: db_machdep.h locore.h ptrace.h trap.h

Log Message:
Fix confusions related to encoding of instructions.

For __ARMEB__ in BE8 mode, instructions are encoded in little-endian.
Therefore, we need to swap bytes against these in native byte order.

In other cases, i.e., __ARMEL__ and __ARMEB__ in BE32 mode, instructions
are in native byte order, and we don't need to swap them.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/arch/arm/arm/disassem.c
cvs rdiff -u -r1.61 -r1.62 src/sys/arch/arm/arm32/db_interface.c
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/arm/include/db_machdep.h
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/arm/include/locore.h
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/arm/include/ptrace.h
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/arm/include/trap.h

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