Retro Rocket Kernel BASIC-Powered Operating System

Typedefs | Functions
spinlock.h File Reference

## Typedefs
typedef uint32_t | spinlock

## Functions
void | init_spinlock (spinlock *s)
void | lock_spinlock (spinlock *s)
void | unlock_spinlock (spinlock *s)
void | get_ioapic_address (uint64_t *apic)

## 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

## Typedef Documentation

## ◆ spinlock

typedef uint32_t spinlock

## Function Documentation

## ◆ get_ioapic_address()

void get_ioapic_address | ( | uint64_t * | apic | ) |

## ◆ init_spinlock()

void init_spinlock | ( | spinlock * | s | ) |

## ◆ lock_spinlock()

void lock_spinlock | ( | spinlock * | s | ) |

## ◆ unlock_spinlock()

void unlock_spinlock | ( | spinlock * | s | ) |