Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: golang/sys
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 104d401
Choose a base ref
...
head repository: golang/sys
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5154691
Choose a head ref
  • 8 commits
  • 15 files changed
  • 8 contributors

Commits on Aug 7, 2023

  1. windows: add TimeBeginPeriod and TimeEndPeriod syscalls

    Updates golang/go#44343
    Fixes golang/go#61723
    
    Change-Id: I920f2fad6b3a2a9ba67ff2fafea4319644a0bc8c
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/515915
    Reviewed-by: qiulaidongfeng <2645477756@qq.com>
    Run-TryBot: Quim Muntal <quimmuntal@gmail.com>
    Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
    Reviewed-by: Ian Lance Taylor <iant@google.com>
    TryBot-Result: Gopher Robot <gobot@golang.org>
    Reviewed-by: Michael Knyszek <mknyszek@google.com>
    qmuntal committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    60ecf13 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2023

  1. unix: add SchedSetAttr and SchedGetAttr for Linux

    Add wrappers for sched_getattr(2) and sched_setattr(2), as well as
    various SCHED_ values usable for these.
    
    The kludge in linux/types.go is needed so we can include both
    linux/sched/types.h (for struct sched_attr) and sched.h (for a few
    defines from include/bits/cpu-set.h).
    
    Unfortunately, they both define struct sched_param, thus the need to
    mask one of the definitions.
    
    Change-Id: I3e13cf49ccef7ae81a75d33826d18de84a52106d
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/516756
    Reviewed-by: Ian Lance Taylor <iant@google.com>
    Auto-Submit: Ian Lance Taylor <iant@google.com>
    Run-TryBot: Ian Lance Taylor <iant@golang.org>
    Reviewed-by: Michael Knyszek <mknyszek@google.com>
    TryBot-Result: Gopher Robot <gobot@golang.org>
    Run-TryBot: Ian Lance Taylor <iant@google.com>
    kolyshkin authored and gopherbot committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    ee57887 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2023

  1. unix: avoid setting O_NONBLOCK needlessly by checking flags beforehand

    Change-Id: I227118221df469a677f3ff140ca7b94acb7f9571
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/517576
    TryBot-Result: Gopher Robot <gobot@golang.org>
    Reviewed-by: Michael Knyszek <mknyszek@google.com>
    Run-TryBot: Andy Pan <panjf2000@gmail.com>
    Reviewed-by: Ian Lance Taylor <iant@google.com>
    Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
    Run-TryBot: Ian Lance Taylor <iant@google.com>
    Auto-Submit: Ian Lance Taylor <iant@google.com>
    panjf2000 authored and gopherbot committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    552c4e8 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2023

  1. cpu: add support for amx detection

    Added detection for x86 AMX,
    including AMX-Tile, AMX-INT8 and AMX-BF16
    instruction sets.
    
    Change-Id: Ib3d663430b64d46b46b22bdd05d40f1992e37ee0
    GitHub-Last-Rev: 7986ed6
    GitHub-Pull-Request: #170
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/516815
    Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
    Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
    TryBot-Result: Gopher Robot <gobot@golang.org>
    Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
    Reviewed-by: Michael Knyszek <mknyszek@google.com>
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    anton-kuklin authored and gopherbot committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    eabbd5c View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2023

  1. cpu: remove repetitive word

    Change-Id: I6dbed409b549ab2cfc862094f19373816b7c0859
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/519076
    Reviewed-by: Ian Lance Taylor <iant@google.com>
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    Run-TryBot: Ian Lance Taylor <iant@google.com>
    TryBot-Result: Gopher Robot <gobot@golang.org>
    Auto-Submit: Ian Lance Taylor <iant@google.com>
    cuishuang authored and gopherbot committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    7023367 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2023

  1. windows: use SyscallN in mkwinsyscall

    The mkwinsyscall command has a hard limit of 15 on the
    number of syscall arguments. Windows has several system
    calls with more than 15 arguments, for example CreateFontPackage
    has 18 arguments.
    
    If the number of arguments is higher than 15 we use SyscallN.
    
    Fixes golang/go#57914
    
    Change-Id: I4205e779a960ae10c0778de7876154e0d7ec00a1
    GitHub-Last-Rev: 1f1e96f
    GitHub-Pull-Request: #171
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/518995
    Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
    TryBot-Result: Gopher Robot <gobot@golang.org>
    Reviewed-by: Ian Lance Taylor <iant@google.com>
    Auto-Submit: Ian Lance Taylor <iant@google.com>
    Run-TryBot: Ian Lance Taylor <iant@google.com>
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    Run-TryBot: Alex Brainman <alex.brainman@gmail.com>
    mauri870 authored and gopherbot committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    ad02017 View commit details
    Browse the repository at this point in the history
  2. windows: don't check non-existent return code in GetStartupInfo

    Same as CL 520275 did in package syscall.
    
    For golang/go#31316
    
    Change-Id: Ie9d8fed7f40b9e562534d5e91488b4ba1ac44f34
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/520295
    TryBot-Result: Gopher Robot <gobot@golang.org>
    Reviewed-by: Ian Lance Taylor <iant@google.com>
    Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
    tklauser authored and gopherbot committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    e8190d9 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2023

  1. unix/linux: update to gcc 13.2.0, qemu 8.0.3 for loong64 and and Go 1…

    ….21.0 for all
    
    Running `GOOS=linux GOARCH={amd64,arm64,loong64,mips64le,riscv64} ./mkall.sh`
    produces no changes, as expected.
    
    Update Loong64's cross toolchain to support for the ELF psABI v2.0 relocs [1].
    
    Updates #58784.
    
    [1]: https://loongson.github.io/LoongArch-Documentation/LoongArch-ELF-ABI-EN.html
    
    Change-Id: I676893b934d8cfc30b9f3702fc92a5ab82f7f116
    Reviewed-on: https://go-review.googlesource.com/c/sys/+/483455
    Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
    Auto-Submit: Ian Lance Taylor <iant@google.com>
    Reviewed-by: Meidan Li <limeidan@loongson.cn>
    Run-TryBot: Ian Lance Taylor <iant@google.com>
    Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
    Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
    TryBot-Result: Gopher Robot <gobot@golang.org>
    Reviewed-by: Bryan Mills <bcmills@google.com>
    Reviewed-by: Ian Lance Taylor <iant@google.com>
    abner-chenc authored and gopherbot committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    5154691 View commit details
    Browse the repository at this point in the history
Loading