From dc55ae929349f181d866199fae55d763e2dad83f Mon Sep 17 00:00:00 2001 From: "rogier.brussee@b90d8f15ea9cc02d3617789f77a64c35bcd838d8" Date: Wed, 2 May 2018 16:52:21 +0100 Subject: [PATCH] Oops no mention of pasting in rs2 --- overloadable_opcodes.mdwn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/overloadable_opcodes.mdwn b/overloadable_opcodes.mdwn index 2458b135f..826e04208 100644 --- a/overloadable_opcodes.mdwn +++ b/overloadable_opcodes.mdwn @@ -66,7 +66,9 @@ after execution: * rs2 is arbitrary (but bit XLEN-12 to XLEN -1 is discarded) after execution, - rd contains the lun of a device implementing the xintf or the luns 0 (for xext), 1 (for xext0) or 2 (for xextm1). + if the cpu recognises the UUID and device at the current privilege level, rd contains the lun of a device +implementing the xintf in bit 0..11, followed by bit 0.. XLEN - 13 of rs2. +if the cpu does not recognise the UUID and device it returns the numbers 0 (for xext), 1 (for xext0) or 2 (for xextm1), in particular bit 12.. XLEN are 0. --- The net effect is that, when the CPU implements an xintf with UUID 0xABCDE a sequence like -- 2.30.2