freemyipod r27 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r26‎ | r27 | r28 >
Date:19:15, 5 August 2010
Author:theseven
Status:new
Tags:
Comment:
Oops, commit some added header files that got lost
Modified paths:
  • /embios/trunk/strlen.h (added) (history)
  • /embios/trunk/usb/dbgconsole.h (added) (history)

Diff [purge]

Index: embios/trunk/usb/dbgconsole.h
@@ -0,0 +1,38 @@
 2+//
 3+//
 4+// Copyright 2010 TheSeven
 5+//
 6+//
 7+// This file is part of emBIOS.
 8+//
 9+// emBIOS is free software: you can redistribute it and/or
 10+// modify it under the terms of the GNU General Public License as
 11+// published by the Free Software Foundation, either version 2 of the
 12+// License, or (at your option) any later version.
 13+//
 14+// emBIOS is distributed in the hope that it will be useful,
 15+// but WITHOUT ANY WARRANTY; without even the implied warranty of
 16+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 17+// See the GNU General Public License for more details.
 18+//
 19+// You should have received a copy of the GNU General Public License along
 20+// with emBIOS. If not, see <http://www.gnu.org/licenses/>.
 21+//
 22+//
 23+
 24+
 25+#ifndef __DBGCONSOLE_H__
 26+#define __DBGCONSOLE_H__
 27+
 28+
 29+#include "global.h"
 30+
 31+
 32+void dbgconsole_putc(char string) ICODE_ATTR;
 33+void dbgconsole_puts(const char* string) ICODE_ATTR;
 34+void dbgconsole_write(const char* string, size_t length) ICODE_ATTR;
 35+int dbgconsole_getc(int timeout) ICODE_ATTR;
 36+int dbgconsole_read(const char* string, size_t length, int timeout) ICODE_ATTR;
 37+
 38+
 39+#endif
Index: embios/trunk/strlen.h
@@ -0,0 +1,34 @@
 2+//
 3+//
 4+// Copyright 2010 TheSeven
 5+//
 6+//
 7+// This file is part of emBIOS.
 8+//
 9+// emBIOS is free software: you can redistribute it and/or
 10+// modify it under the terms of the GNU General Public License as
 11+// published by the Free Software Foundation, either version 2 of the
 12+// License, or (at your option) any later version.
 13+//
 14+// emBIOS is distributed in the hope that it will be useful,
 15+// but WITHOUT ANY WARRANTY; without even the implied warranty of
 16+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 17+// See the GNU General Public License for more details.
 18+//
 19+// You should have received a copy of the GNU General Public License along
 20+// with emBIOS. If not, see <http://www.gnu.org/licenses/>.
 21+//
 22+//
 23+
 24+
 25+#ifndef __STRLEN_H__
 26+#define __STRLEN_H__
 27+
 28+
 29+#include "global.h"
 30+
 31+
 32+size_t strlen(const char *str);
 33+
 34+
 35+#endif