/
usr
/
include
/
powerpc64-linux-gnu
/
asm
/
/usr/include/powerpc64-linux-gnu/asm
mkdir
upload
Name
Size
Mode
Actions
auxvec.h
1846
0644
edit
dl
rm
bitsperlong.h
312
0644
edit
dl
rm
bootx.h
4401
0644
edit
dl
rm
bpf_perf_event.h
40
0644
edit
dl
rm
byteorder.h
550
0644
edit
dl
rm
cputable.h
2384
0644
edit
dl
rm
eeh.h
2233
0644
edit
dl
rm
elf.h
13400
0644
edit
dl
rm
epapr_hcalls.h
4259
0644
edit
dl
rm
errno.h
278
0644
edit
dl
rm
fcntl.h
367
0644
edit
dl
rm
ioctl.h
302
0644
edit
dl
rm
ioctls.h
4363
0644
edit
dl
rm
ipcbuf.h
1057
0644
edit
dl
rm
kvm.h
26122
0644
edit
dl
rm
kvm_para.h
2778
0644
edit
dl
rm
mman.h
1279
0644
edit
dl
rm
msgbuf.h
1159
0644
edit
dl
rm
nvram.h
2062
0644
edit
dl
rm
opal-prd.h
1767
0644
edit
dl
rm
papr-miscdev.h
184
0644
edit
dl
rm
papr-sysparm.h
2057
0644
edit
dl
rm
papr-vpd.h
538
0644
edit
dl
rm
param.h
31
0644
edit
dl
rm
perf_event.h
550
0644
edit
dl
rm
perf_regs.h
2748
0644
edit
dl
rm
poll.h
30
0644
edit
dl
rm
posix_types.h
594
0644
edit
dl
rm
ps3fb.h
1781
0644
edit
dl
rm
ptrace.h
7725
0644
edit
dl
rm
resource.h
34
0644
edit
dl
rm
sembuf.h
1144
0644
edit
dl
rm
setup.h
188
0644
edit
dl
rm
shmbuf.h
1723
0644
edit
dl
rm
sigcontext.h
4344
0644
edit
dl
rm
siginfo.h
33
0644
edit
dl
rm
signal.h
2547
0644
edit
dl
rm
socket.h
600
0644
edit
dl
rm
sockios.h
33
0644
edit
dl
rm
spu_info.h
774
0644
edit
dl
rm
stat.h
2362
0644
edit
dl
rm
statfs.h
32
0644
edit
dl
rm
swab.h
560
0644
edit
dl
rm
termbits.h
4104
0644
edit
dl
rm
termios.h
1697
0644
edit
dl
rm
tm.h
734
0644
edit
dl
rm
types.h
1304
0644
edit
dl
rm
ucontext.h
961
0644
edit
dl
rm
unistd.h
562
0644
edit
dl
rm
unistd_32.h
12065
0644
edit
dl
rm
unistd_64.h
11149
0644
edit
dl
rm
vas-api.h
649
0644
edit
dl
rm
Edit:
/usr/lib/linux/uapi/powerpc/asm/nvram.h
(2062B)
/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ /* * NVRAM definitions and access functions. * * 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; either version * 2 of the License, or (at your option) any later version. */ #ifndef _ASM_POWERPC_NVRAM_H #define _ASM_POWERPC_NVRAM_H /* Signatures for nvram partitions */ #define NVRAM_SIG_SP 0x02 /* support processor */ #define NVRAM_SIG_OF 0x50 /* open firmware config */ #define NVRAM_SIG_FW 0x51 /* general firmware */ #define NVRAM_SIG_HW 0x52 /* hardware (VPD) */ #define NVRAM_SIG_FLIP 0x5a /* Apple flip/flop header */ #define NVRAM_SIG_APPL 0x5f /* Apple "system" (???) */ #define NVRAM_SIG_SYS 0x70 /* system env vars */ #define NVRAM_SIG_CFG 0x71 /* config data */ #define NVRAM_SIG_ELOG 0x72 /* error log */ #define NVRAM_SIG_VEND 0x7e /* vendor defined */ #define NVRAM_SIG_FREE 0x7f /* Free space */ #define NVRAM_SIG_OS 0xa0 /* OS defined */ #define NVRAM_SIG_PANIC 0xa1 /* Apple OSX "panic" */ /* PowerMac specific nvram stuffs */ enum { pmac_nvram_OF, /* Open Firmware partition */ pmac_nvram_XPRAM, /* MacOS XPRAM partition */ pmac_nvram_NR /* MacOS Name Registry partition */ }; /* Some offsets in XPRAM */ #define PMAC_XPRAM_MACHINE_LOC 0xe4 #define PMAC_XPRAM_SOUND_VOLUME 0x08 /* Machine location structure in PowerMac XPRAM */ struct pmac_machine_location { unsigned int latitude; /* 2+30 bit Fractional number */ unsigned int longitude; /* 2+30 bit Fractional number */ unsigned int delta; /* mix of GMT delta and DLS */ }; /* * /dev/nvram ioctls * * Note that PMAC_NVRAM_GET_OFFSET is still supported, but is * definitely obsolete. Do not use it if you can avoid it */ #define OBSOLETE_PMAC_NVRAM_GET_OFFSET \ _IOWR('p', 0x40, int) #define IOC_NVRAM_GET_OFFSET _IOWR('p', 0x42, int) /* Get NVRAM partition offset */ #define IOC_NVRAM_SYNC _IO('p', 0x43) /* Sync NVRAM image */ #endif /* _ASM_POWERPC_NVRAM_H */
Save
cmd:
run