Chameleon

Chameleon Svn Source Tree

Root/branches/meklort/i386/boot2/prompt.c

Source at commit 292 created 13 years 10 months ago.
By zef, Added cache support for FAT filesystems. Now booting from an average speed flash drive formatted to FAT32 fs using 512 byte cluster size is about 50 times faster.
1/*
2 * Copyright (c) 1999-2003 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
6 * Portions Copyright (c) 1999-2003 Apple Computer, Inc. All Rights
7 * Reserved. This file contains Original Code and/or Modifications of
8 * Original Code as defined in and that are subject to the Apple Public
9 * Source License Version 2.0 (the "License"). You may not use this file
10 * except in compliance with the License. Please obtain a copy of the
11 * License at http://www.apple.com/publicsource and read it before using
12 * this file.
13 *
14 * The Original Code and all software distributed under the License are
15 * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
16 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
17 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE OR NON- INFRINGEMENT. Please see the
19 * License for the specific language governing rights and limitations
20 * under the License.
21 *
22 * @APPLE_LICENSE_HEADER_END@
23 */
24/*
25 * Copyright 1993 NeXT, Inc.
26 * All rights reserved.
27 */
28
29#include "vers.h"
30
31char bootBanner[] = "\nDarwin/x86 boot v" I386BOOT_VERSION " - Chameleon v" I386BOOT_CHAMELEONVERSION " r" I386BOOT_CHAMELEONREVISION "\n"
32 "Build date: " I386BOOT_BUILDDATE "\n"
33 "%dMB memory\n";
34
35char bootPrompt[] =
36 "Press Enter to start up Darwin/x86 with no options, or you can:\n"
37 " Type -v and press Enter to start up with diagnostic messages\n"
38 " Type ? and press Enter to learn about advanced startup options\n\n"
39 "boot: ";
40
41char bootRescanPrompt[] =
42 "Press Enter to start up Darwin/x86 with no options, or you can:\n"
43 " Press F5 after you swapped the media. The drive will be rescanned.\n"
44 " Type -v and press Enter to start up with diagnostic messages\n"
45 " Type ? and press Enter to learn about advanced startup options\n\n"
46 "boot: ";
47

Archive Download this file

Revision: 292