mirror of
https://github.com/go-gitea/gitea
synced 2024-09-27 14:54:05 +00:00
86e2789960
* update github.com/PuerkitoBio/goquery * update github.com/alecthomas/chroma * update github.com/blevesearch/bleve/v2 * update github.com/caddyserver/certmagic * update github.com/go-enry/go-enry/v2 * update github.com/go-git/go-billy/v5 * update github.com/go-git/go-git/v5 * update github.com/go-redis/redis/v8 * update github.com/go-testfixtures/testfixtures/v3 * update github.com/jaytaylor/html2text * update github.com/json-iterator/go * update github.com/klauspost/compress * update github.com/markbates/goth * update github.com/mattn/go-isatty * update github.com/mholt/archiver/v3 * update github.com/microcosm-cc/bluemonday * update github.com/minio/minio-go/v7 * update github.com/prometheus/client_golang * update github.com/unrolled/render * update github.com/xanzy/go-gitlab * update github.com/yuin/goldmark * update github.com/yuin/goldmark-highlighting Co-authored-by: techknowlogick <techknowlogick@gitea.io>
67 lines
1.4 KiB
ArmAsm
Vendored
67 lines
1.4 KiB
ArmAsm
Vendored
// Copyright 2009 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.
|
|
|
|
//go:build gc
|
|
// +build gc
|
|
|
|
#include "textflag.h"
|
|
|
|
//
|
|
// System calls for 386, Linux
|
|
//
|
|
|
|
// See ../runtime/sys_linux_386.s for the reason why we always use int 0x80
|
|
// instead of the glibc-specific "CALL 0x10(GS)".
|
|
#define INVOKE_SYSCALL INT $0x80
|
|
|
|
// Just jump to package syscall's implementation for all these functions.
|
|
// The runtime may know about them.
|
|
|
|
TEXT ·Syscall(SB),NOSPLIT,$0-28
|
|
JMP syscall·Syscall(SB)
|
|
|
|
TEXT ·Syscall6(SB),NOSPLIT,$0-40
|
|
JMP syscall·Syscall6(SB)
|
|
|
|
TEXT ·SyscallNoError(SB),NOSPLIT,$0-24
|
|
CALL runtime·entersyscall(SB)
|
|
MOVL trap+0(FP), AX // syscall entry
|
|
MOVL a1+4(FP), BX
|
|
MOVL a2+8(FP), CX
|
|
MOVL a3+12(FP), DX
|
|
MOVL $0, SI
|
|
MOVL $0, DI
|
|
INVOKE_SYSCALL
|
|
MOVL AX, r1+16(FP)
|
|
MOVL DX, r2+20(FP)
|
|
CALL runtime·exitsyscall(SB)
|
|
RET
|
|
|
|
TEXT ·RawSyscall(SB),NOSPLIT,$0-28
|
|
JMP syscall·RawSyscall(SB)
|
|
|
|
TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
|
|
JMP syscall·RawSyscall6(SB)
|
|
|
|
TEXT ·RawSyscallNoError(SB),NOSPLIT,$0-24
|
|
MOVL trap+0(FP), AX // syscall entry
|
|
MOVL a1+4(FP), BX
|
|
MOVL a2+8(FP), CX
|
|
MOVL a3+12(FP), DX
|
|
MOVL $0, SI
|
|
MOVL $0, DI
|
|
INVOKE_SYSCALL
|
|
MOVL AX, r1+16(FP)
|
|
MOVL DX, r2+20(FP)
|
|
RET
|
|
|
|
TEXT ·socketcall(SB),NOSPLIT,$0-36
|
|
JMP syscall·socketcall(SB)
|
|
|
|
TEXT ·rawsocketcall(SB),NOSPLIT,$0-36
|
|
JMP syscall·rawsocketcall(SB)
|
|
|
|
TEXT ·seek(SB),NOSPLIT,$0-28
|
|
JMP syscall·seek(SB)
|