Turnstone Operating System
Loading...
Searching...
No Matches
vmedu.64.c File Reference

VM EDU PCI(e) Mapping Test Program. More...

#include <types.h>
#include <hypervisor/hypervisor_guestlib.h>
#include <cpu.h>
#include <ports.h>
#include <buffer.h>
#include <stdbufs.h>
#include <pci.h>
#include <memory/paging.h>
#include <driver/edu.h>
#include <strings.h>

Functions

 MODULE ("turnstone.user.programs.vmedu")
 
_Noreturn void vmedu (void)
 
static void edu_isr (interrupt_frame_ext_t *frame)
 
static void edu_timer_isr (interrupt_frame_ext_t *frame)
 

Variables

static volatile edu_tedu = NULL
 
static volatile boolean_t isr_done = false
 
static uint64_t edu_timer_tick = 0
 
static uint64_t edu_timer_isr_test_end = 0
 

Detailed Description

VM EDU PCI(e) Mapping Test Program.

This is a sample program that will run in the VM. It has minimal dependencies and is used to test the VM.

This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.