mirror of
https://github.com/golang/go
synced 2024-11-21 21:34:40 -07:00
runtime/tiny: style and doc tweaks
R=r, rsc CC=golang-dev https://golang.org/cl/1821041
This commit is contained in:
parent
11f9c03986
commit
da795fcefc
@ -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
|
||||
console.
|
||||
|
||||
|
||||
BOCHS
|
||||
|
||||
You may have to tweak the .bochsrc depending on your system,
|
||||
@ -37,19 +38,22 @@ and you may need to install the Bochs emulator.
|
||||
|
||||
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
|
||||
$ VirtualBox
|
||||
create a new VM; as disk use the go-tiny.vdi image.
|
||||
start the vm.
|
||||
|
||||
|
||||
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
|
||||
|
||||
|
||||
|
@ -59,7 +59,8 @@ unlock(Lock *l)
|
||||
l->key = 0;
|
||||
}
|
||||
|
||||
void destroylock(Lock *l)
|
||||
void
|
||||
destroylock(Lock *l)
|
||||
{
|
||||
// nothing
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user