Chameleon

Chameleon Svn Source Tree

Root/branches/rewrite/i386/modules/BiosDisk/Main.cpp

Source at commit 1080 created 12 years 10 months ago.
By meklort, Add missing files...
1/*
2 * Copyright (c) 2011 Evan Lojewski. All rights reserved.
3 *
4 */
5
6#include <IOKit/IOTypes.h>
7#include <BiosDisk.hpp>
8
9extern "C"
10{
11#include "libsaio.h"
12 void BiosDisk_start();
13}
14
15void BiosDisk_start()
16{
17 BiosDisk* disk = new BiosDisk("bios:/hd0/");
18
19 printf("This is a simple BootDisk_start test.\n");
20 delete disk;
21
22 halt();
23}

Archive Download this file

Revision: 1080