Main Page | Directories | File List | Globals

core.c File Reference

#include <agnix/agnix.h>
#include <agnix/adi/adi.h>
#include <agnix/init.h>
#include <agnix/net/net.h>
#include <agnix/memory.h>
#include <agnix/console.h>

Include dependency graph for core.c:

Go to the source code of this file.


#define MOD_NAME   "NET: "


int network_init (void)

Define Documentation

#define MOD_NAME   "NET: "

Definition at line 21 of file core.c.

Function Documentation

int network_init void   ) 

Definition at line 23 of file core.c.

References MOD_NAME, net_layer_2_init(), net_layer_3_init(), and printk().

Referenced by start_kernel().

00024 {
00025     printk(MOD_NAME "Initializing Network driver 0.0.1 for Agnix kernel\n");
00027     printk(MOD_NAME "Initializing Network Layers\n");
00028     net_layer_2_init();
00029     net_layer_3_init();
00031     return 0;
00032 }

Here is the call graph for this function:

Dokumentacje wygenerowano programem Doxygen 1.4.2 dla projektu Agnix