003 File Manager
Current Path:
/usr/src/sys/cddl/compat/opensolaris/sys
usr
/
src
/
sys
/
cddl
/
compat
/
opensolaris
/
sys
/
📁
..
📄
assfail.h
(2.45 KB)
📄
atomic.h
(4.84 KB)
📄
bitmap.h
(3.4 KB)
📄
byteorder.h
(2.66 KB)
📄
callo.h
(1.61 KB)
📄
cmn_err.h
(1.89 KB)
📄
cpupart.h
(1.15 KB)
📄
cpuvar.h
(4.49 KB)
📄
cpuvar_defs.h
(2.29 KB)
📄
cred.h
(2.08 KB)
📄
debug.h
(1.63 KB)
📄
debug_compat.h
(1.51 KB)
📄
dirent.h
(1.68 KB)
📄
disp.h
(1.54 KB)
📄
dkio.h
(2.92 KB)
📄
dnlc.h
(1.73 KB)
📄
elf.h
(3.57 KB)
📄
feature_tests.h
(1.47 KB)
📄
freebsd_rwlock.h
(1.46 KB)
📄
kcondvar.h
(2.31 KB)
📄
kidmap.h
(1.68 KB)
📄
kmem.h
(3.31 KB)
📄
kstat.h
(2.86 KB)
📄
misc.h
(1.93 KB)
📄
mntent.h
(2.26 KB)
📄
mnttab.h
(1.51 KB)
📄
modctl.h
(1.58 KB)
📄
objfs.h
(1.08 KB)
📄
pathname.h
(1.73 KB)
📄
pcpu.h
(1.49 KB)
📄
policy.h
(3.25 KB)
📄
random.h
(1.63 KB)
📄
refstr.h
(1.51 KB)
📄
rwlock.h
(3.28 KB)
📄
sdt.h
(1.74 KB)
📄
sema.h
(1.55 KB)
📄
sid.h
(2.42 KB)
📄
sig.h
(2.07 KB)
📄
string.h
(1.64 KB)
📄
sunddi.h
(2.74 KB)
📄
systeminfo.h
(114 B)
📄
varargs.h
(1.55 KB)
📄
vfs.h
(4.5 KB)
📄
vm.h
(2.04 KB)
📄
zone.h
(2.35 KB)
Editing: elf.h
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License (the "License"). * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. * See the License for the specific language governing permissions * and limitations under the License. * * When distributing Covered Code, include this CDDL HEADER in each * file and include the License file at usr/src/OPENSOLARIS.LICENSE. * If applicable, add the following below this CDDL HEADER, with the * fields enclosed by brackets "[]" replaced with your own identifying * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END * * $FreeBSD$ * * ELF compatibility definitions for OpenSolaris source. * */ #ifndef _SYS__ELF_SOLARIS_H_ #define _SYS__ELF_SOLARIS_H_ #include_next <sys/elf.h> #define __sElfN(x) typedef __CONCAT(__CONCAT(__CONCAT(Elf,__ELF_WORD_SIZE),_),x) x __sElfN(Addr); __sElfN(Cap); __sElfN(Dyn); __sElfN(Ehdr); __sElfN(Move); __sElfN(Off); __sElfN(Phdr); __sElfN(Rel); __sElfN(Rela); __sElfN(Shdr); __sElfN(Sym); __sElfN(Syminfo); __sElfN(Verdaux); __sElfN(Verdef); __sElfN(Vernaux); __sElfN(Verneed); __sElfN(Versym); __sElfN(Half); __sElfN(Sword); __sElfN(Word); #if __ELF_WORD_SIZE == 32 typedef Elf32_Word Xword; /* Xword/Sxword are 32-bits in Elf32 */ typedef Elf32_Sword Sxword; #else typedef Elf64_Xword Xword; typedef Elf64_Sxword Sxword; #endif #define ELF_M_INFO __ELFN(M_INFO) #define ELF_M_SIZE __ELFN(M_SIZE) #define ELF_M_SYM __ELFN(M_SYM) /* * Elf `printf' type-cast macros. These force arguments to be a fixed size * so that Elf32 and Elf64 can share common format strings. */ #define EC_ADDR(a) ((Elf64_Addr)(a)) /* "ull" */ #define EC_OFF(a) ((Elf64_Off)(a)) /* "ull" */ #define EC_HALF(a) ((Elf64_Half)(a)) /* "d" */ #define EC_WORD(a) ((Elf64_Word)(a)) /* "u" */ #define EC_SWORD(a) ((Elf64_Sword)(a)) /* "d" */ #define EC_XWORD(a) ((Elf64_Xword)(a)) /* "ull" */ #define EC_SXWORD(a) ((Elf64_Sxword)(a)) /* "ll" */ #define EC_LWORD(a) ((Elf64_Lword)(a)) /* "ull" */ #define elf_checksum __elfN(checksum) #define elf_fsize __elfN(fsize) #define elf_getehdr __elfN(getehdr) #define elf_getphdr __elfN(getphdr) #define elf_newehdr __elfN(newehdr) #define elf_newphdr __elfN(newphdr) #define elf_getshdr __elfN(getshdr) #define elf_xlatetof __elfN(xlatetof) #define elf_xlatetom __elfN(xlatetom) #define Elf_cap_entry __ElfN(cap_entry) #define Elf_cap_title __ElfN(cap_title) #define Elf_demangle_name __ElfN(demangle_name) #define Elf_dyn_entry __ElfN(dyn_entry) #define Elf_dyn_title __ElfN(dyn_title) #define Elf_ehdr __ElfN(ehdr) #define Elf_got_entry __ElfN(got_entry) #define Elf_got_title __ElfN(got_title) #define Elf_reloc_apply_reg __ElfN(reloc_apply_reg) #define Elf_reloc_apply_val __ElfN(reloc_apply_val) #define Elf_reloc_entry_1 __ElfN(reloc_entry_1) #define Elf_reloc_entry_2 __ElfN(reloc_entry_2) #define Elf_reloc_title __ElfN(reloc_title) #define Elf_phdr __ElfN(phdr) #define Elf_shdr __ElfN(shdr) #define Elf_syms_table_entry __ElfN(syms_table_entry) #define Elf_syms_table_title __ElfN(syms_table_title) #define Elf_ver_def_title __ElfN(ver_def_title) #define Elf_ver_line_1 __ElfN(ver_line_1) #define Elf_ver_line_2 __ElfN(ver_line_2) #define Elf_ver_line_3 __ElfN(ver_line_3) #define Elf_ver_line_4 __ElfN(ver_line_4) #define Elf_ver_line_5 __ElfN(ver_line_5) #define Elf_ver_need_title __ElfN(ver_need_title) #endif /* !_SYS__ELF_SOLARIS_H_ */
Upload File
Create Folder