FrostWing
A lightweight raw-control operating system.
Loading...
Searching...
No Matches
cc-asm.h File Reference

Cross-compatible ASM header. More...

#include <basics.h>
Include dependency graph for cc-asm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void hcf (void)
 Halt and catch fire function.
void clear_interrupts (void)
 The clear interrupts command for all architectures.
void set_interrupts (void)
 The set interrupts command for various architectures.
void high_level_halt (void)
 It uses while loops instead of assembly's halt, Good for Userland.
void hcf2 (void)
 Halt and catch fire function but doesn't print any text.
void wrmsr64 (uint32_t msr, uint64_t value)
uint64_t rdmsr64 (uint32_t msr)
uint64_t rdtsc64 (void)

Detailed Description

Cross-compatible ASM header.

Author
Pradosh (prado.nosp@m.shga.nosp@m.me@gm.nosp@m.ail..nosp@m.com)
Version
0.1
Date
2023-12-10

Definition in file cc-asm.h.