Retro Rocket Kernel BASIC-Powered Operating System

Macros | Functions
kernel.h File Reference
`#include <stdint.h>`
`#include <stdbool.h>`
`#include <stddef.h>`
`#include <limits.h>`
`#include <limine.h>`
`#include "idt.h"`
`#include "spinlock.h"`
`#include "printf.h"`
`#include "hashmap.h"`
`#include "random.h"`
`#include "video.h"`
`#include "string.h"`
`#include "io.h"`
`#include "memcpy.h"`
`#include "apic.h"`
`#include "ioapic.h"`
`#include "timer.h"`
`#include "kmalloc.h"`
`#include "pci.h"`
`#include "maths.h"`
`#include "devicename.h"`
`#include "interrupt.h"`
`#include "ahci.h"`
`#include "ata.h"`
`#include "filesystem.h"`
`#include "partition.h"`
`#include "ramdisk.h"`
`#include "iso9660.h"`
`#include "devfs.h"`
`#include "fat32.h"`
`#include "debugger.h"`
`#include "errorhandler.h"`
`#include "keyboard.h"`
`#include "input.h"`
`#include "clock.h"`
`#include "lapic_timer.h"`
`#include "basic.h"`
`#include "basic_tokenizer.h"`
`#include "taskswitch.h"`
`#include "acpi.h"`
`#include "net.h"`
`#include "rtl8139.h"`
`#include "e1000.h"`
`#include "arp.h"`
`#include "ip.h"`
`#include "ethernet.h"`
`#include "tcp.h"`
`#include "icmp.h"`
`#include "udp.h"`
`#include "dhcp.h"`
`#include "dns.h"`
`#include "drawing.h"`
`#include "fpu.h"`

## Macros
#define | kprintf printf
#define | assert(expr, message)

## Functions
void | network_up ()
void | network_down ()

## Detailed Description

Author
  Craig Edwards (craig.nosp@m.edwa.nosp@m.rds@b.nosp@m.rain.nosp@m.box.c.nosp@m.c)

Copyright
  Copyright (c) 2012-2023

## Macro Definition Documentation

## ◆ assert

#define assert | ( |  | expr,
|  |  | message
| ) |  |

Value:
if (!(expr)) { \
kprintf("Assertion failure at %s:%s: %s", message, __FILE__,__LINE__); \
__asm__ volatile("int3"); }
expr
int64_t expr(struct basic_ctx *ctx)

## ◆ kprintf

#define kprintf printf

## Function Documentation

## ◆ network_down()

void network_down | ( |  | ) |

## ◆ network_up()

void network_up | ( |  | ) |