404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.225.254.112: ~ $
/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
/* MN10300 Byte-order primitive construction
 *
 * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
 * Written by David Howells (dhowells@redhat.com)
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public Licence
 * as published by the Free Software Foundation; either version
 * 2 of the Licence, or (at your option) any later version.
 */
#ifndef _ASM_SWAB_H
#define _ASM_SWAB_H

#include <linux/types.h>

#ifdef __GNUC__

static inline __attribute__((const))
__u32 __arch_swab32(__u32 x)
{
	__u32 ret;
	asm("swap %1,%0" : "=r" (ret) : "r" (x));
	return ret;
}
#define __arch_swab32 __arch_swab32

static inline __attribute__((const))
__u16 __arch_swab16(__u16 x)
{
	__u16 ret;
	asm("swaph %1,%0" : "=r" (ret) : "r" (x));
	return ret;
}
#define __arch_swab32 __arch_swab32

#if !defined(__STRICT_ANSI__) || defined(__KERNEL__)
#  define __SWAB_64_THRU_32__
#endif

#endif /* __GNUC__ */

#endif /* _ASM_SWAB_H */

Filemanager

Name Type Size Permission Actions
Kbuild File 124 B 0644
auxvec.h File 52 B 0644
bitsperlong.h File 100 B 0644
byteorder.h File 188 B 0644
errno.h File 94 B 0644
fcntl.h File 94 B 0644
ioctl.h File 94 B 0644
ioctls.h File 168 B 0644
ipcbuf.h File 95 B 0644
kvm_para.h File 97 B 0644
mman.h File 267 B 0644
msgbuf.h File 1.02 KB 0644
param.h File 607 B 0644
poll.h File 93 B 0644
posix_types.h File 1.37 KB 0644
ptrace.h File 2.19 KB 0644
resource.h File 97 B 0644
sembuf.h File 759 B 0644
setup.h File 167 B 0644
shmbuf.h File 1.2 KB 0644
sigcontext.h File 1.26 KB 0644
signal.h File 3 KB 0644
socket.h File 2.17 KB 0644
sockios.h File 403 B 0644
stat.h File 1.69 KB 0644
statfs.h File 32 B 0644
swab.h File 1.03 KB 0644
termbits.h File 4.66 KB 0644
termios.h File 2.41 KB 0644
types.h File 514 B 0644
unistd.h File 9.99 KB 0644