summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/tiny/386/rt0.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/tiny/386/rt0.s')
-rw-r--r--src/pkg/runtime/tiny/386/rt0.s28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/pkg/runtime/tiny/386/rt0.s b/src/pkg/runtime/tiny/386/rt0.s
deleted file mode 100644
index 524ac7664..000000000
--- a/src/pkg/runtime/tiny/386/rt0.s
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2010 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-TEXT _rt0_386_tiny(SB), 7, $0
- // Disable interrupts.
- CLI
-
- // Establish stack.
- MOVL $0x10000, AX
- MOVL AX, SP
-
- // Set up memory hardware.
- CALL runtime·msetup(SB)
-
- // _rt0_386 expects to find argc, argv, envv on stack.
- // Set up argv=["kernel"] and envv=[].
- SUBL $64, SP
- MOVL $1, 0(SP)
- MOVL $runtime·kernel(SB), 4(SP)
- MOVL $0, 8(SP)
- MOVL $0, 12(SP)
- JMP _rt0_386(SB)
-
-DATA runtime·kernel(SB)/7, $"kernel\z"
-GLOBL runtime·kernel(SB), $7
-
-