Pip
Architecture-dependent parts of Pip: MAL, IAL and boot
Macros | Functions | Variables
x86_multiboot/boot/boot.c File Reference
#include <stdint.h>
#include "mal.h"
#include "fpinfo.h"
#include "debug.h"
#include "serial.h"
#include "multiboot.h"
#include "mmu.h"
#include "libc.h"
#include "gdt.h"
#include "idt.h"
#include "Services.h"

Macros

#define STACK_TOP_ADDR   0XFFFFE000
 
#define MULTIPLEXER_LOAD_ADDR   (uint32_t)&__multiplexer
 

Functions

void __multiplexer ()
 Virtual address at which to load the multiplexer. More...
 
void spawnFirstPartition (void)
 
int c_main (struct multiboot *mbootPtr)
 Entrypoint. More...
 

Variables

pip_fpinfofpinfo
 

Macro Definition Documentation

◆ MULTIPLEXER_LOAD_ADDR

#define MULTIPLEXER_LOAD_ADDR   (uint32_t)&__multiplexer

◆ STACK_TOP_ADDR

#define STACK_TOP_ADDR   0XFFFFE000

Function Documentation

◆ __multiplexer()

void __multiplexer ( )

Virtual address at which to load the multiplexer.

◆ c_main()

int c_main ( struct multiboot mboot_ptr)

Entrypoint.

Entrypoint of the C kernel.

Parameters
mboot_ptrPointer to the multiboot structure, should be on EBX after boot0.s
Returns
Should not return.

◆ spawnFirstPartition()

void spawnFirstPartition ( void  )

Variable Documentation

◆ fpinfo