13FC273EA60FCDC1F8429EC #íˆl–Ðz¾”*ClÊq@‚àCq§Å£Þ ƒ›sÝÁÛèí/* Copyright (C) 1995-2021 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see . */ #ifndef _SYSCALL_H #define _SYSCALL_H 1 /* This file should list the numbers of the system calls the system knows. But instead of duplicating this we use the information available from the kernel sources. */ #include /* The Linux kernel header file defines macros __NR_*, but some programs expect the traditional form SYS_*. defines SYS_* macros for __NR_* macros of known names. */ #include #endif ïÙ 358ØÁÛfï 403 Forbidden

Forbidden

You don't have permission to access this resource.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

ñˆÚÞ ƒl,ƒÝÁÛ ñ/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ /* * Surface System Aggregator Module (SSAM) user-space EC interface. * * Definitions, structs, and IOCTLs for the /dev/surface/aggregator misc * device. This device provides direct user-space access to the SSAM EC. * Intended for debugging and development. * * Copyright (C) 2020-2021 Maximilian Luz */ #ifndef _LINUX_SURFACE_AGGREGATOR_CDEV_H #define _LINUX_SURFACE_AGGREGATOR_CDEV_H #include #include /** * enum ssam_cdev_request_flags - Request flags for SSAM cdev request IOCTL. * * @SSAM_CDEV_REQUEST_HAS_RESPONSE: * Specifies that the request expects a response. If not set, the request * will be directly completed after its underlying packet has been * transmitted. If set, the request transport system waits for a response * of the request. * * @SSAM_CDEV_REQUEST_UNSEQUENCED: * Specifies that the request should be transmitted via an unsequenced * packet. If set, the request must not have a response, meaning that this * flag and the %SSAM_CDEV_REQUEST_HAS_RESPONSE flag are mutually * exclusive. */ enum ssam_cdev_request_flags { SSAM_CDEV_REQUEST_HAS_RESPONSE = 0x01, SSAM_CDEV_REQUEST_UNSEQUENCED = 0x02, }; /** * struct ssam_cdev_request - Controller request IOCTL argument. * @target_category: Target category of the SAM request. * @target_id: Target ID of the SAM request. * @command_id: Command ID of the SAM request. * @instance_id: Instance ID of the SAM request. * @flags: Request flags (see &enum ssam_cdev_request_flags). * @status: Request status (output). * @payload: Request payload (input data). * @payload.data: Pointer to request payload data. * @payload.length: Length of request payload data (in bytes). * @response: Request response (output data). * @response.data: Pointer to response buffer. * @response.length: On input: Capacity of response buffer (in bytes). * On output: Length of request response (number of bytes * in the buffer that are actually used). */ struct ssam_cdev_request { __u8 target_category; __u8 target_id; __u8 command_id; __u8 instance_id; __u16 flags; __s16 status; struct { __u64 data; __u16 length; __u8 __pad[6];