* to md2_perm function you must chanche CONFIG_MD2_STD_PERM defined in
* appconfig.h.
* If you need to store array in program memory you must define
- * a macro _PROGMEM (for more info see mware/pgm.h).
+ * a macro _PROGMEM (for more info see cpu/pgm.h).
*
*
* \version $Id$
#include <cfg/compiler.h>
#include <cfg/debug.h> //ASSERT()
#include <cfg/macros.h> //MIN(), countof(), ROTR();
-#include <mware/pgm.h>
+#include <cpu/pgm.h>
#if CONFIG_MD2_STD_PERM
*#*/
#include "tea.h"
-#include <mware/byteorder.h>
+#include <cpu/byteorder.h>
static uint32_t tea_func(uint32_t *in, uint32_t *sum, uint32_t *k)
{
void __init_wall(long *wall, int size);
#if CPU_HARVARD
- #include <mware/pgm.h>
+ #include <cpu/pgm.h>
void kputs_P(const char *PROGMEM str);
void kprintf_P(const char *PROGMEM fmt, ...) FORMAT(__printf__, 1, 2);
int __bassert_P(const char *PROGMEM cond, const char *PROGMEM file, int line);
#include <drv/ser.h>
#include <drv/ser_p.h>
-#include <mware/fifobuf.h>
+#include <struct/fifobuf.h>
#define SERIRQ_PRIORITY 4 ///< default priority for serial irqs.
#include <drv/ser_p.h>
#include <drv/timer.h>
-#include <mware/fifobuf.h>
+#include <struct/fifobuf.h>
#include <avr/io.h>
* \note This module contains code ripped out from avr-libc,
* which is distributed under a 3-clause BSD license.
*
- * \version $Id:$
+ * \version $Id$
* \author Bernie Innocenti <bernie@codewiz.org>
*/
#ifndef MWARE_PGM_H
#include <drv/wdt.h>
-#include <mware/byteorder.h> // cpu_to_be16()
+#include <cpu/byteorder.h> // cpu_to_be16()
#include <string.h> // memset()
#include "cfg/cfg_kbd.h" // CONFIG_KBD_OBSERVER
#include <cfg/compiler.h>
-#include <mware/list.h>
+#include <struct/list.h>
/**
* \name Keyboard polling modes.
#include <cpu/types.h>
#include <mware/formatwr.h> /* for _formatted_write() */
-#include <mware/pgm.h>
+#include <cpu/pgm.h>
#ifdef _DEBUG
#include <drv/timer.h> // timer_delay()
#include <mware/formatwr.h> // _formatted_write()
-#include <mware/list.h> // LIST_EMPTY()
+#include <struct/list.h> // LIST_EMPTY()
#include <string.h> // strlen()
#include <cfg/macros.h>
#include <cfg/compiler.h>
-#include <mware/list.h>
+#include <struct/list.h>
#include <stdarg.h> // vprintf()
#define DRV_SER_H
#include <kern/kfile.h>
-#include <mware/fifobuf.h>
+#include <struct/fifobuf.h>
#include <cfg/compiler.h>
#if OS_HOSTED
#include <cfg/debug.h>
#include <cfg/compiler.h>
-#include <mware/list.h>
+#include <struct/list.h>
extern volatile ticks_t _clock;
#include <dt/dtag.h>
#include <dt/dnotifier.h>
-#include <mware/list.h>
+#include <struct/list.h>
/**
* Default update used to notify target: notify all trasparently all
#include <cfg/debug.h>
#include <dt/dtag.h>
-#include <mware/list.h>
+#include <struct/list.h>
//Fwd declaretion.
struct DNotifier;
#include <drv/ser.h>
#include <drv/ser_p.h>
-#include <mware/fifobuf.h>
+#include <struct/fifobuf.h>
#include <sys/types.h>
#include <sys/stat.h>
#if 0
#include <cfg/debug.h>
#include <cfg/macros.h> /* MIN, MAX */
-#include <mware/byteorder.h> /* cpu_to_xx */
+#include <cpu/byteorder.h> /* cpu_to_xx */
#include <string.h> /* memset, memmove */
#include <cfg/compiler.h> // uintXX_t; STATIC_ASSERT
#include <cpu/types.h> // CPU_BITS_PER_CHAR
#include <algo/rotating_hash.h>
-#include <mware/list.h>
+#include <struct/list.h>
#include <kern/kfile.h>
typedef uint16_t fill_t; ///< Type for keeping trace of space filled inside a page
#define GFX_FONT_H
#include <cfg/compiler.h> /* uint8_t */
-#include <mware/pgm.h> /* PROGMEM */
+#include <cpu/pgm.h> /* PROGMEM */
typedef struct Font
{
void gfx_setClipRect(Bitmap *bm, coord_t xmin, coord_t ymin, coord_t xmax, coord_t ymax);
#if CPU_HARVARD
- #include <mware/pgm.h>
+ #include <cpu/pgm.h>
void gfx_blit_P(Bitmap *bm, const pgm_uint8_t *raster);
#endif
/* Text formatting functions for program-memory strings (mware/text_format.c) */
#if CPU_HARVARD
-#include <mware/pgm.h>
+#include <cpu/pgm.h>
int text_puts_P(const char * PROGMEM str, struct Bitmap *bm);
int text_vprintf_P(struct Bitmap *bm, const char * PROGMEM fmt, va_list ap);
int text_printf_P(struct Bitmap *bm, const char * PROGMEM fmt, ...) FORMAT(__printf__, 2, 3);
*#*/
#include "win.h"
-#include <mware/list.h>
+#include <struct/list.h>
/**
* Map the contents of all child-windows into the bitmap of \a w.
#ifndef GFX_WIN_H
#define GFX_WIN_H
-#include <mware/list.h> /* Node, List */
+#include <struct/list.h> /* Node, List */
#include <gfx/gfx.h> /* coord_t */
#include <gui/levelbar.h>
-#include <mware/pgm.h>
+#include <cpu/pgm.h>
#include <gfx/text.h>
#include <gfx/font.h>
#include "logo.h"
#include <cfg/compiler.h>
-#include <mware/pgm.h>
+#include <cpu/pgm.h>
/**
* BeRTOS logo
#if CONFIG_KERN_MONITOR
#include "proc_p.h"
-#include <mware/list.h>
+#include <struct/list.h>
#include <drv/timer.h>
#include <kern/proc.h>
#include <cpu/frame.h> /* CPU_STACK_GROWS_UPWARD */
#define KERN_MSG_H
#include <mware/event.h>
-#include <mware/list.h>
+#include <struct/list.h>
#include <kern/proc.h>
typedef struct MsgPort
#include <cpu/types.h> /* for cpu_stack_t */
-#include <mware/list.h>
+#include <struct/list.h>
typedef struct Process
{
#define KERN_SEM_H
#include <cfg/compiler.h>
-#include <mware/list.h>
+#include <struct/list.h>
/* Fwd decl */
struct Process;
#include "cfg/cfg_formatwr.h" /* CONFIG_ macros */
#include <cfg/debug.h> /* ASSERT */
-#include <mware/pgm.h>
+#include <cpu/pgm.h>
#include <mware/hex.h>
#ifndef CONFIG_PRINTF_N_FORMATTER
va_list ap);
#if CPU_HARVARD
- #include <mware/pgm.h>
+ #include <cpu/pgm.h>
int _formatted_write_P(
const char * PROGMEM format,
void put_char_func(char c, void *user_data),
#ifndef MWARE_OBSERVER_H
#define MWARE_OBSERVER_H
-#include <mware/list.h>
+#include <struct/list.h>
/**
*
#include "cfg/cfg_parser.h"
#include <drv/ser.h>
-#include <mware/hashtable.h>
+#include <struct/hashtable.h>
#include <stdlib.h> // atol(), NULL
#include <string.h> // strchr(), strcmp()
*/
#include <mware/formatwr.h>
-#include <mware/pgm.h>
+#include <cpu/pgm.h>
#include <cfg/compiler.h>
#include <stdio.h>
#include <cfg/test.h>
#include <cfg/debug.h>
-#include <mware/pgm.h>
+#include <cpu/pgm.h>
#include <stdio.h>
#include <kern/kfile.h>
-#include <mware/byteorder.h>
+#include <cpu/byteorder.h>
#include <string.h>
#include <drv/timer.h>
-#include <mware/byteorder.h>
+#include <cpu/byteorder.h>
#include <string.h>