003 File Manager
Current Path:
/usr/src/usr.sbin/kldxref
usr
/
src
/
usr.sbin
/
kldxref
/
📁
..
📄
Makefile
(221 B)
📄
Makefile.depend
(273 B)
📄
ef.c
(16.03 KB)
📄
ef.h
(2.62 KB)
📄
ef_aarch64.c
(2.4 KB)
📄
ef_amd64.c
(3.42 KB)
📄
ef_i386.c
(2.98 KB)
📄
ef_mips.c
(3.09 KB)
📄
ef_nop.c
(1.6 KB)
📄
ef_obj.c
(15.63 KB)
📄
ef_powerpc.c
(2.56 KB)
📄
ef_riscv.c
(2.52 KB)
📄
fileformat
(955 B)
📄
kldxref.8
(2.92 KB)
📄
kldxref.c
(20.68 KB)
Editing: fileformat
$FreeBSD$ linker.hints file consists from the one or more records, and is processed by sys/kern/kern_linker.c::linker_hints_lookup() First record of file is special and determines its version: int version; All subsequent records have following format: struct record { int length; /* length of following data */ char data[length]; }; Each record is aligned on sizeof(int) boundary. First integer of the field 'data' determines its type: struct data { int type; /* type of data. currently MDT_* values */ }; The rest of record depends on the type. struct string { uint8_t length; /* length of string */ char val[]; /* string itself (no terminating zero) */ }; struct data_mdt_version { int type = MDT_VERSION; struct string modname; /* padding */ int version; struct string kldname; /* padding */ }; struct data_mdt_module { int type = MDT_MODULE; struct string modname; struct string kldname; /* padding */ };
Upload File
Create Folder