OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [bootloaders/] [orpmon/] [include/] [hdbug.h] - Blame information for rev 248

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 marcus.erl
/*
2
    atabug.h -- ATA debugging (C-header file)
3
    Copyright (C) 2002 Richard Herveille, rherveille@opencores.org
4
 
5
    This file is part of OpenRISC 1000 Reference Platform Monitor (ORPmon)
6
 
7
    This program is free software; you can redistribute it and/or modify
8
    it under the terms of the GNU General Public License as published by
9
    the Free Software Foundation; either version 2 of the License, or
10
    (at your option) any later version
11
 
12
    This program is distributed in the hope that it will be useful,
13
    but WITHOUT ANY WARRANTY; without even the implied warranty of
14
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
    GNU General Public License for more details.
16
 
17
    You should have received a copy of the GNU General Public License
18
    along with this program; if not, write to the Free Software
19
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
*/
21
 
22
/*
23
 * Definitions for the Opencores ATA Controller Core
24
 */
25
 
26
#ifndef __OC_HDBUG_H
27
#define __OC_HDBUG_H
28
 
29
 
30
#define HD_DEBUG
31
 
32
 
33
#define MAX_HDBUG_COMMANDS  10
34
 
35
/* ----------------------------                                       */
36
/* ----- Prototypes       -----                                       */
37
/* ----------------------------                                       */
38
void module_hdbug_init (void);
39
int hdbug(int argc, char **argv);
40
int hdbug_exit(int argc, char **argv);
41
int hdbug_help(int argc, char **argv);
42
void register_hdbug_command (const char *name, const char *params, const char *help, int (*func)(int argc, char *argv[]));
43
int hdbug_mon_command(void);
44
int execute_hdbug_command(char *pstr, int argc, char **argv);
45
 
46
int hdbug_umount_cmd(int arc, char **argv);
47
int hdbug_mount_cmd(int argc, char **argv);
48
 
49
int hdbug_cd_cmd(int argc, char **argv);
50
 
51
int hdbug_dir_cmd(int argc, char **argv);
52
int hdbug_dir_print(struct dos_dir_entry *entry);
53
 
54
 
55
inline void *swap(void *var, size_t size);
56
 
57
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.