Re: [PATCH] RISC-V: probes: Treat the instruction stream as host-endian

2021-01-22 Thread Guo Ren
Acked-by: Guo Ren On 2021/1/23 上午11:34, Palmer Dabbelt wrote: From: Palmer Dabbelt Neither of these are actually correct: the instruction stream is defined (for versions of the ISA manual newer than 2.2) as a stream of 16-bit little-endian parcels, which is different than just being little-en

[PATCH] RISC-V: probes: Treat the instruction stream as host-endian

2021-01-22 Thread Palmer Dabbelt
From: Palmer Dabbelt Neither of these are actually correct: the instruction stream is defined (for versions of the ISA manual newer than 2.2) as a stream of 16-bit little-endian parcels, which is different than just being little-endian. In theory we should represent this as a type, but we don't h