StuBS
appl.cc File Reference
#include "user/app1/appl.h"
#include "debug/output.h"
#include "types.h"
#include "device/textstream.h"
#include "machine/core.h"
#include "machine/system.h"
#include "syscall/guarded_bell.h"
#include "syscall/guarded_semaphore.h"
#include "machine/pit.h"
Include dependency graph for appl.cc:

Constants

TextStream kout
 
GuardedSemaphore koutsem
 
static const int melody [][2]
 

Variable Documentation

◆ kout

TextStream kout
extern

◆ koutsem

GuardedSemaphore koutsem
extern

◆ melody

const int melody[][2]
static
Initial value:
= {
{392, 500}, {262, 500}, {311, 250}, {349, 250}, {392, 500}, {262, 500}, {311, 250}, {349, 250},
{392, 500}, {262, 500}, {311, 250}, {349, 250}, {392, 500}, {262, 500}, {311, 250}, {349, 250},
{392, 500}, {262, 500}, {330, 250}, {349, 250}, {392, 500}, {262, 500}, {330, 250}, {349, 250},
{392, 500}, {262, 500}, {330, 250}, {349, 250}, {392, 500}, {262, 500}, {330, 250}, {349, 250},
{392, 500}, {262, 500}, {311, 250}, {349, 250}, {294, 500}, {196, 500}, {233, 250}, {262, 250},
{294, 500}, {196, 500}, {233, 250}, {262, 250}, {294, 500}, {196, 500}, {233, 250}, {262, 250},
{294, 500}, {196, 500}, {233, 250}, {262, 250}, {294, 1000}, {349, 1000}, {233, 1000}, {311, 250},
{294, 250}, {349, 1000}, {233, 1000}, {311, 250}, {294, 250}, {262, 500}, {208, 250}, {233, 250},
{262, 500}, {175, 500}, {208, 250}, {233, 250}, {262, 500}, {175, 500}, {208, 250}, {233, 250},
{262, 500}, {175, 500}, {392, 1000}, {262, 1000}, {311, 250}, {349, 250}, {392, 1000}, {262, 1000},
{311, 250}, {349, 250}, {294, 500}, {196, 500}, {233, 250}, {262, 250}, {294, 500}, {196, 500},
{233, 250}, {262, 250}, {294, 500}, {196, 500}, {233, 250}, {262, 250}, {294, 500}, {196, 500},
{233, 250}, {262, 250}, {294, 500}, {0, 200}}