OXIESEC PANEL
- Current Dir:
/
/
opt
/
golang
/
1.19.4
/
src
/
vendor
/
golang.org
/
x
/
sys
/
cpu
Server IP: 191.96.63.230
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📄
asm_aix_ppc64.s
420 bytes
12/01/2022 06:13:01 PM
rw-r--r--
📄
byteorder.go
1.82 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu.go
11.87 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu_aix.go
619 bytes
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu_arm.go
2.11 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu_arm64.go
3.53 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu_arm64.s
771 bytes
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu_gc_arm64.go
269 bytes
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu_gc_s390x.go
687 bytes
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu_gc_x86.go
541 bytes
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu_gccgo_arm64.go
315 bytes
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu_gccgo_s390x.go
1.02 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu_gccgo_x86.c
1.07 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu_gccgo_x86.go
840 bytes
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu_linux.go
361 bytes
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu_linux_arm.go
1.36 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu_linux_arm64.go
2.1 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu_linux_mips64x.go
522 bytes
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu_linux_noinit.go
351 bytes
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu_linux_ppc64x.go
815 bytes
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu_linux_s390x.go
890 bytes
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu_loong64.go
260 bytes
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu_mips64x.go
346 bytes
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu_mipsx.go
270 bytes
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu_netbsd_arm64.go
4.26 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu_other_arm.go
239 bytes
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu_other_arm64.go
260 bytes
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu_other_mips64x.go
299 bytes
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu_ppc64x.go
384 bytes
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu_riscv64.go
259 bytes
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu_s390x.go
4.88 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu_s390x.s
1.97 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu_wasm.go
454 bytes
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu_x86.go
4.64 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu_x86.s
642 bytes
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu_zos.go
223 bytes
12/01/2022 06:13:01 PM
rw-r--r--
📄
cpu_zos_s390x.go
643 bytes
12/01/2022 06:13:01 PM
rw-r--r--
📄
hwcap_linux.go
1.23 KB
12/01/2022 06:13:01 PM
rw-r--r--
📄
syscall_aix_gccgo.go
746 bytes
12/01/2022 06:13:01 PM
rw-r--r--
📄
syscall_aix_ppc64_gc.go
1011 bytes
12/01/2022 06:13:01 PM
rw-r--r--
Editing: cpu_gccgo_x86.c
Close
// Copyright 2018 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. // +build 386 amd64 amd64p32 // +build gccgo #include <cpuid.h> #include <stdint.h> #include <x86intrin.h> // Need to wrap __get_cpuid_count because it's declared as static. int gccgoGetCpuidCount(uint32_t leaf, uint32_t subleaf, uint32_t *eax, uint32_t *ebx, uint32_t *ecx, uint32_t *edx) { return __get_cpuid_count(leaf, subleaf, eax, ebx, ecx, edx); } #pragma GCC diagnostic ignored "-Wunknown-pragmas" #pragma GCC push_options #pragma GCC target("xsave") #pragma clang attribute push (__attribute__((target("xsave"))), apply_to=function) // xgetbv reads the contents of an XCR (Extended Control Register) // specified in the ECX register into registers EDX:EAX. // Currently, the only supported value for XCR is 0. void gccgoXgetbv(uint32_t *eax, uint32_t *edx) { uint64_t v = _xgetbv(0); *eax = v & 0xffffffff; *edx = v >> 32; } #pragma clang attribute pop #pragma GCC pop_options