From 580425615e8ae08ef091b97d80e232b4a9d7306f Mon Sep 17 00:00:00 2001 From: bernd Date: Mon, 25 Jul 2011 08:51:22 +0200 Subject: [PATCH] Replaced usbMSC functions with dummy "implementations" in simulat0r --- simulat0r/firmware/usb/usbmsc.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/simulat0r/firmware/usb/usbmsc.c b/simulat0r/firmware/usb/usbmsc.c index d660d22..17799cb 100644 --- a/simulat0r/firmware/usb/usbmsc.c +++ b/simulat0r/firmware/usb/usbmsc.c @@ -1,2 +1,29 @@ /* AUTOGENERATED SOURCE FILE */ + +#define usbMSCWrite _hideaway_usbMSCWrite +#define usbMSCRead _hideaway_usbMSCRead +#define usbMSCInit _hideaway_usbMSCInit +#define usbMSCOff _hideaway_usbMSCOff #include "../../../firmware/usb/usbmsc.c" +#undef usbMSCWrite +#undef usbMSCRead +#undef usbMSCInit +#undef usbMSCOff + +#include + +void usbMSCWrite(uint32_t offset, uint8_t src[], uint32_t length) { + fprintf(stderr,"unimplemented: usbMSCWrite(offset=%d, src, length=%d)\n",offset,length); +} + +void usbMSCRead(uint32_t offset, uint8_t dst[], uint32_t length) { + fprintf(stderr,"unimplemented: usbMSCRead(offset=%d, dst, length=%d)\n",offset,length); +} + +void usbMSCInit(void) { + fprintf(stderr,"unimplemented: usbMSCInit(void)\n"); +} + +void usbMSCOff(void) { + fprintf(stderr,"unimplemented: usbMSCOff(void)\n"); +}