MOS Source Code
Loading...
Searching...
No Matches
limine.c File Reference
#include "limine.h"
#include "mos/device/console.h"
#include "mos/misc/cmdline.h"
#include "mos/misc/setup.h"
#include "mos/mm/mm.h"
#include "mos/syslog/printk.h"
#include <mos_stdlib.h>
+ Include dependency graph for limine.c:

Go to the source code of this file.

Macros

#define pr_fmt(fmt)
 
#define limine_request   __section(".limine.requests") __used static volatile
 

Functions

MOS_WARNING_PUSH __used __section (".limine.markers.requests_start")
 
__used __section (".limine.markers.requests_end")
 
 __section (".limine.requests")
 
static void add_to_memmap (pfn_t start, size_t npages, bool reserved, u32 type, const char *typestr)
 
static void ap_entry (struct limine_smp_info *info)
 
void limine_entry (void)
 

Macro Definition Documentation

◆ pr_fmt

#define pr_fmt ( fmt)
Value:
"limine: " fmt
u32 const char * fmt
Definition assert.h:36

Definition at line 3 of file limine.c.

◆ limine_request

#define limine_request   __section(".limine.requests") __used static volatile

Definition at line 15 of file limine.c.

Function Documentation

◆ __section() [1/3]

MOS_WARNING_PUSH __used __section ( ".limine.markers.requests_start" )

Definition at line 20 of file limine.c.

◆ __section() [2/3]

__used __section ( ".limine.markers.requests_end" )

Definition at line 21 of file limine.c.

◆ __section() [3/3]

__section ( ".limine.requests" )

Definition at line 22 of file limine.c.

◆ add_to_memmap()

static void add_to_memmap ( pfn_t start,
size_t npages,
bool reserved,
u32 type,
const char * typestr )
static

Definition at line 39 of file limine.c.

Referenced by limine_entry().

◆ ap_entry()

static void ap_entry ( struct limine_smp_info * info)
static

Definition at line 59 of file limine.c.

Referenced by limine_entry().

+ Here is the call graph for this function:

◆ limine_entry()

void limine_entry ( void )

Definition at line 66 of file limine.c.

+ Here is the call graph for this function: