diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-02-22 10:34:00 +1100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-02-22 10:34:00 +1100 |
commit | e6aac8b56d4c87136c45517ca6cae9903defe6cd (patch) | |
tree | 6527b7de102d50575759043c63bf8495fac6ce34 /lib/libhvcall/hvcall.code | |
parent | 7add7a0a9f5fa2afa244f686f7e99e26aa112de8 (diff) | |
download | SLOF-e6aac8b56d4c87136c45517ca6cae9903defe6cd.zip SLOF-e6aac8b56d4c87136c45517ca6cae9903defe6cd.tar.gz SLOF-e6aac8b56d4c87136c45517ca6cae9903defe6cd.tar.bz2 |
Expose hv-logical-memop to forth code
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'lib/libhvcall/hvcall.code')
-rw-r--r-- | lib/libhvcall/hvcall.code | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libhvcall/hvcall.code b/lib/libhvcall/hvcall.code index ebaaac8..de51943 100644 --- a/lib/libhvcall/hvcall.code +++ b/lib/libhvcall/hvcall.code @@ -95,3 +95,11 @@ PRIM(RX_X21) hv_logical_ci_store(8, qaddr, val); MIRP +PRIM(hv_X2d_logical_X2d_memop) + unsigned long op = TOS.u; POP; + unsigned long count = TOS.u; POP; + unsigned long esize = TOS.u; POP; + unsigned long src = TOS.u; POP; + unsigned long dst = TOS.u; + TOS.u = hv_logical_memop(dst, src, esize, count, op); +MIRP |