]> Cypherpunks.ru repositories - gostls13.git/blob - src/syscall/asm_openbsd_386.s
cmd/compile/internal/inline: score call sites exposed by inlines
[gostls13.git] / src / syscall / asm_openbsd_386.s
1 // Copyright 2021 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 #include "textflag.h"
6
7 //
8 // System call support for 386, OpenBSD
9 //
10
11 // Provide these function names via assembly so they are provided as ABI0,
12 // rather than ABIInternal.
13
14 // func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
15 TEXT    ·Syscall(SB),NOSPLIT,$0-28
16         JMP     ·syscallInternal(SB)
17
18 // func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
19 TEXT    ·Syscall6(SB),NOSPLIT,$0-40
20         JMP     ·syscall6Internal(SB)
21
22 // func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
23 TEXT    ·RawSyscall(SB),NOSPLIT,$0-28
24         JMP     ·rawSyscallInternal(SB)
25
26 // func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
27 TEXT    ·RawSyscall6(SB),NOSPLIT,$0-40
28         JMP     ·rawSyscall6Internal(SB)
29
30 // func Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err Errno)
31 TEXT    ·Syscall9(SB),NOSPLIT,$0-52
32         JMP     ·syscall9Internal(SB)