/kernel/trunk/generic/src/mm/frame.c |
---|
27,12 → 27,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericmm |
* @{ |
*/ |
/** |
* @file |
* @file frame.c |
* @brief Physical frame allocator. |
* |
* This file contains the physical frame allocator and memory zone management. |
1149,7 → 1145,3 |
interrupts_restore(ipl); |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/mm/slab.c |
---|
26,12 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericmm |
* @{ |
*/ |
/** |
* @file |
* @file slab.c |
* @brief Slab allocator. |
* |
* The slab allocator is closely modelled after OpenSolaris slab allocator. |
906,7 → 902,3 |
slab = obj2slab(obj); |
_slab_free(slab->cache, obj, slab); |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/mm/as.c |
---|
26,19 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @defgroup mm Memory management |
* @ingroup kernel |
* @{ |
* @} |
*/ |
/** @addtogroup genericmm generic |
* @ingroup mm |
* @{ |
*/ |
/** |
* @file |
* @file as.c |
* @brief Address space related functions. |
* |
* This file contains address space manipulation functions. |
1535,7 → 1524,3 |
{ |
return (__native) as_area_destroy(AS, address); |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/mm/backend_elf.c |
---|
26,12 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericmm |
* @{ |
*/ |
/** |
* @file |
* @file backend_elf.c |
* @brief Backend for address space areas backed by an ELF image. |
*/ |
304,7 → 300,3 |
} |
mutex_unlock(&area->sh_info->lock); |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/mm/backend_anon.c |
---|
26,12 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericmm |
* @{ |
*/ |
/** |
* @file |
* @file backend_anon.c |
* @brief Backend for anonymous memory address space areas. |
* |
*/ |
204,7 → 200,3 |
} |
mutex_unlock(&area->sh_info->lock); |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/mm/backend_phys.c |
---|
26,12 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericmm |
* @{ |
*/ |
/** |
* @file |
* @file backend_elf.c |
* @brief Backend for address space areas backed by continuous physical memory. |
*/ |
90,7 → 86,3 |
void phys_share(as_area_t *area) |
{ |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/mm/tlb.c |
---|
26,12 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericmm |
* @{ |
*/ |
/** |
* @file |
* @file tlb.c |
* @brief Generic TLB shootdown algorithm. |
* |
* The algorithm implemented here is based on the CMU TLB shootdown |
184,7 → 180,3 |
} |
#endif /* CONFIG_SMP */ |
/** @} |
*/ |
/kernel/trunk/generic/src/mm/buddy.c |
---|
26,12 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericmm |
* @{ |
*/ |
/** |
* @file |
* @file buddy.c |
* @brief Buddy allocator framework. |
* |
* This file contains buddy system allocator framework. |
320,7 → 316,3 |
printf("Buddy system contains %zd free elements (%zd blocks)\n" , elem_count, block_count); |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/mm/page.c |
---|
26,12 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericmm |
* @{ |
*/ |
/** |
* @file |
* @file page.c |
* @brief Virtual Address Translation subsystem. |
* |
* This file contains code for creating, destroying and searching |
138,7 → 134,3 |
return page_mapping_operations->mapping_find(as, page); |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/ipc/ipcrsc.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericipc |
* @{ |
*/ |
/** @file |
*/ |
/* IPC resources management |
* |
* The goal of this source code is to properly manage IPC resources |
212,7 → 206,3 |
ASSERT(phone->state == IPC_PHONE_CONNECTING); |
ipc_phone_connect(phone, box); |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/ipc/irq.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericipc |
* @{ |
*/ |
/** @file |
*/ |
/** IRQ notification framework |
* |
* This framework allows applications to register to receive a notification |
333,7 → 327,3 |
interrupts_restore(ipl); |
} |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/ipc/sysipc.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericipc |
* @{ |
*/ |
/** @file |
*/ |
#include <arch.h> |
#include <proc/task.h> |
#include <proc/thread.h> |
591,7 → 585,3 |
return 0; |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/ipc/ipc.c |
---|
26,14 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericipc IPC |
* @ingroup kernel |
* @brief Interprocess communication protocol |
* @{ |
*/ |
/** @file |
*/ |
/* Lock ordering |
* |
* First the answerbox, then the phone |
531,7 → 523,3 |
spinlock_unlock(&task->answerbox.lock); |
spinlock_unlock(&task->lock); |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/console/cmd.c |
---|
26,10 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericconsole |
* @{ |
*/ |
/** |
* @file cmd.c |
* @brief Kernel console command wrappers. |
64,7 → 60,7 |
#include <proc/task.h> |
#include <ipc/ipc.h> |
/* Data and methods for 'help' command. */ |
/** Data and methods for 'help' command. */ |
static int cmd_help(cmd_arg_t *argv); |
static cmd_info_t help_info = { |
.name = "help", |
87,7 → 83,7 |
.argc = 0 |
}; |
/* Data and methods for 'description' command. */ |
/** Data and methods for 'description' command. */ |
static int cmd_desc(cmd_arg_t *argv); |
static void desc_help(void); |
static char desc_buf[MAX_CMDLINE+1]; |
105,7 → 101,7 |
.argv = &desc_argv |
}; |
/* Data and methods for 'symaddr' command. */ |
/** Data and methods for 'symaddr' command. */ |
static int cmd_symaddr(cmd_arg_t *argv); |
static char symaddr_buf[MAX_CMDLINE+1]; |
static cmd_arg_t symaddr_argv = { |
141,7 → 137,7 |
.argv = set4_argv |
}; |
/* Data and methods for 'call0' command. */ |
/** Data and methods for 'call0' command. */ |
static char call0_buf[MAX_CMDLINE+1]; |
static char carg1_buf[MAX_CMDLINE+1]; |
static char carg2_buf[MAX_CMDLINE+1]; |
161,7 → 157,7 |
.argv = &call0_argv |
}; |
/* Data and methods for 'call1' command. */ |
/** Data and methods for 'call1' command. */ |
static int cmd_call1(cmd_arg_t *argv); |
static cmd_arg_t call1_argv[] = { |
{ |
183,7 → 179,7 |
.argv = call1_argv |
}; |
/* Data and methods for 'call2' command. */ |
/** Data and methods for 'call2' command. */ |
static int cmd_call2(cmd_arg_t *argv); |
static cmd_arg_t call2_argv[] = { |
{ |
210,7 → 206,7 |
.argv = call2_argv |
}; |
/* Data and methods for 'call3' command. */ |
/** Data and methods for 'call3' command. */ |
static int cmd_call3(cmd_arg_t *argv); |
static cmd_arg_t call3_argv[] = { |
{ |
243,7 → 239,7 |
.argv = call3_argv |
}; |
/* Data and methods for 'halt' command. */ |
/** Data and methods for 'halt' command. */ |
static int cmd_halt(cmd_arg_t *argv); |
static cmd_info_t halt_info = { |
.name = "halt", |
252,7 → 248,7 |
.argc = 0 |
}; |
/* Data and methods for 'tlb' command. */ |
/** Data and methods for 'tlb' command. */ |
static int cmd_tlb(cmd_arg_t *argv); |
cmd_info_t tlb_info = { |
.name = "tlb", |
296,7 → 292,7 |
.argc = 0 |
}; |
/* Data and methods for 'zones' command */ |
/** Data and methods for 'zones' command */ |
static int cmd_zones(cmd_arg_t *argv); |
static cmd_info_t zones_info = { |
.name = "zones", |
305,7 → 301,7 |
.argc = 0 |
}; |
/* Data and methods for 'ipc_task' command */ |
/** Data and methods for 'ipc_task' command */ |
static int cmd_ipc_task(cmd_arg_t *argv); |
static cmd_arg_t ipc_task_argv = { |
.type = ARG_TYPE_INT, |
318,7 → 314,7 |
.argv = &ipc_task_argv |
}; |
/* Data and methods for 'zone' command */ |
/** Data and methods for 'zone' command */ |
static int cmd_zone(cmd_arg_t *argv); |
static cmd_arg_t zone_argv = { |
.type = ARG_TYPE_INT, |
332,7 → 328,7 |
.argv = &zone_argv |
}; |
/* Data and methods for 'cpus' command. */ |
/** Data and methods for 'cpus' command. */ |
static int cmd_cpus(cmd_arg_t *argv); |
cmd_info_t cpus_info = { |
.name = "cpus", |
343,7 → 339,7 |
.argv = NULL |
}; |
/* Data and methods for 'version' command. */ |
/** Data and methods for 'version' command. */ |
static int cmd_version(cmd_arg_t *argv); |
cmd_info_t version_info = { |
.name = "version", |
803,7 → 799,3 |
arch_release_console(); |
return 1; |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/console/klog.c |
---|
26,14 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericklog KLog |
* @brief Kernel logging facility |
* @ingroup kernel |
* @{ |
*/ |
/** @file |
*/ |
#include <mm/frame.h> |
#include <sysinfo/sysinfo.h> |
#include <console/klog.h> |
106,7 → 98,3 |
va_end(args); |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/console/kconsole.c |
---|
26,10 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericconsole |
* @{ |
*/ |
/** |
* @file kconsole.c |
* @brief Kernel console. |
625,7 → 621,3 |
return found_start; |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/console/console.c |
---|
27,12 → 27,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericconsole |
* @{ |
*/ |
/** @file |
*/ |
#include <console/console.h> |
#include <console/chardev.h> |
#include <synch/waitq.h> |
164,7 → 158,3 |
if (stdout->op->write) |
stdout->op->write(stdout, c); |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/console/chardev.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericconsole Console |
* @ingroup kernel |
* @{ |
*/ |
/** @file |
*/ |
#include <console/chardev.h> |
#include <putchar.h> |
#include <synch/waitq.h> |
74,7 → 67,3 |
waitq_wakeup(&chardev->wq, WAKEUP_FIRST); |
spinlock_unlock(&chardev->lock); |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/proc/task.c |
---|
26,12 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericproc |
* @{ |
*/ |
/** |
* @file |
* @file task.c |
* @brief Task management. |
*/ |
494,7 → 490,3 |
thread_detach(t); |
task_kill(TASK->taskid); |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/proc/thread.c |
---|
26,12 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericproc |
* @{ |
*/ |
/** |
* @file |
* @file thread.c |
* @brief Thread management functions. |
*/ |
612,7 → 608,3 |
/* Unreachable */ |
return 0; |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/proc/scheduler.c |
---|
26,20 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** |
* @defgroup proc Proc |
* @ingroup kernel |
* @{ |
* @} |
*/ |
/** @addtogroup genericproc generic |
* @ingroup proc |
* @{ |
*/ |
/** |
* @file |
* @file scheduler.c |
* @brief Scheduler and load balancing. |
* |
* This file contains the scheduler and kcpulb kernel thread which |
704,7 → 692,3 |
interrupts_restore(ipl); |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/proc/the.c |
---|
26,12 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericproc |
* @{ |
*/ |
/** |
* @file |
* @file the.c |
* @brief THE structure functions. |
* |
* This file contains functions to manage the THE structure. |
71,7 → 67,3 |
{ |
*dst = *src; |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/synch/waitq.c |
---|
26,12 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sync |
* @{ |
*/ |
/** |
* @file |
* @file waitq.c |
* @brief Wait queue. |
* |
* Wait queue is the basic synchronization primitive upon which all |
449,7 → 445,3 |
if (all) |
goto loop; |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/synch/spinlock.c |
---|
26,12 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sync |
* @{ |
*/ |
/** |
* @file |
* @file spinlock.c |
* @brief Spinlocks. |
*/ |
157,7 → 153,3 |
} |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/src/synch/futex.c |
---|
26,12 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sync |
* @{ |
*/ |
/** |
* @file |
* @file futex.c |
* @brief Kernel backend for futexes. |
*/ |
334,7 → 330,3 |
mutex_unlock(&TASK->futexes_lock); |
rwlock_write_unlock(&futex_ht_lock); |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/synch/rwlock.c |
---|
26,12 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sync |
* @{ |
*/ |
/** |
* @file |
* @file rwlock.c |
* @brief Reader/Writer locks. |
* |
* A reader/writer lock can be held by multiple readers at a time. |
383,7 → 379,3 |
{ |
spinlock_unlock((spinlock_t *) arg); |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/synch/mutex.c |
---|
26,12 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sync |
* @{ |
*/ |
/** |
* @file |
* @file mutex.c |
* @brief Mutexes. |
*/ |
80,7 → 76,3 |
semaphore_up(&mtx->sem); |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/synch/semaphore.c |
---|
26,12 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sync |
* @{ |
*/ |
/** |
* @file |
* @file semaphore.c |
* @brief Semaphores. |
*/ |
93,7 → 89,3 |
{ |
waitq_wakeup(&s->wq, WAKEUP_FIRST); |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/synch/condvar.c |
---|
26,13 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sync Synchronization |
* @ingroup kernel |
* @{ |
*/ |
/** |
* @file |
* @file condvar.c |
* @brief Condition variables. |
*/ |
104,7 → 99,3 |
return rc; |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/main/kinit.c |
---|
26,13 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup main |
* @ingroup kernel |
* @{ |
*/ |
/** |
* @file |
* @file kinit.c |
* @brief Kernel initialization thread. |
* |
* This file contains kinit kernel thread which carries out |
195,7 → 190,3 |
#endif /* CONFIG_TEST */ |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/main/main.c |
---|
26,12 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup main |
* @{ |
*/ |
/** |
* @file |
* @file main.c |
* @brief Main initialization kernel function for all processors. |
* |
* During kernel boot, all processors, after architecture dependent |
323,7 → 319,3 |
/* not reached */ |
} |
#endif /* CONFIG_SMP */ |
/** @} |
*/ |
/kernel/trunk/generic/src/main/uinit.c |
---|
26,12 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup main |
* @{ |
*/ |
/** |
* @file |
* @file uinit.c |
* @brief Userspace bootstrap thread. |
* |
* This file contains uinit kernel thread wich is used to start every |
64,7 → 60,3 |
userspace(&uarg); |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/main/version.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup main |
* @{ |
*/ |
/** @file |
*/ |
#include <main/version.h> |
#include <print.h> |
58,7 → 52,3 |
{ |
printf("%s, release %s (%s)%s\nBuilt%s for %s\n%s\n", project, release, name, revision, timestamp, arch, copyright); |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/lib/memstr.c |
---|
26,12 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** |
* @file |
* @file memstr.c |
* @brief Memory string operations. |
* |
* This file provides architecture independent functions |
114,7 → 110,3 |
for(i=0; i<cnt; i++) |
p[i] = x; |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/lib/elf.c |
---|
27,12 → 27,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** |
* @file |
* @file elf.c |
* @brief Kernel ELF loader. |
*/ |
220,7 → 216,3 |
return EE_OK; |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/lib/sort.c |
---|
26,12 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** |
* @file |
* @file sort.c |
* @brief Sorting functions. |
* |
* This files contains functions implementing several sorting |
198,7 → 194,3 |
{ |
return (* (__u32 *) a > * (__u32 *)b) ? 1 : (*(__u32 *)a < * (__u32 *)b) ? -1 : 0; |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/lib/func.c |
---|
26,12 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** |
* @file |
* @file func.c |
* @brief Miscellaneous functions. |
*/ |
191,7 → 187,3 |
return result; |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/printf/vsnprintf.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#include <print.h> |
#include <printf/printf_core.h> |
#include <memstr.h> |
99,7 → 93,3 |
/* vsnprintf_write ensures that str will be terminated by zero. */ |
return printf_core(fmt, &ps, ap); |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/printf/printf_core.c |
---|
27,11 → 27,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** |
* @file |
* @file print.c |
* @brief Printing functions. |
*/ |
103,7 → 100,7 |
* @param buf Buffer with size at least count bytes - NULL pointer NOT allowed! |
* @param count |
* @param ps output method and its data |
* @return number of printed characters |
* @return number or printed characters |
*/ |
static int printf_putnchars(const char * buf, size_t count, struct printf_spec *ps) |
{ |
113,7 → 110,7 |
/** Print string without added newline |
* @param str string to print |
* @param ps write function specification and support data |
* @return number of printed characters |
* @return number or printed characters |
*/ |
static int printf_putstr(const char * str, struct printf_spec *ps) |
{ |
131,7 → 128,7 |
/** Print one character to output |
* @param c one character |
* @param ps output method |
* @return number of printed characters |
* @return number or printed characters |
*/ |
static int printf_putchar(int c, struct printf_spec *ps) |
{ |
152,6 → 149,7 |
if (!(flags & __PRINTF_FLAG_LEFTALIGNED)) { |
while (--width > 0) { /* one space is consumed by character itself hence predecrement */ |
/* FIXME: painful slow */ |
if (printf_putchar(' ', ps) > 0) |
++counter; |
} |
718,7 → 716,3 |
return counter; |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/printf/printf.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#include <print.h> |
int printf(const char *fmt, ...) |
48,7 → 42,3 |
return ret; |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/printf/snprintf.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#include <print.h> |
#include <printf/printf_core.h> |
47,7 → 41,3 |
return ret; |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/printf/sprintf.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#include <print.h> |
int sprintf(char *str, const char *fmt, ...) |
46,7 → 40,3 |
return ret; |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/printf/vprintf.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#include <print.h> |
#include <printf/printf_core.h> |
#include <putchar.h> |
54,7 → 48,3 |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/printf/vsprintf.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#include <print.h> |
int vsprintf(char *str, const char *fmt, va_list ap) |
39,7 → 33,3 |
return vsnprintf(str, (size_t)-1, fmt, ap); |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/interrupt/interrupt.c |
---|
25,18 → 25,9 |
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @defgroup interrupt Interrupt |
* @ingroup kernel |
* @{ |
* @} |
*/ |
/** @addtogroup genericinterrupt generic |
* @ingroup interrupt |
* @{ |
*/ |
/** |
* @file |
* @file interrupt.c |
* @brief Interrupt redirector. |
* |
* This file provides means of registering interrupt handlers |
155,7 → 146,3 |
panic("could not register command %s\n", exc_info.name); |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/syscall/syscall.c |
---|
26,12 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** |
* @file |
* @file syscall.c |
* @brief Syscall table and syscall wrappers. |
*/ |
158,7 → 154,3 |
/* Debug calls */ |
sys_debug_enable_console |
}; |
/** @} |
*/ |
/kernel/trunk/generic/src/syscall/copy.c |
---|
25,13 → 25,9 |
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** |
* @file |
* @file copy.c |
* @brief Copying between kernel and userspace. |
* |
* This file contains sanitized functions for copying data |
127,7 → 123,3 |
interrupts_restore(ipl); |
return !rc ? EPERM : 0; |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/ddi/ddi.c |
---|
25,20 → 25,9 |
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @defgroup ddi Device Driver Interface |
* @ingroup kernel |
* @{ |
* @} |
*/ |
/** @addtogroup genericddi generic |
* @ingroup ddi |
* @{ |
*/ |
/** |
* @file |
* @file ddi.c |
* @brief Device Driver Interface functions. |
* |
* This file contains functions that comprise the Device Driver Interface. |
209,7 → 198,3 |
preemption_disable(); |
return 0; |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/security/cap.c |
---|
26,10 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** |
* @file cap.c |
* @brief Capabilities control. |
179,7 → 175,3 |
interrupts_restore(ipl); |
return 0; |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/adt/bitmap.c |
---|
26,10 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericadt ADT |
* @ingroup kernel |
* @{ |
*/ |
/** |
* @file bitmap.c |
* @brief Implementation of bitmap ADT. |
185,7 → 181,3 |
dst->map[i] |= src->map[i] & ((1 << (bits % 8)) - 1); |
} |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/adt/btree.c |
---|
26,10 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericadt |
* @{ |
*/ |
/** |
* @file btree.c |
* @brief B+tree implementation. |
997,7 → 993,3 |
} |
printf("\n"); |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/adt/hash_table.c |
---|
26,10 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericadt |
* @{ |
*/ |
/** |
* @file hash_table.c |
* @brief Implementation of generic chained hash table. |
172,7 → 168,3 |
} |
} |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/adt/list.c |
---|
26,10 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericadt |
* @{ |
*/ |
/** |
* @file list.c |
* @brief Functions completing doubly linked circular list implementaion. |
89,7 → 85,3 |
head1->prev = head2->prev; |
list_initialize(head2); |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/time/clock.c |
---|
26,18 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @defgroup others Others |
* @ingroup kernel |
* @{ |
* @} |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** |
* @file |
* @file clock.c |
* @brief High-level clock interrupt handler. |
* |
* This file contains the clock() function which is the source |
192,7 → 182,3 |
} |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/time/delay.c |
---|
26,12 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** |
* @file |
* @file delay.c |
* @brief Active delay function. |
*/ |
63,7 → 59,3 |
asm_delay_loop(usec * CPU->delay_loop_const); |
interrupts_restore(ipl); |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/time/timeout.c |
---|
26,12 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** |
* @file |
* @file timeout.c |
* @brief Timeout management functions. |
*/ |
213,7 → 209,3 |
interrupts_restore(ipl); |
return true; |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/sysinfo/sysinfo.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#include <sysinfo/sysinfo.h> |
#include <mm/slab.h> |
#include <print.h> |
305,7 → 299,3 |
free(str); |
return ret.val; |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/smp/ipi.c |
---|
26,12 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** |
* @file |
* @file ipi.c |
* @brief Generic IPI interface. |
*/ |
65,7 → 61,3 |
} |
#endif /* CONFIG_SMP */ |
/** @} |
*/ |
/kernel/trunk/generic/src/debug/symtab.c |
---|
26,20 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @defgroup debug Debug |
* @ingroup kernel |
* @{ |
* @} |
*/ |
/** @addtogroup genericdebug generic |
* @ingroup debug |
* @{ |
*/ |
/** |
* @file |
* @file symtab.c |
* @brief Kernel symbol resolver. |
*/ |
204,7 → 192,3 |
return found; |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/cpu/cpu.c |
---|
1,4 → 1,4 |
/* |
/* |
* Copyright (C) 2001-2004 Jakub Jermar |
* All rights reserved. |
* |
26,19 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @defgroup cpu CPU |
* @ingroup kernel |
* @{ |
* @} |
*/ |
/** @addtogroup genericcpu generic |
* @ingroup cpu |
* @{ |
*/ |
/** |
* @file |
* @file cpu.c |
* @brief CPU subsystem initialization and listing. |
*/ |
115,7 → 104,3 |
printf("cpu%d: not active\n", i); |
} |
} |
/** @} |
*/ |
/kernel/trunk/generic/src/preempt/preemption.c |
---|
26,10 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** |
* @file preemption.c |
* @brief Preemption control. |
55,7 → 51,3 |
memory_barrier(); |
THE->preemption_disabled--; |
} |
/** @} |
*/ |
/kernel/trunk/generic/include/ipc/ipc.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericipc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __IPC_H__ |
#define __IPC_H__ |
242,7 → 236,3 |
#endif |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/ipc/irq.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericipc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __IRQ_H__ |
#define __IRQ_H__ |
86,7 → 80,3 |
#endif |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/ipc/sysipc.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericipc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __SYSIPC_H__ |
#define __SYSIPC_H__ |
57,7 → 51,3 |
__native sys_ipc_unregister_irq(int irq); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/ipc/ipcrsc.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericipc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __IPCRSC_H__ |
#define __IPCRSC_H__ |
41,7 → 35,3 |
void phone_dealloc(int phoneid); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/proc/thread.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericproc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __THREAD_H__ |
#define __THREAD_H__ |
191,7 → 185,3 |
__native sys_thread_exit(int uspace_status); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/proc/task.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericproc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __TASK_H__ |
#define __TASK_H__ |
105,7 → 99,3 |
extern __native sys_task_get_id(task_id_t *uspace_task_id); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/proc/scheduler.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericproc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __SCHEDULER_H__ |
#define __SCHEDULER_H__ |
68,7 → 62,3 |
extern void after_thread_ran_arch(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/proc/uarg.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericproc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __UARG_H__ |
#define __UARG_H__ |
47,7 → 41,3 |
} uspace_arg_t; |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/stackarg.h |
---|
26,13 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
/* |
* Variable argument list manipulation macros |
* for architectures using stack to pass arguments. |
60,7 → 54,3 |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/interrupt.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericinterrupt |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __INTERRUPT_H__ |
#define __INTERRUPT_H__ |
68,7 → 62,3 |
void exc_init(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/console/klog.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericklog |
* @{ |
*/ |
/** @file |
*/ |
#ifndef _KLOG_H_ |
#define _KLOG_H_ |
39,7 → 33,3 |
void klog_printf(const char *fmt, ...); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/console/console.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericconsole |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __CONSOLE_H__ |
#define __CONSOLE_H__ |
50,7 → 44,3 |
extern void arch_release_console(void); |
#endif /* __CHARDEV_H__ */ |
/** @} |
*/ |
/kernel/trunk/generic/include/console/kconsole.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericconsole |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __KCONSOLE_H__ |
#define __KCONSOLE_H__ |
79,7 → 73,3 |
extern int cmd_register(cmd_info_t *cmd); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/console/chardev.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericconsole |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __CHARDEV_H__ |
#define __CHARDEV_H__ |
72,7 → 66,3 |
extern void chardev_push_character(chardev_t *chardev, __u8 ch); |
#endif /* __CHARDEV_H__ */ |
/** @} |
*/ |
/kernel/trunk/generic/include/console/cmd.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericconsole |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __CMD_H__ |
#define __CMD_H__ |
41,7 → 35,3 |
extern void cmd_init(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/stdarg.h |
---|
26,13 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
/* |
* Variable argument list manipulation macros |
* for all architectures with compiler support for __builtin_va_*. |
49,7 → 43,3 |
#define va_copy(dst,src) __builtin_va_copy(dst,src) |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/synch/futex.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sync |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __FUTEX_H__ |
#define __FUTEX_H__ |
56,7 → 50,3 |
extern void futex_cleanup(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/synch/condvar.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sync |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __CONDVAR_H__ |
#define __CONDVAR_H__ |
55,7 → 49,3 |
extern int _condvar_wait_timeout(condvar_t *cv, mutex_t *mtx, __u32 usec, int flags); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/synch/rwlock.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sync |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __RWLOCK_H__ |
#define __RWLOCK_H__ |
74,7 → 68,3 |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/synch/mutex.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sync |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __MUTEX_H__ |
#define __MUTEX_H__ |
58,7 → 52,3 |
extern void mutex_unlock(mutex_t *mtx); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/synch/semaphore.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sync |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __SEMAPHORE_H__ |
#define __SEMAPHORE_H__ |
58,7 → 52,3 |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/synch/synch.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sync |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __SYNCH_H__ |
#define __SYNCH_H__ |
51,7 → 45,3 |
#define SYNCH_OK(rc) ((rc) & (ESYNCH_OK_ATOMIC | ESYNCH_OK_BLOCKED)) |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/synch/waitq.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sync |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __WAITQ_H__ |
#define __WAITQ_H__ |
70,7 → 64,3 |
extern void waitq_interrupt_sleep(thread_t *t); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/synch/spinlock.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sync |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __SPINLOCK_H__ |
#define __SPINLOCK_H__ |
115,7 → 109,3 |
#endif |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/mm/slab.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericmm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __SLAB_H__ |
#define __SLAB_H__ |
134,7 → 128,3 |
extern void * malloc(unsigned int size, int flags); |
extern void free(void *obj); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/mm/page.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericmm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __PAGE_H__ |
#define __PAGE_H__ |
96,7 → 90,3 |
extern __address hw_map(__address physaddr, size_t size); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/mm/as.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericmm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __AS_H__ |
#define __AS_H__ |
205,7 → 199,3 |
#endif /* KERNEL */ |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/mm/frame.h |
---|
27,12 → 27,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericmm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __FRAME_H__ |
#define __FRAME_H__ |
113,7 → 107,3 |
void zone_print_one(int znum); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/mm/buddy.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericmm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __BUDDY_H__ |
#define __BUDDY_H__ |
72,7 → 66,3 |
extern link_t *buddy_system_alloc_block(buddy_system_t *b, link_t *block); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/mm/tlb.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericmm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __TLB_H__ |
#define __TLB_H__ |
85,7 → 79,3 |
extern void tlb_invalidate_asid(asid_t asid); |
extern void tlb_invalidate_pages(asid_t asid, __address page, count_t cnt); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/mm/asid.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericmm |
* @{ |
*/ |
/** @file |
*/ |
/* |
* This is generic interface for managing |
* Address Space IDentifiers (ASIDs). |
83,7 → 77,3 |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/errno.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ERRNO_H__ |
#define __ERRNO_H__ |
55,7 → 49,3 |
#define EBUSY -14 /* Resource is busy */ |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/ddi/ddi.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericddi |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __DDI_H__ |
#define __DDI_H__ |
50,7 → 44,3 |
extern int ddi_iospace_enable_arch(task_t *task, __address ioaddr, size_t size); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/ddi/ddi_arg.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericddi |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __DDI_ARG_H__ |
#define __DDI_ARG_H__ |
52,7 → 46,3 |
} ddi_ioarg_t; |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/syscall/syscall.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __SYSCALL_H__ |
#define __SYSCALL_H__ |
84,7 → 78,3 |
#endif |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/syscall/sysarg64.h |
---|
26,12 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** |
* @file |
* @file sysarg64.h |
* @brief Wrapper for explicit 64-bit arguments passed to syscalls. |
*/ |
43,7 → 39,3 |
} sysarg64_t; |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/syscall/copy.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __COPY_H__ |
#define __COPY_H__ |
53,7 → 47,3 |
extern int memcpy_to_uspace(void *uspace_dst, const void *src, size_t size); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/print.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __PRINT_H__ |
#define __PRINT_H__ |
53,7 → 47,3 |
extern int vsnprintf(char *str, size_t size, const char *fmt, va_list ap); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/time/clock.h |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __CLOCK_H__ |
#define __CLOCK_H__ |
42,7 → 35,3 |
extern void clock_counter_init(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/time/timeout.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __TIMEOUT_H__ |
#define __TIMEOUT_H__ |
64,7 → 58,3 |
extern bool timeout_unregister(timeout_t *t); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/time/delay.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __DELAY_H__ |
#define __DELAY_H__ |
40,7 → 34,3 |
extern void delay(__u32 microseconds); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/cpu.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericcpu |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __CPU_H__ |
#define __CPU_H__ |
103,7 → 97,3 |
extern void cpu_print_report(cpu_t *m); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/elf.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ELF_H__ |
#define __ELF_H__ |
339,7 → 333,3 |
extern char *elf_error(int rc); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/typedefs.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __TYPEDEFS_H__ |
#define __TYPEDEFS_H__ |
95,7 → 89,3 |
typedef struct btree btree_t; |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/sysinfo/sysinfo.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/types.h> |
typedef union sysinfo_item_val |
89,7 → 83,3 |
__native sys_sysinfo_value(__native ptr,__native len); |
/** @} |
*/ |
/kernel/trunk/generic/include/config.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __CONFIG_H__ |
#define __CONFIG_H__ |
70,7 → 64,3 |
extern init_t init; |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/bitops.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef _BITOPS_H_ |
#define _BITOPS_H_ |
65,7 → 59,3 |
#define fnzb(x) fnzb32(x) |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/security/cap.h |
---|
26,14 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
/** |
* @file |
* @file cap.h |
* @brief Capabilities definitions. |
* |
* Capabilities represent virtual rights that entitle their |
88,7 → 82,3 |
extern __native sys_cap_revoke(sysarg64_t *uspace_taskid_arg, cap_t caps); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/printf/printf_core.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __PRINTF_CORE_H__ |
#define __PRINTF_CORE_H__ |
50,7 → 44,3 |
int printf_core(const char *fmt, struct printf_spec *ps ,va_list ap); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/adt/bitmap.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericadt |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __BITMAP_H__ |
#define __BITMAP_H__ |
51,7 → 45,3 |
extern void bitmap_copy(bitmap_t *dst, bitmap_t *src, count_t bits); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/adt/btree.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericadt |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __BTREE_H__ |
#define __BTREE_H__ |
98,7 → 92,3 |
extern void btree_print(btree_t *t); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/adt/fifo.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericadt |
* @{ |
*/ |
/** @file |
*/ |
/* |
* This implementation of FIFO stores values in an array |
* (static or dynamic). As such, these FIFOs have upper bound |
117,7 → 111,3 |
name.fifo = malloc(sizeof(*name.fifo) * name.items, 0) |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/adt/hash_table.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericadt |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __HASH_TABLE_H__ |
#define __HASH_TABLE_H__ |
80,7 → 74,3 |
extern void hash_table_remove(hash_table_t *h, __native key[], count_t keys); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/adt/list.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericadt |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __LIST_H__ |
#define __LIST_H__ |
181,7 → 175,3 |
extern void list_concat(link_t *head1, link_t *head2); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/debug.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericdebug |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __DEBUG_H__ |
#define __DEBUG_H__ |
64,7 → 58,3 |
#define STRING_ARG(arg) #arg |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/arch.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ARCH_H__ |
#define __ARCH_H__ |
80,7 → 74,3 |
extern ipl_t interrupts_read(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/atomic.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ATOMIC_H__ |
#define __ATOMIC_H__ |
52,7 → 46,3 |
} |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/func.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __FUNC_H__ |
#define __FUNC_H__ |
49,7 → 43,3 |
extern __native atoi(const char *text); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/macros.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __MACROS_H__ |
#define __MACROS_H__ |
57,7 → 51,3 |
#define PA_overlaps(x,szx,y,szy) overlaps(KA2PA(x),szx,KA2PA(y), szy) |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/userspace.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __USERSPACE_H__ |
#define __USERSPACE_H__ |
42,7 → 36,3 |
extern void userspace(uspace_arg_t *uarg) __attribute__ ((noreturn)); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/fpu_context.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __FPU_CONTEXT_H__ |
#define __FPU_CONTEXT_H__ |
52,7 → 46,3 |
#endif /* __FPU_CONTEXT_H__ */ |
/** @} |
*/ |
/kernel/trunk/generic/include/align.h |
---|
26,14 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @ingroup others |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ALIGN_H__ |
#define __ALIGN_H__ |
53,7 → 45,3 |
#define ALIGN_UP(s, a) (((s) + ((a) - 1)) & ~((a) - 1)) |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/context.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __CONTEXT_H__ |
#define __CONTEXT_H__ |
89,7 → 83,3 |
} |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/main/uinit.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup main |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __UINIT_H__ |
#define __UINIT_H__ |
40,7 → 34,3 |
extern void uinit(void *arg); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/main/version.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup main |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __VERSION_H__ |
#define __VERSION_H__ |
38,7 → 32,3 |
extern void version_print(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/main/kinit.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup main |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __KINIT_H__ |
#define __KINIT_H__ |
38,7 → 32,3 |
extern void kinit(void *arg); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/panic.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __PANIC_H__ |
#define __PANIC_H__ |
44,7 → 38,3 |
extern void panic_printf(char *fmt, ...) __attribute__((noreturn)) ; |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/symtab.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __SYMTAB_H__ |
#define __SYMTAB_H__ |
53,7 → 47,3 |
extern struct symtab_entry symbol_table[]; |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/sort.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __SORT_H__ |
#define __SORT_H__ |
52,7 → 46,3 |
extern int __u8_cmp(void * a, void * b); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/smp/smp.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __SMP_H__ |
#define __SMP_H__ |
42,7 → 36,3 |
#endif /* CONFIG_SMP */ |
#endif /* __SMP_H__ */ |
/** @} |
*/ |
/kernel/trunk/generic/include/smp/ipi.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __IPI_H__ |
#define __IPI_H__ |
43,7 → 37,3 |
#endif /* CONFIG_SMP */ |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/memstr.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __MEMSTR_H__ |
#define __MEMSTR_H__ |
47,7 → 41,3 |
extern void _memsetw(__address dst, size_t cnt, __u16 x); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/byteorder.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __BYTEORDER_H__ |
#define __BYTEORDER_H__ |
56,7 → 50,3 |
} |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/preemption.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __PREEMPTION_H__ |
#define __PREEMPTION_H__ |
39,7 → 33,3 |
extern void preemption_enable(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/putchar.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __PUTCHAR_H__ |
#define __PUTCHAR_H__ |
38,7 → 32,3 |
extern void putchar(const char ch); |
#endif |
/** @} |
*/ |
/kernel/trunk/generic/include/test.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __TEST_H__ |
#define __TEST_H__ |
38,7 → 32,3 |
extern void test(void); |
#endif |
/** @} |
*/ |