Commit da795fce authored by Andrew Gerrand's avatar Andrew Gerrand

runtime/tiny: style and doc tweaks

R=r, rsc
CC=golang-dev
https://golang.org/cl/1821041
parent 11f9c039
...@@ -25,6 +25,7 @@ and GOOS set to your normal GOOS (linux, darwin). Then: ...@@ -25,6 +25,7 @@ and GOOS set to your normal GOOS (linux, darwin). Then:
Use the built-in print(text string) function to print to the Use the built-in print(text string) function to print to the
console. console.
BOCHS BOCHS
You may have to tweak the .bochsrc depending on your system, You may have to tweak the .bochsrc depending on your system,
...@@ -37,19 +38,22 @@ and you may need to install the Bochs emulator. ...@@ -37,19 +38,22 @@ and you may need to install the Bochs emulator.
ORACLE xVM VIRTUALBOX ORACLE xVM VIRTUALBOX
Get VirtualBox installed, and the do: Install VirtualBox. Then:
Build 'disk' (described above under '386').
... build 'disk', described above
$ VBoxManage convertfromraw disk go-tiny.vdi $ VBoxManage convertfromraw disk go-tiny.vdi
$ VirtualBox $ VirtualBox
create a new VM; as disk use the go-tiny.vdi image. create a new VM; as disk use the go-tiny.vdi image.
start the vm. start the vm.
QEMU / KVM QEMU / KVM
This should work the same for qemu and kvm (really: qemu-kvm). This should work the same for qemu and kvm (really: qemu-kvm).
... build 'disk', described above Build 'disk' (described above under '386').
$ qemu -hda disk $ qemu -hda disk
......
...@@ -59,7 +59,8 @@ unlock(Lock *l) ...@@ -59,7 +59,8 @@ unlock(Lock *l)
l->key = 0; l->key = 0;
} }
void destroylock(Lock *l) void
destroylock(Lock *l)
{ {
// nothing // nothing
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment