Rev 1229 | Rev 1315 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1229 | Rev 1248 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | */ |
27 | */ |
28 | 28 | ||
- | 29 | /** |
|
- | 30 | * @file main.c |
|
- | 31 | * @brief Main initialization kernel function for all processors. |
|
- | 32 | * |
|
- | 33 | * During kernel boot, all processors, after architecture dependent |
|
- | 34 | * initialization, start executing code found in this file. After |
|
- | 35 | * bringing up all subsystems, control is passed to scheduler(). |
|
- | 36 | * |
|
- | 37 | * The bootstrap processor starts executing main_bsp() while |
|
- | 38 | * the application processors start executing main_ap(). |
|
- | 39 | * |
|
- | 40 | * @see scheduler() |
|
- | 41 | * @see main_bsp() |
|
- | 42 | * @see main_ap() |
|
- | 43 | */ |
|
- | 44 | ||
29 | #include <arch/asm.h> |
45 | #include <arch/asm.h> |
30 | #include <context.h> |
46 | #include <context.h> |
31 | #include <print.h> |
47 | #include <print.h> |
32 | #include <panic.h> |
48 | #include <panic.h> |
33 | #include <debug.h> |
49 | #include <debug.h> |