Chameleon

Chameleon Svn Source Tree

Root/trunk/i386/boot2/ramdisk.h

1/*
2 * Supplemental ramdisk functions for the multiboot ramdisk driver
3 * Copyright 2009 Tamas Kosarszky. All rights reserved.
4 *
5 */
6
7#ifndef __BOOT_RAMDISK_H
8#define __BOOT_RAMDISK_H
9
10#define RAMDISKCONFIG_FILENAME "rd(0,0)/RAMDisk.plist"
11
12/* mboot.c */
13extern struct multiboot_info *gMI;
14extern int multibootRamdiskReadBytes( int biosdev, unsigned int blkno,
15 unsigned int byteoff,
16 unsigned int byteCount, void * buffer );
17extern int multiboot_get_ramdisk_info(int biosdev, struct driveInfo *dip);
18//
19
20extern BVRef gRAMDiskVolume;
21extern bool gRAMDiskBTAliased;
22
23extern void setRAMDiskBTHook(bool mode);
24extern int mountRAMDisk(const char * param);
25extern void processRAMDiskCommand(char ** argPtr, const char * cmd);
26extern int loadPrebootRAMDisk();
27
28#endif /* !__BOOT_RAMDISK_H */
29

Archive Download this file

Revision: 151