diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-03-22 17:31:38 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-03-22 17:31:38 +0000 |
commit | 1b6b029e40c4297ce9c27e0f8b8ae177085c990a (patch) | |
tree | ffcae72b2e16e395ec983f3718adcf9a981b9a66 /op-i386.c | |
parent | 612384d77146639cebdc9b71c87ee4a94bf44501 (diff) |
basic clone() support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@40 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'op-i386.c')
-rw-r--r-- | op-i386.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -2272,3 +2272,14 @@ void OPPROTO op_fninit(void) env->fptags[6] = 1; env->fptags[7] = 1; } + +/* threading support */ +void OPPROTO op_lock(void) +{ + cpu_lock(); +} + +void OPPROTO op_unlock(void) +{ + cpu_unlock(); +} |