WKern
Loading...
Searching...
No Matches
global.h File Reference
#include <types/bool.h>
#include <types/nums.h>

Go to the source code of this file.

Macros

#define ATTR(x)
 Apply X attribute.
#define PKG   ATTR(packed)
 Add attribute packed.
#define NULL   ((void *)0)

Functions

 __attribute__ ((unused)) static volatile char *vmem
 x86 Video Memory Address

Variables

int row
int col
bool capson
bool shift
char * name
u32 iob

Macro Definition Documentation

◆ ATTR

#define ATTR ( x)
Value:
__attribute__((noreturn))
Kernel Panics with Message.
Definition panic.c:24

Apply X attribute.

Definition at line 33 of file global.h.

◆ NULL

#define NULL   ((void *)0)

Definition at line 39 of file global.h.

◆ PKG

struct GdtPtr PKG   ATTR(packed)

Add attribute packed.

Definition at line 35 of file global.h.

Function Documentation

◆ __attribute__()

__attribute__ ( (unused) ) volatile

x86 Video Memory Address

Variable Documentation

◆ capson

bool capson
extern

Definition at line 34 of file main.c.

◆ col

int col
extern

Definition at line 33 of file main.c.

◆ iob

u32 iob
extern

Definition at line 36 of file main.c.

◆ name

char* name
extern

Definition at line 31 of file main.c.

◆ row

int row
extern

Definition at line 32 of file main.c.

◆ shift

bool shift
extern

Definition at line 35 of file main.c.