Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

mbtrampoline.cpp File Reference


Detailed Description

Multiboot trampoline to bounce from the multiboot entry point to the kernel entry point.

#include <arch/multiboot.h>
#include <iomanip>
#include <kiostream.h>
#include <types.h>

Include dependency graph for mbtrampoline.cpp:


Functions

void mbtrampoline (Zygoma::u32 multibootMagic, Zygoma::u32 multibootAddress)
 The multiboot loader trampoline thunk.

Function Documentation

void mbtrampoline Zygoma::u32  multibootMagic,
Zygoma::u32  multibootAddress
 

The multiboot loader trampoline thunk.

This function validates the multiboot information structire passed in from the multiboot-compliant bootloader (such as GRUB) and stores the pointer to it in a globall-accessible location.

Parameters:
multibootMagic The multiboot magic number passed by the bootloader. Legitimate bootloaders will pass 0x2badb002.
multibootAddress A pointer to the start of the multiboot information block passed from the bootloader.

Here is the call graph for this function:


Generated on Fri Sep 2 10:44:51 2005 for zygoma by doxygen 1.4.2