aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@ozlabs.ru>2013-10-15 15:43:38 +1100
committerAlexey Kardashevskiy <aik@ozlabs.ru>2013-10-15 15:43:38 +1100
commite2e8ac901e617573ea383f9cffd136146d0675a4 (patch)
tree50cb1754e77f4b7007f5e38682d306013842f012
parent3b5f2aec1dbce92e74096d0e8a89b30870704993 (diff)
downloadSLOF-e2e8ac901e617573ea383f9cffd136146d0675a4.zip
SLOF-e2e8ac901e617573ea383f9cffd136146d0675a4.tar.gz
SLOF-e2e8ac901e617573ea383f9cffd136146d0675a4.tar.bz2
client-architecture-support: fix wrong version readqemu-slof-20131015
This fixed size of reading the version (which is actually 32bit), this removes confusing "cas not implemented" message from the guest. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> --- Changes: v2: * replaced w@ (16 bit) with l@ (32 bit)
-rw-r--r--slof/fs/archsupport.fs2
1 files changed, 1 insertions, 1 deletions
diff --git a/slof/fs/archsupport.fs b/slof/fs/archsupport.fs
index 249c823..52daab2 100644
--- a/slof/fs/archsupport.fs
+++ b/slof/fs/archsupport.fs
@@ -19,7 +19,7 @@
swap over size ( memaddr vec memaddr size )
\ make h_call to hypervisor
hv-cas 0= IF ( memaddr )
- dup @ 1 >= IF \ Version number >= 1
+ dup l@ 1 >= IF \ Version number >= 1
\ Make required changes
" /" find-node set-node
dup 4 + fdt-init