From 411e6a635117a17986c22d98176e80c6921f70a6 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 27 Feb 2010 08:40:21 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1678 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/kernel/include/ch.h | 38 +++++++++---------- os/kernel/include/{condvars.h => chcond.h} | 0 os/kernel/include/{debug.h => chdebug.h} | 0 os/kernel/include/{events.h => chevents.h} | 0 os/kernel/include/{heap.h => chheap.h} | 0 os/kernel/include/{channels.h => chioch.h} | 0 os/kernel/include/{lists.h => chlists.h} | 0 os/kernel/include/{mailboxes.h => chmboxes.h} | 0 os/kernel/include/{memcore.h => chmemcore.h} | 0 .../include/{mempools.h => chmempools.h} | 0 os/kernel/include/{messages.h => chmsg.h} | 0 os/kernel/include/{mutexes.h => chmtx.h} | 0 os/kernel/include/{queues.h => chqueues.h} | 0 .../include/{registry.h => chregistry.h} | 0 os/kernel/include/{scheduler.h => chschd.h} | 0 os/kernel/include/{semaphores.h => chsem.h} | 0 os/kernel/include/{streams.h => chstreams.h} | 0 os/kernel/include/{sys.h => chsys.h} | 0 os/kernel/include/{threads.h => chthreads.h} | 0 os/kernel/include/{vt.h => chvt.h} | 0 readme.txt | 3 ++ 21 files changed, 22 insertions(+), 19 deletions(-) rename os/kernel/include/{condvars.h => chcond.h} (100%) rename os/kernel/include/{debug.h => chdebug.h} (100%) rename os/kernel/include/{events.h => chevents.h} (100%) rename os/kernel/include/{heap.h => chheap.h} (100%) rename os/kernel/include/{channels.h => chioch.h} (100%) rename os/kernel/include/{lists.h => chlists.h} (100%) rename os/kernel/include/{mailboxes.h => chmboxes.h} (100%) rename os/kernel/include/{memcore.h => chmemcore.h} (100%) rename os/kernel/include/{mempools.h => chmempools.h} (100%) rename os/kernel/include/{messages.h => chmsg.h} (100%) rename os/kernel/include/{mutexes.h => chmtx.h} (100%) rename os/kernel/include/{queues.h => chqueues.h} (100%) rename os/kernel/include/{registry.h => chregistry.h} (100%) rename os/kernel/include/{scheduler.h => chschd.h} (100%) rename os/kernel/include/{semaphores.h => chsem.h} (100%) rename os/kernel/include/{streams.h => chstreams.h} (100%) rename os/kernel/include/{sys.h => chsys.h} (100%) rename os/kernel/include/{threads.h => chthreads.h} (100%) rename os/kernel/include/{vt.h => chvt.h} (100%) diff --git a/os/kernel/include/ch.h b/os/kernel/include/ch.h index 8f3f07e21..607c96fe9 100644 --- a/os/kernel/include/ch.h +++ b/os/kernel/include/ch.h @@ -67,27 +67,27 @@ #include "chconf.h" #include "chtypes.h" -#include "lists.h" +#include "chlists.h" #include "chcore.h" -#include "sys.h" -#include "vt.h" -#include "scheduler.h" -#include "semaphores.h" -#include "mutexes.h" -#include "condvars.h" -#include "events.h" -#include "messages.h" -#include "mailboxes.h" -#include "memcore.h" -#include "heap.h" -#include "mempools.h" -#include "threads.h" -#include "registry.h" +#include "chsys.h" +#include "chvt.h" +#include "chschd.h" +#include "chsem.h" +#include "chmtx.h" +#include "chcond.h" +#include "chevents.h" +#include "chmsg.h" +#include "chmboxes.h" +#include "chmemcore.h" +#include "chheap.h" +#include "chmempools.h" +#include "chthreads.h" +#include "chregistry.h" #include "inline.h" -#include "queues.h" -#include "streams.h" -#include "channels.h" -#include "debug.h" +#include "chqueues.h" +#include "chstreams.h" +#include "chioch.h" +#include "chdebug.h" #endif /* _CH_H_ */ diff --git a/os/kernel/include/condvars.h b/os/kernel/include/chcond.h similarity index 100% rename from os/kernel/include/condvars.h rename to os/kernel/include/chcond.h diff --git a/os/kernel/include/debug.h b/os/kernel/include/chdebug.h similarity index 100% rename from os/kernel/include/debug.h rename to os/kernel/include/chdebug.h diff --git a/os/kernel/include/events.h b/os/kernel/include/chevents.h similarity index 100% rename from os/kernel/include/events.h rename to os/kernel/include/chevents.h diff --git a/os/kernel/include/heap.h b/os/kernel/include/chheap.h similarity index 100% rename from os/kernel/include/heap.h rename to os/kernel/include/chheap.h diff --git a/os/kernel/include/channels.h b/os/kernel/include/chioch.h similarity index 100% rename from os/kernel/include/channels.h rename to os/kernel/include/chioch.h diff --git a/os/kernel/include/lists.h b/os/kernel/include/chlists.h similarity index 100% rename from os/kernel/include/lists.h rename to os/kernel/include/chlists.h diff --git a/os/kernel/include/mailboxes.h b/os/kernel/include/chmboxes.h similarity index 100% rename from os/kernel/include/mailboxes.h rename to os/kernel/include/chmboxes.h diff --git a/os/kernel/include/memcore.h b/os/kernel/include/chmemcore.h similarity index 100% rename from os/kernel/include/memcore.h rename to os/kernel/include/chmemcore.h diff --git a/os/kernel/include/mempools.h b/os/kernel/include/chmempools.h similarity index 100% rename from os/kernel/include/mempools.h rename to os/kernel/include/chmempools.h diff --git a/os/kernel/include/messages.h b/os/kernel/include/chmsg.h similarity index 100% rename from os/kernel/include/messages.h rename to os/kernel/include/chmsg.h diff --git a/os/kernel/include/mutexes.h b/os/kernel/include/chmtx.h similarity index 100% rename from os/kernel/include/mutexes.h rename to os/kernel/include/chmtx.h diff --git a/os/kernel/include/queues.h b/os/kernel/include/chqueues.h similarity index 100% rename from os/kernel/include/queues.h rename to os/kernel/include/chqueues.h diff --git a/os/kernel/include/registry.h b/os/kernel/include/chregistry.h similarity index 100% rename from os/kernel/include/registry.h rename to os/kernel/include/chregistry.h diff --git a/os/kernel/include/scheduler.h b/os/kernel/include/chschd.h similarity index 100% rename from os/kernel/include/scheduler.h rename to os/kernel/include/chschd.h diff --git a/os/kernel/include/semaphores.h b/os/kernel/include/chsem.h similarity index 100% rename from os/kernel/include/semaphores.h rename to os/kernel/include/chsem.h diff --git a/os/kernel/include/streams.h b/os/kernel/include/chstreams.h similarity index 100% rename from os/kernel/include/streams.h rename to os/kernel/include/chstreams.h diff --git a/os/kernel/include/sys.h b/os/kernel/include/chsys.h similarity index 100% rename from os/kernel/include/sys.h rename to os/kernel/include/chsys.h diff --git a/os/kernel/include/threads.h b/os/kernel/include/chthreads.h similarity index 100% rename from os/kernel/include/threads.h rename to os/kernel/include/chthreads.h diff --git a/os/kernel/include/vt.h b/os/kernel/include/chvt.h similarity index 100% rename from os/kernel/include/vt.h rename to os/kernel/include/chvt.h diff --git a/readme.txt b/readme.txt index b2d0a354b..56c95c3ba 100644 --- a/readme.txt +++ b/readme.txt @@ -78,6 +78,9 @@ been renamed to Posix simulator in order to include this change in a single project. - NEW: New articles, sections and various improvements to the documentation. +- CHANGE: Renamed the kernel header files to match the names of their source + files. The change was also required in order to make the names less + "generic" and less likely to match names in external libraries. *** 1.5.1 *** - FIX: Fixed insufficient stack space for the idle thread in the ARMCM3 port