Skip to content

Commit

Permalink
Some (untested) functions more
Browse files Browse the repository at this point in the history
  • Loading branch information
eduperez committed Apr 29, 2015
1 parent 04e5197 commit d2e0c72
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 6 deletions.
6 changes: 0 additions & 6 deletions funclist.S
Original file line number Diff line number Diff line change
Expand Up @@ -14150,12 +14150,8 @@ DEF(factoryRemote_sub_FF9D8E24, 0xFF9D8E24)
DEF(factoryRemote_sub_FF9D93B8, 0xFF9D93B8)
DEF(fdConsole, 0x0000199C)
DEF(fdTable, 0x00029820)
DEF(fdprintf, 0xFFB5073C)
DEF(ffsLsb, 0xFFB33E58)
DEF(ffsMsb, 0xFFB33E14)
DEF(fioFormatV, 0xFFB4F9F4)
DEF(fioLibInit, 0xFFB50AE8)
DEF(fioScanV, 0xFFB4F338)
DEF(flushRtn, 0xFFB5F294)
DEF(fmRemoveFileByPath, 0xFFA8CBEC)
DEF(fpClassId, 0x0000DE44)
Expand Down Expand Up @@ -14719,8 +14715,6 @@ DEF(pmgrNotifyRmObject, 0xFF9E6860)
DEF(pmgrTransferRequeset, 0xFF9E664C)
DEF(ppEntry, 0xFF9DA64C)
DEF(ppGlobalEnv, 0x00027660)
DEF(printErr, 0xFFB50A74)
DEF(printExc, 0xFFB50768)
DEF(printFrame_sub_FF95F348, 0xFF95F348)
DEF(printPartitionTable, 0xFFAD6254)
DEF(print_log_DP, 0xFF965758)
Expand Down
25 changes: 25 additions & 0 deletions vxworks/fioLib.S
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#include "../stub.h"

DEF(fioLibInit, 0xFFB50AE8)
DEF(fioFltInstall,0xFFB50ACC)
DEF(printf, 0xFFB50AA0)
DEF(printErr, 0xFFB50A74)
DEF(printExc, 0xFFB50768)
DEF(fdprintf, 0xFFB5073C)
DEF(sprintf, 0xFFB506F8)
DEF(vprintf, 0xFFB506E0)
DEF(vfdprintf, 0xFFB506C0)
DEF(vsprintf, 0xFFB50684)
DEF(fioFormatV, 0xFFB4F9F4)
//DEF(putbuf, 0x????????)
DEF(printbuf, 0xFFB4F9CC)
DEF(fioRead, 0xFFB4F974)
DEF(fioRdString, 0xFFB4F8D4)
DEF(sscanf, 0xFFB4F890)
DEF(getbuf, 0xFFB4F868)
DEF(fioScanV, 0xFFB4F338)
DEF(scanField, 0xFFB4EF48)
DEF(scanString, 0xFFB4EE98)
DEF(scanChar, 0xFFB4EE18)
DEF(scanCharSet, 0xFFB4EC5C)
DEF(scanNum, 0xFFB4EA20)
9 changes: 9 additions & 0 deletions vxworks/fioLib.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#ifndef VXWORKS_FIOLIB_H_
#define VXWORKS_FIOLIB_H_

extern void fioLibInit (void);
extern int fioFormatV (const char *fmt, va_list vaList, FUNCPTR outRoutine, int outarg);
extern int fioRead (int fd, char *buffer, int maxbytes);
extern int fioRdString (int fd, char string[], int maxbytes);

#endif /* VXWORKS_FIOLIB_H_ */
14 changes: 14 additions & 0 deletions vxworks/stdio.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#ifndef VXWORKS_STDIO_H_
#define VXWORKS_STDIO_H_

extern int fdprintf (int fd, const char *fmt, ...);
extern int printf (const char *, ...);
extern int printErr (const char *fmt, ...);
extern int sprintf (char *, const char *, ...);
extern int sscanf (const char *, const char *, ...);
extern int vfdprintf (int fd, const char *fmt, va_list ap);
extern int vfprintf (FILE *, const char *, va_list);
extern int vprintf (const char *, va_list);
extern int vsprintf (char *, const char *, va_list);

#endif /* VXWORKS_STDIO_H_ */

0 comments on commit d2e0c72

Please sign in to comment.