20#ifndef __DC_FS_DCLOAD_H
21#define __DC_FS_DCLOAD_H
43#define DCLOADMAGICVALUE 0xdeadbeef
46#define DCLOADMAGICADDR (uint32_t *)0x8c004004
49#define DCLOAD_TYPE_NONE -1
50#define DCLOAD_TYPE_SER 0
51#define DCLOAD_TYPE_IP 1
64#define DCLOAD_UNLINK 6
68#define DCLOAD_FSTAT 10
71#define DCLOAD_UTIME 13
72#define DCLOAD_ASSIGNWRKMEM 14
74#define DCLOAD_OPENDIR 16
75#define DCLOAD_CLOSEDIR 17
76#define DCLOAD_READDIR 18
77#define DCLOAD_GETHOSTINFO 19
78#define DCLOAD_GDBPACKET 20
79#define DCLOAD_REWINDDIR 21
82int dcloadsyscall(uint32_t syscall, ...);
93typedef struct dcload_dirent dcload_dirent_t;
96typedef struct dcload_stat {
117void dcload_printk(
const char *str);
120size_t dcload_gdbpacket(
const char *in_buf,
size_t in_size,
char *out_buf,
size_t out_size);
123void fs_dcload_init_console(
void);
124void fs_dcload_init(
void);
125void fs_dcload_shutdown(
void);
Virtual filesystem support.
int dcload_type
What type of dcload connection do we have?
Debug I/O Interface.
Definition dbgio.h:39