Revise header comments for vnet.h as we now implement VNET_SYSINIT, not

just VNET_DEFINE in vnet.h.

Approved by:	re (vimage blanket)
This commit is contained in:
Robert Watson 2009-07-28 22:17:34 +00:00
parent b146fc1bf0
commit a9bcca799e

View File

@ -28,10 +28,14 @@
*/ */
/* /*
* This is the virtual network stack memory allocator, which provides support * This header file defines two sets of interfaces supporting virtualized
* for virtualized global variables via a special linker set, set_vnet. When * network stacks: a virtual network stack memory allocator, which provides
* "options VIMAGE" isn't defined, virtualized global variables are compiled * support for virtualized global variables via a special linker set,
* as normal globals. * set_vnet, and virtualized sysinits/sysuninits, which allow constructors
* and destructors to be run for each network stack subsystem as virtual
* instances are created and destroyed. If VIMAGE isn't compiled into the
* kernel, virtualized global variables compile to normal global variables,
* and virtualized sysinits to regular sysinits.
*/ */
#ifndef _NET_VNET_H_ #ifndef _NET_VNET_H_