Skip to content
Navigation Menu
Toggle navigation
Sign in
In this repository
All GitHub Enterprise
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub Enterprise
↵
Jump to
↵
In this organization
All GitHub Enterprise
↵
Jump to
↵
In this repository
All GitHub Enterprise
↵
Jump to
↵
Sign in
Reseting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
mariux64
/
linux
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
2
Pull requests
0
Actions
Projects
0
Wiki
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security
Insights
Files
f133ecc
Documentation
arch
alpha
arm
avr32
blackfin
cris
frv
h8300
ia64
m32r
m68k
microblaze
mips
mn10300
parisc
powerpc
s390
score
sh
sparc
tile
configs
include
arch
asm
Kbuild
asm-offsets.h
atomic.h
atomic_32.h
atomic_64.h
auxvec.h
backtrace.h
bitops.h
bitops_32.h
bitops_64.h
bitsperlong.h
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h
checksum.h
compat.h
cputime.h
current.h
delay.h
device.h
div64.h
dma-mapping.h
dma.h
edac.h
elf.h
emergency-restart.h
errno.h
fb.h
fcntl.h
fixmap.h
ftrace.h
futex.h
hardirq.h
hardwall.h
highmem.h
homecache.h
hugetlb.h
hv_driver.h
hw_irq.h
ide.h
io.h
ioctl.h
ioctls.h
ipc.h
ipcbuf.h
irq.h
irq_regs.h
irqflags.h
kdebug.h
kexec.h
kmap_types.h
linkage.h
local.h
memprof.h
mman.h
mmu.h
mmu_context.h
mmzone.h
module.h
msgbuf.h
mutex.h
opcode-tile.h
opcode-tile_32.h
opcode-tile_64.h
opcode_constants.h
opcode_constants_32.h
opcode_constants_64.h
page.h
param.h
parport.h
pci.h
percpu.h
pgalloc.h
pgtable.h
pgtable_32.h
pgtable_64.h
poll.h
posix_types.h
processor.h
ptrace.h
resource.h
scatterlist.h
sections.h
sembuf.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
sigframe.h
siginfo.h
signal.h
smp.h
socket.h
sockios.h
spinlock.h
spinlock_32.h
spinlock_64.h
spinlock_types.h
stack.h
stat.h
statfs.h
string.h
swab.h
syscall.h
syscalls.h
system.h
termbits.h
termios.h
thread_info.h
timex.h
tlb.h
tlbflush.h
topology.h
traps.h
types.h
uaccess.h
ucontext.h
unaligned.h
unistd.h
user.h
vga.h
xor.h
hv
kernel
kvm
lib
mm
Kbuild
Kconfig
Kconfig.debug
Makefile
um
unicore32
x86
xtensa
.gitignore
Kconfig
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README
REPORTING-BUGS
Breadcrumbs
linux
/
arch
/
tile
/
include
/
asm
/
hardwall.h
Blame
Blame
Latest commit
History
History
65 lines (52 loc) · 1.91 KB
Breadcrumbs
linux
/
arch
/
tile
/
include
/
asm
/
hardwall.h
Top
File metadata and controls
Code
Blame
65 lines (52 loc) · 1.91 KB
Raw
/* * Copyright 2010 Tilera Corporation. All Rights Reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation, version 2. * * This program 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, GOOD TITLE or * NON INFRINGEMENT. See the GNU General Public License for * more details. * * Provide methods for the HARDWALL_FILE for accessing the UDN. */ #ifndef _ASM_TILE_HARDWALL_H #define _ASM_TILE_HARDWALL_H #include <linux/ioctl.h> #define HARDWALL_IOCTL_BASE 0xa2 /* * The HARDWALL_CREATE() ioctl is a macro with a "size" argument. * The resulting ioctl value is passed to the kernel in conjunction * with a pointer to a little-endian bitmask of cpus, which must be * physically in a rectangular configuration on the chip. * The "size" is the number of bytes of cpu mask data. */ #define _HARDWALL_CREATE 1 #define HARDWALL_CREATE(size) \ _IOC(_IOC_READ, HARDWALL_IOCTL_BASE, _HARDWALL_CREATE, (size)) #define _HARDWALL_ACTIVATE 2 #define HARDWALL_ACTIVATE \ _IO(HARDWALL_IOCTL_BASE, _HARDWALL_ACTIVATE) #define _HARDWALL_DEACTIVATE 3 #define HARDWALL_DEACTIVATE \ _IO(HARDWALL_IOCTL_BASE, _HARDWALL_DEACTIVATE) #define _HARDWALL_GET_ID 4 #define HARDWALL_GET_ID \ _IO(HARDWALL_IOCTL_BASE, _HARDWALL_GET_ID) #ifndef __KERNEL__ /* This is the canonical name expected by userspace. */ #define HARDWALL_FILE "/dev/hardwall" #else /* /proc hooks for hardwall. */ struct proc_dir_entry; #ifdef CONFIG_HARDWALL void proc_tile_hardwall_init(struct proc_dir_entry *root); int proc_pid_hardwall(struct task_struct *task, char *buffer); #else static inline void proc_tile_hardwall_init(struct proc_dir_entry *root) {} #endif #endif #endif /* _ASM_TILE_HARDWALL_H */
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
You can’t perform that action at this time.