]> Cypherpunks repositories - gostls13.git/commit
changes to accommodate nacl:
authorRuss Cox <rsc@golang.org>
Tue, 22 Sep 2009 23:28:32 +0000 (16:28 -0700)
committerRuss Cox <rsc@golang.org>
Tue, 22 Sep 2009 23:28:32 +0000 (16:28 -0700)
commit1b14bdbf1ccec3e1aee176327988ad6b9d5e329c
tree901714cd753425b49cd353055bffac9af4996f73
parent9e7f3a46d3682c3206202e3421d5034193feb2f7
changes to accommodate nacl:
  * change ldt0setup to set GS itself; nacl won't let us do it.
  * change breakpoint to INT $3 so 8l can translate to HLT for nacl.
  * panic if closure is needed on nacl.
  * do not try to access symbol table on nacl.
  * mmap in 64kB chunks.

nacl support:
  * system calls, threading, locks.

R=r
DELTA=365  (357 added, 5 deleted, 3 changed)
OCL=34880
CL=34906
15 files changed:
src/pkg/runtime/386/asm.s
src/pkg/runtime/386/closure.c
src/pkg/runtime/darwin/386/sys.s
src/pkg/runtime/linux/386/sys.s
src/pkg/runtime/mheap.c
src/pkg/runtime/mkasmh.sh
src/pkg/runtime/nacl/386/defs.h [new file with mode: 0755]
src/pkg/runtime/nacl/386/rt0.s [new file with mode: 0755]
src/pkg/runtime/nacl/386/signal.c [new file with mode: 0644]
src/pkg/runtime/nacl/386/sys.s [new file with mode: 0755]
src/pkg/runtime/nacl/os.h [new file with mode: 0644]
src/pkg/runtime/nacl/signals.h [new file with mode: 0644]
src/pkg/runtime/nacl/thread.c [new file with mode: 0644]
src/pkg/runtime/runtime.h
src/pkg/runtime/symtab.c