Changeset 2824 for trunk/kLdr/kLdr.c
- Timestamp:
- Oct 21, 2006, 10:04:40 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kLdr/kLdr.c
r2821 r2824 25 25 */ 26 26 27 /** @pg pg_kLdr kLdr - The Dynamic Loader 28 * 29 * The purpose of kLdr is to provide a generic interface for querying 30 * information about and loading executable image modules. 31 * 32 * kLdr defines the term executable image to include all kinds of files that contains 33 * binary code that can be executed on a CPU - linker objects (OBJs/Os), shared 34 * objects (SOs), dynamic link libraries (DLLs), executables (EXEs), and all kinds 35 * of kernel modules / device drivers (SYSs). 36 * 37 * kLdr provides two types of services: 38 * -# Inspect or/and load individual modules (kLdrMod). 39 * -# Work as a dynamic loader - construct and maintain an address space (kLdrDy). 40 * 41 * The kLdrMod API works on KLDRMOD structures where all the internals are exposed, while 42 * the kLdrDy API works opque KLDRDY structures. KLDRDY are in reality simple wrappers 43 * around KLDRMOD with some extra linking and attributes. 44 * 45 */ 46 47 27 48 #include "kLdr.h" 28 29 /** memcpy */ 30 #define kLdrMemCopy(a,b,c) __builtin_memcpy(a,b,c) 31 /** Get the minimum of two values. */ 32 #define KLDR_MIN(a, b) ((a) <= (b) ? (a) : (b)) 49 #include "kLdrHlp.h" 33 50 34 51
Note:
See TracChangeset
for help on using the changeset viewer.