/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 |
---|
27,19 → 27,7 |
*/ |
/** |
* @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 |
---|
26,12 → 26,8 |
* 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 |
---|
26,19 → 26,8 |
* 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 |
---|
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 |
/** @} |
*/ |
/kernel/trunk/arch/amd64/include/atomic.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_ATOMIC_H__ |
#define __amd64_ATOMIC_H__ |
124,7 → 118,3 |
} |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/amd64/include/interrupt.h |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64interrupt amd64 |
* @ingroup interrupt |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_INTERRUPT_H__ |
#define __ia32_INTERRUPT_H__ |
128,7 → 121,3 |
extern void ident_page_fault(int n, istate_t *istate); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/amd64/include/mm/as.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_AS_H__ |
#define __amd64_AS_H__ |
49,7 → 43,3 |
extern void as_arch_init(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/amd64/include/mm/page.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64mm |
* @{ |
*/ |
/** @file |
*/ |
/** Paging on AMD64 |
* |
* The space is divided in positive numbers - userspace and |
196,7 → 190,3 |
#endif /* KERNEL */ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/amd64/include/mm/frame.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_FRAME_H__ |
#define __amd64_FRAME_H__ |
49,7 → 43,3 |
#endif /* __ASM__ */ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/amd64/include/mm/tlb.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_TLB_H__ |
#define __amd64_TLB_H__ |
39,7 → 33,3 |
#define tlb_print() |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/amd64/include/mm/ptl.h |
---|
26,13 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_PTL_H_ |
#define __amd64_PTL_H_ |
47,7 → 41,3 |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/amd64/include/drivers/vesa.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __VESA_H__ |
#define __VESA_H__ |
41,7 → 35,3 |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/amd64/include/pm.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_PM_H__ |
#define __amd64_PM_H__ |
193,7 → 187,3 |
#endif /* __ASM__ */ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/amd64/include/ddi/ddi.h |
---|
26,12 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64ddi |
* @{ |
*/ |
/** |
* @file |
* @file ddi.h |
* @brief amd64 specific DDI declarations and macros. |
*/ |
41,7 → 37,3 |
extern void io_perm_bitmap_install(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/amd64/include/proc/task.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64proc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_TASK_H__ |
#define __amd64_TASK_H__ |
45,7 → 39,3 |
} task_arch_t; |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/amd64/include/proc/thread.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64proc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_THREAD_H__ |
#define __amd64_THREAD_H__ |
42,7 → 36,3 |
} thread_arch_t; |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/amd64/include/cpu.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64cpu |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_CPU_H__ |
#define __amd64_CPU_H__ |
82,7 → 76,3 |
#endif /* __ASM__ */ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/amd64/include/asm.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_ASM_H__ |
#define __amd64_ASM_H__ |
279,7 → 273,3 |
extern void interrupt_handlers(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/amd64/include/syscall.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_SYSCALL_H__ |
#define __amd64_SYSCALL_H__ |
40,7 → 34,3 |
extern void syscall_setup_cpu(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/amd64/include/debugger.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64debug |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_DEBUGGER_H__ |
#define __amd64_DEBUGGER_H__ |
52,7 → 46,3 |
extern void breakpoint_del(int slot); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/amd64/include/context_offset.h |
---|
8,7 → 8,3 |
#define OFFSET_R14 0x30 |
#define OFFSET_R15 0x38 |
#define OFFSET_IPL 0x40 |
/** @} |
*/ |
/kernel/trunk/arch/amd64/include/context.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_CONTEXT_H__ |
#define __amd64_CONTEXT_H__ |
65,7 → 59,3 |
} __attribute__ ((packed)); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/amd64/include/types.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_TYPES_H__ |
#define __amd64_TYPES_H__ |
59,7 → 53,3 |
typedef struct page_specifier pte_t; |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/amd64/include/elf.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_ELF_H__ |
#define __amd64_ELF_H__ |
40,7 → 34,3 |
#define ELF_CLASS ELFCLASS64 |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/amd64/include/cpuid.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64cpu |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_CPUID_H__ |
#define __amd64_CPUID_H__ |
62,7 → 56,3 |
#endif /* __ASM__ */ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/amd64/include/boot/boot.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_BOOT_H__ |
#define __amd64_BOOT_H__ |
45,7 → 39,3 |
#define MULTIBOOT_LOADER_MAGIC 0x2BADB002 |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/amd64/include/memstr.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_MEMSTR_H__ |
#define __amd64_MEMSTR_H__ |
140,7 → 134,3 |
} |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/amd64/include/byteorder.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_BYTEORDER_H__ |
#define __amd64_BYTEORDER_H__ |
40,7 → 34,3 |
#define __u64_le2host(n) (n) |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/amd64/include/arch.h |
---|
26,17 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_ARCH_H__ |
#define __amd64_ARCH_H__ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/amd64/include/faddr.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_FADDR_H__ |
#define __amd64_FADDR_H__ |
40,7 → 34,3 |
#define FADDR(fptr) ((__address) (fptr)) |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/amd64/include/arg.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_ARG_H__ |
#define __amd64_ARG_H__ |
38,7 → 32,3 |
#include <stdarg.h> |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/amd64/src/mm/page.c |
---|
26,14 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64mm amd64 |
* @ingroup mm |
* @{ |
*/ |
/** @file |
* @ingroup amd64 |
*/ |
#include <arch/mm/page.h> |
#include <genarch/mm/page_pt.h> |
#include <arch/mm/frame.h> |
214,7 → 206,3 |
return virtaddr; |
} |
/** @} |
*/ |
/kernel/trunk/arch/amd64/src/mm/memory_init.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64mm |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/boot/memmap.h> |
#include <arch/mm/memory_init.h> |
#include <arch/mm/page.h> |
75,7 → 69,3 |
} |
/** @} |
*/ |
/kernel/trunk/arch/amd64/src/interrupt.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64interrupt |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/interrupt.h> |
#include <print.h> |
#include <debug.h> |
180,7 → 174,3 |
return; |
exc_register(IVT_IRQBASE+irq, "ipc_int", ipc_int); |
} |
/** @} |
*/ |
/kernel/trunk/arch/amd64/src/proc/task.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64proc |
* @{ |
*/ |
/** @file |
*/ |
#include <proc/task.h> |
#include <mm/slab.h> |
#include <arch/types.h> |
55,7 → 49,3 |
if (t->arch.iomap.map) |
free(t->arch.iomap.map); |
} |
/** @} |
*/ |
/kernel/trunk/arch/amd64/src/proc/scheduler.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64proc amd64 |
* @ingroup proc |
* @{ |
*/ |
/** @file |
*/ |
#include <proc/scheduler.h> |
#include <cpu.h> |
#include <proc/task.h> |
80,7 → 73,3 |
void after_thread_ran_arch(void) |
{ |
} |
/** @} |
*/ |
/kernel/trunk/arch/amd64/src/proc/thread.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64proc |
* @{ |
*/ |
/** @file |
*/ |
#include <proc/thread.h> |
/** Perform amd64 specific thread initialization. |
42,7 → 36,3 |
{ |
t->arch.tls = 0; |
} |
/** @} |
*/ |
/kernel/trunk/arch/amd64/src/amd64.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64 |
* @ingroup others |
* @{ |
*/ |
/** @file |
*/ |
#include <arch.h> |
#include <arch/types.h> |
208,7 → 201,3 |
{ |
i8042_release(); |
} |
/** @} |
*/ |
/kernel/trunk/arch/amd64/src/pm.c |
---|
27,12 → 27,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64 |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/pm.h> |
#include <arch/mm/page.h> |
#include <arch/types.h> |
239,7 → 233,3 |
*/ |
tr_load(gdtselector(TSS_DES)); |
} |
/** @} |
*/ |
/kernel/trunk/arch/amd64/src/ddi/ddi.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64ddi amd64 |
* @ingroup ddi |
* @{ |
*/ |
/** @file |
*/ |
#include <ddi/ddi.h> |
#include <arch/ddi/ddi.h> |
#include <proc/task.h> |
162,7 → 155,3 |
*/ |
CPU->arch.iomapver_copy = ver; |
} |
/** @} |
*/ |
/kernel/trunk/arch/amd64/src/debugger.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64debug ia32/amd64 |
* @ingroup debug |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/debugger.h> |
#include <console/kconsole.h> |
#include <console/cmd.h> |
382,7 → 375,3 |
debug_ipi); |
#endif |
} |
/** @} |
*/ |
/kernel/trunk/arch/amd64/src/cpu/cpu.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64cpu amd64 |
* @ingroup cpu |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/cpu.h> |
#include <arch/cpuid.h> |
#include <arch/pm.h> |
164,7 → 157,3 |
m->id, vendor_str[m->arch.vendor], m->arch.family, m->arch.model, m->arch.stepping, |
m->frequency_mhz); |
} |
/** @} |
*/ |
/kernel/trunk/arch/amd64/src/userspace.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64 |
* @{ |
*/ |
/** @file |
*/ |
#include <userspace.h> |
#include <arch/pm.h> |
#include <arch/types.h> |
76,7 → 70,3 |
for(;;) |
; |
} |
/** @} |
*/ |
/kernel/trunk/arch/amd64/src/syscall.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64 |
* @{ |
*/ |
/** @file |
*/ |
#include <syscall/syscall.h> |
#include <arch/syscall.h> |
#include <panic.h> |
66,7 → 60,3 |
*/ |
write_msr(AMD_MSR_SFMASK, 0x200); |
} |
/** @} |
*/ |
/kernel/trunk/arch/amd64/src/fpu_context.c |
---|
24,12 → 24,6 |
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
* (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 amd64 |
* @{ |
*/ |
/** @file |
* |
*/ |
62,7 → 56,3 |
"fninit;" |
); |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/atomic.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_ATOMIC_H__ |
#define __ia32_ATOMIC_H__ |
123,7 → 117,3 |
} |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/interrupt.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32interrupt |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_INTERRUPT_H__ |
#define __ia32_INTERRUPT_H__ |
123,7 → 117,3 |
extern void trap_virtual_eoi(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/smp/mps.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __MPS_H__ |
#define __MPS_H__ |
129,7 → 123,3 |
extern void kmp(void *arg); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/smp/apic.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __APIC_H__ |
#define __APIC_H__ |
365,7 → 359,3 |
extern void io_apic_enable_irqs(__u16 irqmask); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/smp/smp.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_SMP_H__ |
#define __ia32_SMP_H__ |
50,7 → 44,3 |
extern int smp_irq_to_pin(int irq); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/smp/ap.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __AP_H__ |
#define __AP_H__ |
38,7 → 32,3 |
extern void ap_boot(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/mm/as.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_AS_H__ |
#define __ia32_AS_H__ |
49,7 → 43,3 |
extern void as_arch_init(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/mm/asid.h |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32mm |
* @{ |
*/ |
/** @file |
* @ingroup ia32mm, amd64mm |
*/ |
/* |
* ia32 has no hardware support for address space identifiers. |
* This file is provided to do nop-implementation of mm/asid.h |
50,7 → 43,3 |
#define asid_put(asid) |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/mm/page.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_PAGE_H__ |
#define __ia32_PAGE_H__ |
167,7 → 161,3 |
#endif /* KERNEL */ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/mm/frame.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_FRAME_H__ |
#define __ia32_FRAME_H__ |
52,7 → 46,3 |
#endif /* KERNEL */ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/mm/tlb.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_TLB_H__ |
#define __ia32_TLB_H__ |
39,7 → 33,3 |
#define tlb_print() |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/mm/memory_init.h |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32mm |
* @{ |
*/ |
/** @file |
* @ingroup ia32mm, am64mm |
*/ |
#ifndef __ia32_MEMORY_INIT_H__ |
#define __ia32_MEMORY_INIT_H__ |
43,7 → 36,3 |
void memory_print_map(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/drivers/i8254.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __I8254_H__ |
#define __I8254_H__ |
42,7 → 36,3 |
extern void i8254_normal_operation(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/drivers/vesa.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __VESA_H__ |
#define __VESA_H__ |
39,7 → 33,3 |
extern void vesa_init(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/drivers/i8259.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __I8259_H__ |
#define __I8259_H__ |
52,7 → 46,3 |
extern void pic_eoi(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/drivers/ega.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __EGA_H__ |
#define __EGA_H__ |
43,7 → 37,3 |
extern void ega_init(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/drivers/i8042.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
/** |
* This file implements ia32 specific access to i8042 registers. |
*/ |
66,7 → 60,3 |
} |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/barrier.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_BARRIER_H__ |
#define __ia32_BARRIER_H__ |
85,7 → 79,3 |
#endif |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/pm.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __PM_H__ |
#define __PM_H__ |
177,7 → 171,3 |
#endif /* __ASM__ */ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/ddi/ddi.h |
---|
26,11 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32ddi |
* @{ |
*/ |
/** |
* @file |
* @file ddi.h |
* @brief ia32 specific DDI declarations and macros. |
*/ |
40,7 → 37,3 |
extern void io_perm_bitmap_install(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/proc/task.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32proc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_TASK_H__ |
#define __ia32_TASK_H__ |
45,7 → 39,3 |
} task_arch_t; |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/proc/thread.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32proc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_THREAD_H__ |
#define __ia32_THREAD_H__ |
42,7 → 36,3 |
} thread_arch_t; |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/cpu.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32cpu |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_CPU_H__ |
#define __ia32_CPU_H__ |
56,7 → 50,3 |
#define CR4_OSFXSR_MASK (1<<9) |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/asm.h |
---|
27,12 → 27,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_ASM_H__ |
#define __ia32_ASM_H__ |
295,7 → 289,3 |
} |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/fpu_context.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_FPU_CONTEXT_H__ |
#define __ia32_FPU_CONTEXT_H__ |
50,7 → 44,3 |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/cpuid.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32cpu |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_CPUID_H__ |
#define __ia32_CPUID_H__ |
114,7 → 108,3 |
} |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/types.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __TYPES_H__ |
#define __TYPES_H__ |
58,7 → 52,3 |
typedef struct page_specifier pte_t; |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/boot/boot.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_BOOT_H__ |
#define __ia32_BOOT_H__ |
45,7 → 39,3 |
#define MULTIBOOT_LOADER_MAGIC 0x2BADB002 |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/boot/memmap.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_MEMMAP_H__ |
#define __ia32_MEMMAP_H__ |
72,7 → 66,3 |
#endif |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/elf.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_ELF_H__ |
#define __ia32_ELF_H__ |
40,7 → 34,3 |
#define ELF_CLASS ELFCLASS32 |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/debug.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64debug |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_DEBUG_H__ |
#define __ia32_DEBUG_H__ |
40,7 → 34,3 |
#define HERE get_ip() |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/memstr.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_MEMSTR_H__ |
#define __ia32_MEMSTR_H__ |
146,7 → 140,3 |
} |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/context.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_CONTEXT_H__ |
#define __ia32_CONTEXT_H__ |
62,7 → 56,3 |
} __attribute__ ((packed)); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/byteorder.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_BYTEORDER_H__ |
#define __ia32_BYTEORDER_H__ |
40,7 → 34,3 |
#define __u64_le2host(n) (n) |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/arch.h |
---|
26,17 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_ARCH_H__ |
#define __ia32_ARCH_H__ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/faddr.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_FADDR_H__ |
#define __ia32_FADDR_H__ |
40,7 → 34,3 |
#define FADDR(fptr) ((__address) (fptr)) |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/arg.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_ARG_H__ |
#define __ia32_ARG_H__ |
38,7 → 32,3 |
#include <stackarg.h> |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/bios/bios.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __BIOS_H__ |
#define __BIOS_H__ |
44,7 → 38,3 |
extern void bios_init(void); |
#endif /* __BIOS_H__ */ |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/interrupt.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32interrupt ia32 |
* @ingroup interrupt |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/interrupt.h> |
#include <syscall/syscall.h> |
#include <print.h> |
205,7 → 198,3 |
trap_virtual_enable_irqs(1 << irq); |
exc_register(IVT_IRQBASE+irq, "ipc_int", ipc_int); |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/smp/apic.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/types.h> |
#include <arch/smp/apic.h> |
#include <arch/smp/ap.h> |
576,7 → 570,3 |
} |
#endif /* CONFIG_SMP */ |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/smp/mps.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifdef CONFIG_SMP |
#include <config.h> |
429,7 → 423,3 |
} |
#endif /* CONFIG_SMP */ |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/smp/smp.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#include <smp/smp.h> |
#include <arch/smp/smp.h> |
#include <arch/smp/mps.h> |
180,7 → 174,3 |
} |
#endif /* CONFIG_SMP */ |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/smp/ipi.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifdef CONFIG_SMP |
#include <smp/ipi.h> |
43,7 → 37,3 |
} |
#endif /* CONFIG_SMP */ |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/drivers/i8259.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/drivers/i8259.h> |
#include <cpu.h> |
#include <arch/types.h> |
130,7 → 124,3 |
printf("cpu%d: PIC spurious interrupt\n", CPU->id); |
#endif |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/drivers/vesa.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifdef CONFIG_FB |
#include <genarch/fb/fb.h> |
69,7 → 63,3 |
} |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/drivers/i8254.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/types.h> |
#include <time/clock.h> |
#include <time/delay.h> |
136,7 → 130,3 |
trap_virtual_eoi(); |
clock(); |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/drivers/ega.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/drivers/ega.h> |
#include <putchar.h> |
#include <mm/page.h> |
143,7 → 137,3 |
outb(0x3d4, 0xf); |
outb(0x3d5, ega_cursor & 0xff); |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/mm/page.c |
---|
26,14 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32mm ia32 |
* @ingroup mm |
* @{ |
*/ |
/** @file |
* @ingroup ia32 |
*/ |
#include <arch/mm/page.h> |
#include <genarch/mm/page_pt.h> |
#include <arch/mm/frame.h> |
118,7 → 110,3 |
panic("page fault\n"); |
} |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/mm/frame.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32mm |
* @{ |
*/ |
/** @file |
* @ingroup ia32mm, amd64mm |
*/ |
#include <mm/frame.h> |
#include <arch/mm/frame.h> |
#include <mm/as.h> |
142,7 → 135,3 |
#endif |
} |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/mm/memory_init.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32mm |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/boot/memmap.h> |
#include <arch/mm/memory_init.h> |
#include <arch/mm/page.h> |
75,7 → 69,3 |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/mm/as.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32mm |
* @{ |
*/ |
/** @file |
* @ingroup ia32mm, amd64mm |
*/ |
#include <arch/mm/as.h> |
#include <genarch/mm/as_pt.h> |
41,7 → 34,3 |
{ |
as_operations = &as_pt_operations; |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/mm/tlb.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32mm |
* @{ |
*/ |
/** @file |
* @ingroup ia32mm, amd64mm |
*/ |
#include <mm/tlb.h> |
#include <arch/mm/asid.h> |
#include <arch/asm.h> |
66,7 → 59,3 |
for (i = 0; i < cnt; i++) |
invlpg(page + i * PAGE_SIZE); |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/proc/task.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32proc |
* @{ |
*/ |
/** @file |
*/ |
#include <proc/task.h> |
#include <arch/types.h> |
#include <adt/bitmap.h> |
56,7 → 50,3 |
if (t->arch.iomap.map) |
free(t->arch.iomap.map); |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/proc/scheduler.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32proc ia32 |
* @ingroup proc |
* @{ |
*/ |
/** @file |
*/ |
#include <proc/scheduler.h> |
#include <cpu.h> |
#include <proc/task.h> |
77,7 → 70,3 |
void after_thread_ran_arch(void) |
{ |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/proc/thread.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32proc |
* @{ |
*/ |
/** @file |
*/ |
#include <proc/thread.h> |
/** Perform ia32 specific thread initialization. |
42,7 → 36,3 |
{ |
t->arch.tls = 0; |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/ia32.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @ingroup others |
* @{ |
*/ |
/** @file |
*/ |
#include <arch.h> |
#include <arch/types.h> |
155,7 → 148,3 |
{ |
i8042_release(); |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/pm.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/pm.h> |
#include <config.h> |
#include <arch/types.h> |
235,7 → 229,3 |
/* Reload gdt register to update GS in CPU */ |
gdtr_load(&cpugdtr); |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/ddi/ddi.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32ddi ia32 |
* @ingroup ddi |
* @{ |
*/ |
/** @file |
*/ |
#include <ddi/ddi.h> |
#include <arch/ddi/ddi.h> |
#include <proc/task.h> |
161,7 → 154,3 |
*/ |
CPU->arch.iomapver_copy = ver; |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/cpu/cpu.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32cpu ia32 |
* @ingroup cpu |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/cpu.h> |
#include <arch/cpuid.h> |
#include <arch/pm.h> |
162,7 → 155,3 |
m->id, vendor_str[m->arch.vendor], m->arch.family, m->arch.model, m->arch.stepping, |
m->frequency_mhz); |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/userspace.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#include <userspace.h> |
#include <arch/pm.h> |
#include <arch/types.h> |
82,7 → 76,3 |
for(;;) |
; |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/fpu_context.c |
---|
24,12 → 24,6 |
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
* (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 ia32 |
* @{ |
*/ |
/** @file |
* |
*/ |
120,7 → 114,3 |
:"i"(0x1f80) |
); |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/bios/bios.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/bios/bios.h> |
#include <arch/types.h> |
42,7 → 36,3 |
/* Copy the EBDA address out from BIOS Data Area */ |
ebda = *((__u16 *) BIOS_EBDA_PTR) * 0x10; |
} |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/src/drivers/cuda.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/drivers/cuda.h> |
#include <arch/asm.h> |
#include <console/console.h> |
306,7 → 300,3 |
"b 0\n" |
); |
} |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/src/drivers/pic.c |
---|
26,13 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/asm.h> |
#include <arch/drivers/pic.h> |
#include <byteorder.h> |
89,7 → 83,3 |
} |
return -1; |
} |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/src/ppc32.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @ingroup others |
* @{ |
*/ |
/** @file |
*/ |
#include <arch.h> |
#include <arch/boot/boot.h> |
#include <arch/drivers/cuda.h> |
117,7 → 110,3 |
void arch_release_console(void) |
{ |
} |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/src/mm/page.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32mm |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/mm/page.h> |
#include <genarch/mm/page_pt.h> |
#include <arch/mm/frame.h> |
303,7 → 297,3 |
return virtaddr; |
} |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/src/mm/tlb.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32mm |
* @{ |
*/ |
/** @file |
*/ |
#include <mm/tlb.h> |
81,7 → 75,3 |
void tlb_print(void) |
{ |
} |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/src/mm/frame.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32mm |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/boot/boot.h> |
#include <arch/mm/frame.h> |
#include <arch/mm/memory_init.h> |
66,7 → 60,3 |
frame_mark_unavailable(0, 4); |
} |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/src/mm/memory_init.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32mm |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/boot/boot.h> |
#include <arch/mm/memory_init.h> |
#include <typedefs.h> |
51,7 → 45,3 |
for (i = 0; i < bootinfo.memmap.count; i++) |
printf("base: %#x size: %#x\n", bootinfo.memmap.zones[i].start, bootinfo.memmap.zones[i].size); |
} |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/src/mm/as.c |
---|
26,14 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32mm ppc32 |
* @ingroup mm |
* @{ |
*/ |
/** @file |
* @ingroup ppc32 |
*/ |
#include <arch/mm/as.h> |
#include <genarch/mm/as_pt.h> |
42,7 → 34,3 |
{ |
as_operations = &as_pt_operations; |
} |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/src/interrupt.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32interrupt ppc32 |
* @ingroup interrupt |
* @{ |
*/ |
/** @file |
*/ |
#include <interrupt.h> |
#include <arch/interrupt.h> |
#include <arch/types.h> |
92,7 → 85,3 |
{ |
int_register(irq, "ipc_int", ipc_int); |
} |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/src/proc/scheduler.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32proc ppc32 |
* @ingroup proc |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/mm/page.h> |
#include <arch/boot/boot.h> |
#include <proc/scheduler.h> |
59,7 → 52,3 |
void after_thread_ran_arch(void) |
{ |
} |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/src/ddi/ddi.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32ddi ppc32 |
* @ingroup ddi |
* @{ |
*/ |
/** @file |
*/ |
#include <ddi/ddi.h> |
#include <proc/task.h> |
#include <arch/types.h> |
52,7 → 45,3 |
{ |
return 0; |
} |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/src/cpu/cpu.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32cpu ppc32 |
* @ingroup cpu |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/cpu.h> |
#include <arch/cpuid.h> |
#include <cpu.h> |
59,7 → 52,3 |
{ |
printf("cpu%d: version=%d, revision=%d\n", m->id, m->arch.version, m->arch.revision); |
} |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/include/drivers/cuda.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __CUDA_H__ |
#define __CUDA_H__ |
44,7 → 38,3 |
extern int cuda_get_scancode(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/include/drivers/pic.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __PIC_H_ |
#define __PIC_H_ |
52,7 → 46,3 |
int pic_get_pending(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/include/arch.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_ARCH_H__ |
#define __ppc32_ARCH_H__ |
38,7 → 32,3 |
#include <arch/drivers/cuda.h> |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/include/boot/boot.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_BOOT_H__ |
#define __ppc32_BOOT_H__ |
93,7 → 87,3 |
#endif |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/include/interrupt.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32interrupt |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_INTERRUPT_H__ |
#define __ppc32_INTERRUPT_H__ |
55,7 → 49,3 |
extern void extint_handler(int n, istate_t *istate); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/include/mm/page.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_PAGE_H__ |
#define __ppc32_PAGE_H__ |
157,7 → 151,3 |
#endif /* KERNEL */ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/include/mm/as.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_AS_H__ |
#define __ppc32_AS_H__ |
49,7 → 43,3 |
extern void as_arch_init(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/include/mm/asid.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_ASID_H__ |
#define __ppc32_ASID_H__ |
43,7 → 37,3 |
#define asid_put(asid) |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/include/mm/frame.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_FRAME_H__ |
#define __ppc32_FRAME_H__ |
51,7 → 45,3 |
#endif /* KERNEL */ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/include/mm/tlb.h |
---|
26,18 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_TLB_H__ |
#define __ppc32_TLB_H__ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/include/mm/memory_init.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_MEMORY_INIT_H__ |
#define __ppc32_MEMORY_INIT_H__ |
42,7 → 36,3 |
void memory_print_map(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/include/exception.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_EXCEPTION_H__ |
#define __ppc32_EXCEPTION_H__ |
99,7 → 93,3 |
} |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/include/proc/task.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32proc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_TASK_H__ |
#define __ppc32_TASK_H__ |
42,7 → 36,3 |
#define task_destroy_arch(t) |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/include/proc/thread.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32proc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_THREAD_H__ |
#define __ppc32_THREAD_H__ |
41,7 → 35,3 |
#define thread_create_arch(t) |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/include/asm/regname.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_REGNAME_H__ |
#define __ppc32_REGNAME_H__ |
226,7 → 220,3 |
#define hid0_dci (1 << 10) |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/include/types.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_TYPES_H__ |
#define __ppc32_TYPES_H__ |
64,7 → 58,3 |
} pte_t; |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/include/asm.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_ASM_H__ |
#define __ppc32_ASM_H__ |
150,7 → 144,3 |
extern void userspace_asm(__address uspace_uarg, __address stack, __address entry); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/include/byteorder.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_BYTEORDER_H__ |
#define __ppc32_BYTEORDER_H__ |
68,7 → 62,3 |
} |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/include/cpuid.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32cpu |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_CPUID_H__ |
#define __ppc32_CPUID_H__ |
51,7 → 45,3 |
} |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/include/atomic.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_ATOMIC_H__ |
#define __ppc32_ATOMIC_H__ |
92,7 → 86,3 |
} |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/include/barrier.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_BARRIER_H__ |
#define __ppc32_BARRIER_H__ |
43,7 → 37,3 |
#define write_barrier() asm volatile ("eieio" ::: "memory") |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/include/context.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_CONTEXT_H__ |
#define __ppc32_CONTEXT_H__ |
72,7 → 66,3 |
} __attribute__ ((packed)); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/include/elf.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_ELF_H__ |
#define __ppc32_ELF_H__ |
40,7 → 34,3 |
#define ELF_CLASS ELFCLASS32 |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/include/context_offset.h |
---|
43,7 → 43,3 |
#define OFFSET_FR30 0x80 |
#define OFFSET_FR31 0x88 |
#define OFFSET_FPSCR 0x90 |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/include/fpu_context.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_FPU_CONTEXT_H__ |
#define __ppc32_FPU_CONTEXT_H__ |
62,7 → 56,3 |
} __attribute__ ((packed)); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/include/cpu.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32cpu |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_CPU_H__ |
#define __ppc32_CPU_H__ |
43,7 → 37,3 |
}; |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/include/memstr.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_MEMSTR_H__ |
#define __ppc32_MEMSTR_H__ |
43,7 → 37,3 |
extern int memcmp(__address src, __address dst, int cnt); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/include/debug.h |
---|
26,18 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32debug ppc32 |
* @ingroup debug |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_DEBUG_H__ |
#define __ppc32_DEBUG_H__ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/include/arg.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_ARG_H__ |
#define __ppc32_ARG_H__ |
38,7 → 32,3 |
#include <stdarg.h> |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc32/include/faddr.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_FADDR_H__ |
#define __ppc32_FADDR_H__ |
40,7 → 34,3 |
#define FADDR(fptr) ((__address) (fptr)) |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/exception.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_EXCEPTION_H__ |
#define __mips32_EXCEPTION_H__ |
122,7 → 116,3 |
extern void exception_init(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/arg.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_ARG_H__ |
#define __mips32_ARG_H__ |
55,7 → 49,3 |
#define va_end(ap) |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/proc/task.h |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32proc mips32 |
* @ingroup proc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_TASK_H__ |
#define __mips32_TASK_H__ |
43,7 → 36,3 |
#define task_destroy_arch(t) |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/proc/thread.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32proc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_THREAD_H__ |
#define __mips32_THREAD_H__ |
41,7 → 35,3 |
#define thread_create_arch(t) |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/mm/as.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_AS_H__ |
#define __mips32_AS_H__ |
47,7 → 41,3 |
extern void as_arch_init(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/mm/page.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_PAGE_H__ |
#define __mips32_PAGE_H__ |
151,7 → 145,3 |
#endif /* KERNEL */ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/mm/frame.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_FRAME_H__ |
#define __mips32_FRAME_H__ |
47,7 → 41,3 |
#endif /* KERNEL */ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/mm/tlb.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_TLB_H__ |
#define __mips32_TLB_H__ |
180,7 → 174,3 |
extern void tlb_modified(istate_t *istate); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/mm/asid.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_ASID_H__ |
#define __mips32_ASID_H__ |
42,7 → 36,3 |
typedef __u8 asid_t; |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/mm/memory_init.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_MEMORY_INIT_H__ |
#define __mips32_MEMORY_INIT_H__ |
43,7 → 37,3 |
#define get_memory_size() CONFIG_MEMORY_SIZE |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/drivers/msim.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef _MSIM_H_ |
#define _MSIM_H_ |
47,7 → 41,3 |
void msim_kbd_grab(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/drivers/arc.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_ARC_H__ |
#define __mips32_ARC_H__ |
262,7 → 256,3 |
void arc_console(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/drivers/serial.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __DRV_SERIAL_H__ |
#define __DRV_SERIAL_H__ |
66,7 → 60,3 |
int serial_init(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/cp0.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32cpu |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_CP0_H__ |
#define __mips32_CP0_H__ |
118,7 → 112,3 |
GEN_READ_CP0(prid, 15); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/barrier.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_BARRIER_H__ |
#define __mips32_BARRIER_H__ |
46,7 → 40,3 |
#define write_barrier() __asm__ volatile ("" ::: "memory") |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/interrupt.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32interrupt |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_INTERRUPT_H__ |
#define __mips32_INTERRUPT_H__ |
52,7 → 46,3 |
extern void interrupt_init(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/arch.h |
---|
26,17 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_ARCH_H__ |
#define __mips32_ARCH_H__ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/asm.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_ASM_H__ |
#define __mips32_ASM_H__ |
67,7 → 61,3 |
__address entry); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/atomic.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_ATOMIC_H__ |
#define __mips32_ATOMIC_H__ |
71,7 → 65,3 |
} |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/context_offset.h |
---|
50,7 → 50,3 |
#define EOFFSET_EPC 0x80 |
#define EOFFSET_K1 0x84 |
#define REGISTER_SPACE 136 |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/stack.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_STACK_H__ |
#define __mips32_STACK_H__ |
39,7 → 33,3 |
#define STACK_ALIGNMENT 8 |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/context.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_CONTEXT_H__ |
#define __mips32_CONTEXT_H__ |
75,7 → 69,3 |
#endif /* __ASM__ */ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/debugger.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32debug |
* @{ |
*/ |
/** @file |
*/ |
#ifndef _mips32_DEBUGGER_H_ |
#define _mips32_DEBUGGER_H_ |
64,7 → 58,3 |
extern bpinfo_t breakpoints[BKPOINTS_MAX]; |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/types.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_TYPES_H__ |
#define __mips32_TYPES_H__ |
61,7 → 55,3 |
typedef __u32 pfn_t; |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/elf.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_ELF_H__ |
#define __mips32_ELF_H__ |
46,7 → 40,3 |
#define ELF_CLASS ELFCLASS32 |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/fpu_context.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_FPU_CONTEXT_H__ |
#define __mips32_FPU_CONTEXT_H__ |
45,7 → 39,3 |
}; |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/asm/regname.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_REGNAME_H_ |
#define __mips32_REGNAME_H_ |
93,7 → 87,3 |
#endif /* _REGNAME_H_ */ |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/asm/boot.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_BOOT_H_ |
#define __mips32_BOOT_H_ |
40,7 → 34,3 |
#define TEMP_STACK_SIZE 0x100 |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/memstr.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_MEMSTR_H__ |
#define __mips32_MEMSTR_H__ |
43,7 → 37,3 |
extern int memcmp(__address src, __address dst, int cnt); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/debug.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32debug |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_DEBUG_H__ |
#define __mips23_DEBUG_H__ |
50,7 → 44,3 |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/console.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_CONSOLE_H__ |
#define __mips32_CONSOLE_H__ |
39,7 → 33,3 |
void console_init(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/cpu.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32cpu |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_CPU_H__ |
#define __mips32_CPU_H__ |
43,7 → 37,3 |
}; |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/byteorder.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_BYTEORDER_H__ |
#define __mips32_BYTEORDER_H__ |
55,7 → 49,3 |
#endif |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/cache.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_CACHE_H__ |
#define __mips32_CACHE_H__ |
38,7 → 32,3 |
extern void cache_error(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/mips32/include/faddr.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_FADDR_H__ |
#define __mips32_FADDR_H__ |
40,7 → 34,3 |
#define FADDR(fptr) ((__address) (fptr)) |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/mips32/src/mips32.c |
---|
26,14 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @ingroup others |
* @{ |
*/ |
/** @file |
*/ |
#include <arch.h> |
#include <arch/boot.h> |
#include <arch/cp0.h> |
181,7 → 174,3 |
return 0; |
} |
/** @} |
*/ |
/kernel/trunk/arch/mips32/src/exception.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/exception.h> |
#include <arch/interrupt.h> |
#include <panic.h> |
171,7 → 165,3 |
#endif |
exc_register(EXC_Sys, "syscall", (iroutine) syscall_exception); |
} |
/** @} |
*/ |
/kernel/trunk/arch/mips32/src/mm/tlb.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32mm |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/mm/tlb.h> |
#include <mm/asid.h> |
#include <mm/tlb.h> |
608,7 → 602,3 |
interrupts_restore(ipl); |
cp0_entry_hi_write(hi_save.value); |
} |
/** @} |
*/ |
/kernel/trunk/arch/mips32/src/mm/page.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32mm |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/mm/page.h> |
#include <genarch/mm/page_pt.h> |
#include <mm/page.h> |
49,7 → 43,3 |
{ |
return physaddr + 0xa0000000; |
} |
/** @} |
*/ |
/kernel/trunk/arch/mips32/src/mm/frame.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32mm |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/mm/frame.h> |
#include <mm/frame.h> |
#include <config.h> |
55,7 → 49,3 |
frame_mark_unavailable(0, 1); |
} |
} |
/** @} |
*/ |
/kernel/trunk/arch/mips32/src/mm/as.c |
---|
26,14 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32mm mips32 |
* @ingroup mm |
* @{ |
*/ |
/** @file |
* @ingroup mips32 |
*/ |
#include <arch/mm/as.h> |
#include <genarch/mm/as_pt.h> |
#include <genarch/mm/asid_fifo.h> |
74,7 → 66,3 |
interrupts_restore(ipl); |
} |
/** @} |
*/ |
/kernel/trunk/arch/mips32/src/console.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#include <console/console.h> |
#include <arch/console.h> |
#include <arch/drivers/arc.h> |
63,7 → 57,3 |
{ |
msim_kbd_release(); |
} |
/** @} |
*/ |
/kernel/trunk/arch/mips32/src/drivers/msim.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#include <interrupt.h> |
#include <console/chardev.h> |
#include <arch/drivers/msim.h> |
124,7 → 118,3 |
{ |
int_register(MSIM_KBD_IRQ, "user_interrupt", oldvector); |
} |
/** @} |
*/ |
/kernel/trunk/arch/mips32/src/drivers/arc.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/drivers/arc.h> |
#include <arch/mm/page.h> |
#include <print.h> |
407,7 → 401,3 |
config.memory_size = total; |
} |
/** @} |
*/ |
/kernel/trunk/arch/mips32/src/drivers/serial.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#include <interrupt.h> |
#include <arch/cp0.h> |
#include <arch/drivers/serial.h> |
142,7 → 136,3 |
stdin = &console; |
stdout = &console; |
} |
/** @} |
*/ |
/kernel/trunk/arch/mips32/src/interrupt.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32interrupt mips32 |
* @ingroup interrupt |
* @{ |
*/ |
/** @file |
*/ |
#include <interrupt.h> |
#include <arch/interrupt.h> |
#include <arch/types.h> |
141,7 → 134,3 |
return; |
int_register(irq, "ipc_int", ipc_int); |
} |
/** @} |
*/ |
/kernel/trunk/arch/mips32/src/ddi/ddi.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32ddi mips32 |
* @ingroup ddi |
* @{ |
*/ |
/** @file |
*/ |
#include <ddi/ddi.h> |
#include <proc/task.h> |
#include <arch/types.h> |
55,7 → 48,3 |
{ |
return 0; |
} |
/** @} |
*/ |
/kernel/trunk/arch/mips32/src/debugger.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32debug mips32 |
* @ingroup debug |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/debugger.h> |
#include <memstr.h> |
#include <console/kconsole.h> |
383,7 → 376,3 |
} |
spinlock_unlock(&bkpoint_lock); |
} |
/** @} |
*/ |
/kernel/trunk/arch/mips32/src/fpu_context.c |
---|
24,12 → 24,6 |
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
* (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 mips32 |
* @{ |
*/ |
/** @file |
* |
*/ |
56,7 → 50,3 |
{ |
/* TODO: Zero all registers */ |
} |
/** @} |
*/ |
/kernel/trunk/arch/mips32/src/cpu/cpu.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32cpu mips32 |
* @ingroup cpu |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/cpu.h> |
#include <cpu.h> |
134,7 → 127,3 |
m->id, data->vendor, data->model, m->arch.rev_num >> 4, |
m->arch.rev_num & 0xf, m->arch.imp_num); |
} |
/** @} |
*/ |
/kernel/trunk/arch/mips32/src/cache.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/cache.h> |
#include <panic.h> |
39,7 → 33,3 |
{ |
panic("cache_error exception\n"); |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia64/include/mm/tlb.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_TLB_H__ |
#define __ia64_TLB_H__ |
99,7 → 93,3 |
extern void page_not_present(__u64 vector, istate_t *istate); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia64/include/mm/as.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_AS_H__ |
#define __ia64_AS_H__ |
47,7 → 41,3 |
extern void as_arch_init(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia64/include/mm/vhpt.h |
---|
26,13 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_VHPT_H__ |
#define __ia64_VHPT_H__ |
58,7 → 52,3 |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia64/include/mm/page.h |
---|
27,12 → 27,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_PAGE_H__ |
#define __ia64_PAGE_H__ |
278,7 → 272,3 |
#endif /* KERNEL */ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia64/include/mm/frame.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_FRAME_H__ |
#define __ia64_FRAME_H__ |
49,7 → 43,3 |
#endif /* KERNEL */ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia64/include/mm/memory_init.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_MEMORY_INIT_H__ |
#define __ia64_MEMORY_INIT_H__ |
40,7 → 34,3 |
#define get_memory_size() (512*1024*1024) /* 512M */ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia64/include/mm/asid.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_ASID_H__ |
#define __ia64_ASID_H__ |
61,7 → 55,3 |
#define ASID_MAX_ARCH (RID_MAX/RIDS_PER_ASID) |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia64/include/interrupt.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64interrupt |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_INTERRUPT_H__ |
#define __ia64_INTERRUPT_H__ |
142,7 → 136,3 |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia64/include/proc/task.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64proc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_TASK_H__ |
#define __ia64_TASK_H__ |
42,7 → 36,3 |
#define task_destroy_arch(t) |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia64/include/proc/thread.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64proc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_THREAD_H__ |
#define __ia64_THREAD_H__ |
41,7 → 35,3 |
#define thread_create_arch(t) |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia64/include/ski/ski.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __SKI_H__ |
#define __SKI_H__ |
50,7 → 44,3 |
extern int kbd_uspace; |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia64/include/arch.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_ARCH_H__ |
#define __ia64_ARCH_H__ |
40,7 → 34,3 |
#include <arch/ski/ski.h> |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia64/include/asm.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_ASM_H__ |
#define __ia64_ASM_H__ |
280,7 → 274,3 |
extern void switch_to_userspace(__address entry, __address sp, __address bsp, __address uspace_uarg, __u64 ipsr, __u64 rsc); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia64/include/context.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_CONTEXT_H__ |
#define __ia64_CONTEXT_H__ |
131,7 → 125,3 |
}; |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia64/include/faddr.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_FADDR_H__ |
#define __ia64_FADDR_H__ |
48,7 → 42,3 |
#define FADDR(f) (*((__address *)(f))); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia64/include/atomic.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_ATOMIC_H__ |
#define __ia64_ATOMIC_H__ |
61,7 → 55,3 |
static inline long atomic_postdec(atomic_t *val) { return atomic_add(val, -1); } |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia64/include/fpu_context.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_FPU_CONTEXT_H__ |
#define __ia64_FPU_CONTEXT_H__ |
48,7 → 42,3 |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia64/include/register.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_REGISTER_H__ |
#define __ia64_REGISTER_H__ |
273,7 → 267,3 |
#endif /* !__ASM__ */ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia64/include/types.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __TYPES_H__ |
#define __TYPES_H__ |
66,7 → 60,3 |
typedef struct pte pte_t; |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia64/include/elf.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_ELF_H__ |
#define __ia64_ELF_H__ |
40,7 → 34,3 |
#define ELF_CLASS ELFCLASS64 |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia64/include/pal/pal.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_PAL_H__ |
#define __ia64_PAL_H__ |
105,7 → 99,3 |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia64/include/memstr.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_MEMSTR_H__ |
#define __ia64_MEMSTR_H__ |
43,7 → 37,3 |
extern int memcmp(__address src, __address dst, int cnt); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia64/include/debug.h |
---|
26,18 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64debug ia64 |
* @ingroup debug |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_DEBUG_H__ |
#define __ia64_DEBUG_H__ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia64/include/drivers/it.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_IT_H__ |
#define __ia64_IT_H__ |
47,7 → 41,3 |
extern void it_interrupt(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia64/include/cpu.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64cpu |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_CPU_H__ |
#define __ia64_CPU_H__ |
64,7 → 58,3 |
} |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia64/include/stack.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_STACK_H__ |
#define __ia64_STACK_H__ |
41,7 → 35,3 |
#define REGISTER_STACK_ALIGNMENT 8 |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia64/include/barrier.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_BARRIER_H__ |
#define __ia64_BARRIER_H__ |
49,7 → 43,3 |
#define srlz_d() __asm__ volatile (";; srlz.d\n" ::: "memory") |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia64/include/byteorder.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_BYTEORDER_H__ |
#define __ia64_BYTEORDER_H__ |
40,7 → 34,3 |
#define __u64_le2host(n) (n) |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia64/include/arg.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_ARG_H__ |
#define __ia64_ARG_H__ |
38,7 → 32,3 |
#include <stdarg.h> |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia64/include/smp/atomic.h |
---|
File deleted |
/kernel/trunk/arch/ia64/src/proc/scheduler.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64proc ia64 |
* @ingroup proc |
* @{ |
*/ |
/** @file |
*/ |
#include <proc/scheduler.h> |
#include <proc/thread.h> |
#include <arch.h> |
88,7 → 81,3 |
void after_thread_ran_arch(void) |
{ |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia64/src/mm/tlb.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64mm |
* @{ |
*/ |
/** @file |
*/ |
/* |
* TLB management. |
*/ |
684,7 → 678,3 |
} |
} |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia64/src/mm/vhpt.c |
---|
26,13 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64mm |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/mm/vhpt.h> |
#include <mm/frame.h> |
#include <print.h> |
92,7 → 86,3 |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia64/src/mm/page.c |
---|
27,12 → 27,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64mm |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/mm/page.h> |
#include <genarch/mm/page_ht.h> |
#include <mm/asid.h> |
262,7 → 256,3 |
v->present.key = 0; |
v->present.tag.tag_word = tag; |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia64/src/mm/as.c |
---|
26,14 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64mm ia64 |
* @ingroup mm |
* @{ |
*/ |
/** @file |
* @ingroup ia64 |
*/ |
#include <arch/mm/as.h> |
#include <arch/mm/asid.h> |
#include <arch/mm/page.h> |
86,7 → 78,3 |
spinlock_unlock(&as->lock); |
interrupts_restore(ipl); |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia64/src/mm/frame.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64mm |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/mm/frame.h> |
#include <mm/frame.h> |
#include <config.h> |
53,7 → 47,3 |
*/ |
frame_mark_unavailable(ADDR2PFN(ROM_BASE), ROM_SIZE >> FRAME_WIDTH); |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia64/src/interrupt.c |
---|
25,13 → 25,6 |
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
* (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 ia64interrupt ia64 |
* @ingroup interrupt |
* @{ |
*/ |
/** @file |
* |
*/ |
279,7 → 272,3 |
panic("not implemented\n"); |
/* TODO */ |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia64/src/ia64.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @ingroup others |
* @{ |
*/ |
/** @file |
*/ |
#include <arch.h> |
#include <arch/ski/ski.h> |
#include <arch/drivers/it.h> |
152,7 → 145,3 |
{ |
kbd_uspace=kbd_release; |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia64/src/ski/ski.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/ski/ski.h> |
#include <console/console.h> |
#include <console/chardev.h> |
199,7 → 193,3 |
sysinfo_set_item_val("kbd",NULL,true); |
sysinfo_set_item_val("kbd.irq",NULL,IRQ_KBD); |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia64/src/drivers/it.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
/** Interval Timer driver. */ |
#include <arch/drivers/it.h> |
100,7 → 94,3 |
clock(); |
poll_keyboard(); |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia64/src/ddi/ddi.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64ddi ia64 |
* @ingroup ddi |
* @{ |
*/ |
/** @file |
*/ |
#include <ddi/ddi.h> |
#include <proc/task.h> |
#include <arch/types.h> |
52,7 → 45,3 |
{ |
return 0; |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia64/src/fpu_context.c |
---|
24,12 → 24,6 |
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
* (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 ia64 |
* @{ |
*/ |
/** @file |
* |
*/ |
479,7 → 473,3 |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia64/src/putchar.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#include <putchar.h> |
#include <arch/ski/ski.h> |
39,7 → 33,3 |
{ |
ski_write(ch); |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia64/src/cpu/cpu.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64cpu ia64 |
* @ingroup cpu |
* @{ |
*/ |
/** @file |
*/ |
#include <cpu.h> |
#include <arch.h> |
#include <arch/register.h> |
72,7 → 65,3 |
printf("cpu%d: %s (%s), archrev=%d, model=%d, revision=%d\n", CPU->id, family_str, vendor, CPU->arch.cpuid3.archrev, CPU->arch.cpuid3.model, CPU->arch.cpuid3.revision); |
} |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/interrupt.h |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64interrupt sparc64 |
* @ingroup interrupt |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_INTERRUPT_H__ |
#define __sparc64_INTERRUPT_H__ |
73,7 → 66,3 |
extern void interrupt_register(int n, const char *name, iroutine f); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/proc/task.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64proc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_TASK_H__ |
#define __sparc64_TASK_H__ |
42,7 → 36,3 |
#define task_destroy_arch(t) |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/proc/thread.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64proc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_THREAD_H__ |
#define __sparc64_THREAD_H__ |
41,7 → 35,3 |
#define thread_create_arch(t) |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/mm/as.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_AS_H__ |
#define __sparc64_AS_H__ |
49,7 → 43,3 |
extern void as_arch_init(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/mm/page.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_PAGE_H__ |
#define __sparc64_PAGE_H__ |
64,7 → 58,3 |
#endif /* KERNEL */ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/mm/frame.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_FRAME_H__ |
#define __sparc64_FRAME_H__ |
60,7 → 54,3 |
#endif |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/mm/tlb.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_TLB_H__ |
#define __sparc64_TLB_H__ |
417,7 → 411,3 |
extern void dtlb_insert_mapping(__address page, __address frame, int pagesize, bool locked, bool cacheable); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/mm/memory_init.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_MEMORY_INIT_H__ |
#define __sparc64_MEMORY_INIT_H__ |
40,7 → 34,3 |
extern size_t get_memory_size(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/mm/mmu.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_MMU_H__ |
#define __sparc64_MMU_H__ |
131,7 → 125,3 |
} |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/mm/asid.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_ASID_H__ |
#define __sparc64_ASID_H__ |
45,7 → 39,3 |
#define ASID_MAX_ARCH 8191 /* 2^13 - 1 */ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/mm/tte.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_TTE_H__ |
#define __sparc64_TTE_H__ |
76,7 → 70,3 |
typedef union tte_data tte_data_t; |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/drivers/i8042.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_I8042_H__ |
#define __sparc64_I8042_H__ |
70,7 → 64,3 |
extern void kbd_init(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/drivers/fb.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_FB_H__ |
#define __sparc64_FB_H__ |
43,7 → 37,3 |
#define FB_COLOR_DEPTH 8 |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/drivers/tick.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_TICK_H__ |
#define __sparc64_TICK_H__ |
43,7 → 37,3 |
extern void tick_interrupt(int n, istate_t *istate); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/atomic.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_ATOMIC_H__ |
#define __sparc64_ATOMIC_H__ |
98,7 → 92,3 |
} |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/types.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_TYPES_H__ |
#define __sparc64_TYPES_H__ |
60,7 → 54,3 |
typedef __u8 asi_t; |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/elf.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_ELF_H__ |
#define __sparc64_ELF_H__ |
40,7 → 34,3 |
#define ELF_CLASS ELFCLASS64 |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/trap/exception.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_EXCEPTION_H__ |
#define __sparc64_EXCEPTION_H__ |
48,7 → 42,3 |
#endif /* !__ASM__ */ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/trap/mmu.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
/** |
* This file contains fast MMU trap handlers. |
*/ |
74,7 → 68,3 |
#endif /* __ASM__ */ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/trap/trap.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_TRAP_H__ |
#define __sparc64_TRAP_H__ |
48,7 → 42,3 |
extern void trap_init(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/trap/interrupt.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
/** |
* This file contains interrupt vector trap handler. |
*/ |
77,7 → 71,3 |
#endif /* __ASM__ */ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/trap/trap_table.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_TRAP_TABLE_H__ |
#define __sparc64_TRAP_TABLE_H__ |
96,7 → 90,3 |
#endif /* __ASM__ */ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/trap/regwin.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
/** |
* This file contains register window trap handlers. |
*/ |
137,7 → 131,3 |
#endif /* __ASM__ */ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/console.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_CONSOLE_H__ |
#define __sparc64_CONSOLE_H__ |
41,7 → 35,3 |
extern void standalone_sparc64_console_init(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/asm.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_ASM_H__ |
#define __sparc64_ASM_H__ |
311,7 → 305,3 |
void asm_delay_loop(__u32 t); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/barrier.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_BARRIER_H__ |
#define __sparc64_BARRIER_H__ |
68,7 → 62,3 |
} |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/context_offset.h |
---|
19,7 → 19,3 |
#define OFFSET_L6 0x80 |
#define OFFSET_L7 0x88 |
#define OFFSET_CLEANWIN 0x98 |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/boot/boot.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_BOOT_H__ |
#define __sparc64_BOOT_H__ |
39,7 → 33,3 |
#define LMA 0x4000 |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/context.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_CONTEXT_H__ |
#define __sparc64_CONTEXT_H__ |
88,7 → 82,3 |
}; |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/register.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_REGISTER_H__ |
#define __sparc64_REGISTER_H__ |
105,7 → 99,3 |
typedef union softint_reg softint_reg_t; |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/cpu.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64cpu |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_CPU_H__ |
#define __sparc64_CPU_H__ |
55,7 → 49,3 |
}; |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/memstr.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_MEMSTR_H__ |
#define __sparc64_MEMSTR_H__ |
43,7 → 37,3 |
extern int memcmp(__address src, __address dst, int cnt); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/debug.h |
---|
26,18 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64debug sparc64 |
* @ingroup debug |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_DEBUG_H__ |
#define __sparc64_DEBUG_H__ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/stack.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_STACK_H__ |
#define __sparc64_STACK_H__ |
51,7 → 45,3 |
#define STACK_BIAS 2047 |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/arg.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_ARG_H__ |
#define __sparc64_ARG_H__ |
38,7 → 32,3 |
#include <stdarg.h> |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/fpu_context.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_FPU_CONTEXT_H__ |
#define __sparc64_FPU_CONTEXT_H__ |
41,7 → 35,3 |
}; |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/byteorder.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_BYTEORDER_H__ |
#define __sparc64_BYTEORDER_H__ |
49,7 → 43,3 |
} |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/arch.h |
---|
26,17 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_ARCH_H__ |
#define __sparc64_ARCH_H__ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/include/faddr.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_FADDR_H__ |
#define __sparc64_FADDR_H__ |
40,7 → 34,3 |
#define FADDR(fptr) ((__address) (fptr)) |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/src/sparc64.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @ingroup others |
* @{ |
*/ |
/** @file |
*/ |
#include <arch.h> |
#include <debug.h> |
#include <arch/trap/trap.h> |
95,7 → 88,3 |
void arch_release_console(void) |
{ |
} |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/src/console.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/console.h> |
#include <arch/types.h> |
#include <typedefs.h> |
182,7 → 176,3 |
thread_usleep(KEYBOARD_POLL_PAUSE); |
} |
} |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/src/mm/page.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64mm |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/mm/page.h> |
#include <arch/mm/tlb.h> |
#include <genarch/mm/page_ht.h> |
82,7 → 76,3 |
return virtaddr; |
} |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/src/mm/tlb.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64mm |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/mm/tlb.h> |
#include <mm/tlb.h> |
#include <arch/mm/frame.h> |
278,7 → 272,3 |
dtlb_demap(TLB_DEMAP_PAGE, TLB_DEMAP_NUCLEUS, page + i * PAGE_SIZE); |
} |
} |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/src/mm/memory_init.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64mm |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/mm/memory_init.h> |
#include <genarch/ofw/memory_init.h> |
#include <typedefs.h> |
40,7 → 34,3 |
{ |
return ofw_get_memory_size(); |
} |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/src/mm/frame.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64mm |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/mm/frame.h> |
#include <genarch/ofw/memory_init.h> |
#include <mm/frame.h> |
50,7 → 44,3 |
*/ |
frame_mark_unavailable(0, 1); |
} |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/src/mm/as.c |
---|
26,14 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64mm sparc64 |
* @ingroup mm |
* @{ |
*/ |
/** @file |
* @ingroup sparc64 |
*/ |
#include <arch/mm/as.h> |
#include <genarch/mm/as_ht.h> |
#include <genarch/mm/asid_fifo.h> |
44,7 → 36,3 |
as_operations = &as_ht_operations; |
asid_fifo_init(); |
} |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/src/drivers/i8042.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/drivers/i8042.h> |
#include <genarch/i8042/i8042.h> |
#include <arch/types.h> |
44,7 → 38,3 |
kbd_virt_address = (__u8 *) hw_map(KBD_PHYS_ADDRESS, LAST_REG); |
i8042_init(); |
} |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/src/drivers/tick.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/drivers/tick.h> |
#include <arch/interrupt.h> |
#include <arch/asm.h> |
87,7 → 81,3 |
clock(); |
} |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/src/ddi/ddi.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64ddi sparc64 |
* @ingroup ddi |
* @{ |
*/ |
/** @file |
*/ |
#include <ddi/ddi.h> |
#include <proc/task.h> |
#include <arch/types.h> |
52,7 → 45,3 |
{ |
return 0; |
} |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/src/trap/interrupt.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/interrupt.h> |
#include <interrupt.h> |
#include <arch/types.h> |
57,7 → 51,3 |
panic("not implemented\n"); |
/* TODO */ |
} |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/src/trap/exception.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/trap/exception.h> |
#include <arch/asm.h> |
#include <debug.h> |
59,7 → 53,3 |
{ |
panic("Illegal Instruction: %P\n", tpc_read()); |
} |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/src/trap/trap.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/trap/trap.h> |
#include <arch/trap/trap_table.h> |
#include <arch/trap/regwin.h> |
49,7 → 43,3 |
void trap_init(void) |
{ |
} |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/src/proc/scheduler.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64proc sparc64 |
* @ingroup proc |
* @{ |
*/ |
/** @file |
*/ |
#include <proc/scheduler.h> |
#include <proc/thread.h> |
#include <arch.h> |
79,7 → 72,3 |
dtlb_demap(TLB_DEMAP_PAGE, TLB_DEMAP_NUCLEUS, (__address) THREAD->kstack); |
} |
} |
/** @} |
*/ |
/kernel/trunk/arch/sparc64/src/cpu/cpu.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64cpu sparc64 |
* @ingroup cpu |
* @{ |
*/ |
/** @file |
*/ |
#include <cpu.h> |
#include <arch.h> |
#include <arch/register.h> |
96,7 → 89,3 |
printf("cpu%d: manuf=%s, impl=%s, mask=%d\n", CPU->id, manuf, impl, CPU->arch.ver.mask); |
} |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/include/exception.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_EXCEPTION_H__ |
#define __ppc64_EXCEPTION_H__ |
99,7 → 93,3 |
} |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/include/proc/task.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64proc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_TASK_H__ |
#define __ppc64_TASK_H__ |
42,7 → 36,3 |
#define task_destroy_arch(t) |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/include/proc/thread.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64proc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_THREAD_H__ |
#define __ppc64_THREAD_H__ |
41,7 → 35,3 |
#define thread_create_arch(t) |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/include/mm/as.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_AS_H__ |
#define __ppc64_AS_H__ |
49,7 → 43,3 |
extern void as_arch_init(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/include/mm/asid.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_ASID_H__ |
#define __ppc64_ASID_H__ |
43,7 → 37,3 |
#define asid_put(asid) |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/include/mm/page.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_PAGE_H__ |
#define __ppc64_PAGE_H__ |
157,7 → 151,3 |
#endif /* KERNEL */ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/include/mm/frame.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_FRAME_H__ |
#define __ppc64_FRAME_H__ |
51,7 → 45,3 |
#endif /* KERNEL */ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/include/mm/tlb.h |
---|
26,18 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_TLB_H__ |
#define __ppc64_TLB_H__ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/include/mm/memory_init.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_MEMORY_INIT_H__ |
#define __ppc64_MEMORY_INIT_H__ |
42,7 → 36,3 |
void memory_print_map(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/include/types.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_TYPES_H__ |
#define __ppc64_TYPES_H__ |
64,7 → 58,3 |
} pte_t; |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/include/asm.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_ASM_H__ |
#define __ppc64_ASM_H__ |
156,7 → 150,3 |
extern void userspace_asm(__address uspace_uarg, __address stack, __address entry); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/include/asm/regname.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_REGNAME_H__ |
#define __ppc64_REGNAME_H__ |
210,7 → 204,3 |
#define hid0_dci (1 << 10) |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/include/byteorder.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_BYTEORDER_H__ |
#define __ppc64_BYTEORDER_H__ |
68,7 → 62,3 |
} |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/include/cpuid.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64cpu |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_CPUID_H__ |
#define __ppc64_CPUID_H__ |
51,7 → 45,3 |
} |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/include/elf.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_ELF_H__ |
#define __ppc64_ELF_H__ |
40,7 → 34,3 |
#define ELF_CLASS ELFCLASS32 |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/include/atomic.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_ATOMIC_H__ |
#define __ppc64_ATOMIC_H__ |
92,7 → 86,3 |
} |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/include/boot/boot.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_BOOT_H__ |
#define __ppc64_BOOT_H__ |
87,7 → 81,3 |
#endif |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/include/barrier.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_BARRIER_H__ |
#define __ppc64_BARRIER_H__ |
43,7 → 37,3 |
#define write_barrier() asm volatile ("eieio" ::: "memory") |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/include/interrupt.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64interrupt |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_INTERRUPT_H__ |
#define __ppc64_INTERRUPT_H__ |
47,7 → 41,3 |
extern void interrupt_init(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/include/context_offset.h |
---|
43,7 → 43,3 |
#define OFFSET_FR30 0x80 |
#define OFFSET_FR31 0x88 |
#define OFFSET_FPSCR 0x90 |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/include/fpu_context.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_FPU_CONTEXT_H__ |
#define __ppc64_FPU_CONTEXT_H__ |
62,7 → 56,3 |
} __attribute__ ((packed)); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/include/memstr.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_MEMSTR_H__ |
#define __ppc64_MEMSTR_H__ |
43,7 → 37,3 |
extern int memcmp(__address src, __address dst, int cnt); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/include/arg.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_ARG_H__ |
#define __ppc64_ARG_H__ |
38,7 → 32,3 |
#include <stdarg.h> |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/include/arch.h |
---|
26,17 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_ARCH_H__ |
#define __ppc64_ARCH_H__ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/include/faddr.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_FADDR_H__ |
#define __ppc64_FADDR_H__ |
40,7 → 34,3 |
#define FADDR(fptr) ((__address) (fptr)) |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/include/context.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_CONTEXT_H__ |
#define __ppc64_CONTEXT_H__ |
72,7 → 66,3 |
} __attribute__ ((packed)); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/include/debug.h |
---|
26,18 → 26,7 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64debug ppc64 |
* @ingroup debug |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_DEBUG_H__ |
#define __ppc64_DEBUG_H__ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/include/cpu.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64cpu |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_CPU_H__ |
#define __ppc64_CPU_H__ |
43,7 → 37,3 |
}; |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/src/ppc64.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64 |
* @ingroup others |
* @{ |
*/ |
/** @file |
*/ |
#include <arch.h> |
#include <arch/boot/boot.h> |
#include <arch/mm/memory_init.h> |
110,7 → 103,3 |
void arch_release_console(void) |
{ |
} |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/src/mm/page.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64mm |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/mm/page.h> |
#include <genarch/mm/page_pt.h> |
#include <arch/mm/frame.h> |
302,7 → 296,3 |
return virtaddr; |
} |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/src/mm/tlb.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64mm |
* @{ |
*/ |
/** @file |
*/ |
#include <mm/tlb.h> |
81,7 → 75,3 |
void tlb_print(void) |
{ |
} |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/src/mm/memory_init.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64mm |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/boot/boot.h> |
#include <arch/mm/memory_init.h> |
#include <typedefs.h> |
51,7 → 45,3 |
for (i = 0; i < bootinfo.memmap.count; i++) |
printf("base: %#x size: %#x\n", bootinfo.memmap.zones[i].start, bootinfo.memmap.zones[i].size); |
} |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/src/mm/frame.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64mm |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/boot/boot.h> |
#include <arch/mm/frame.h> |
#include <arch/mm/memory_init.h> |
66,7 → 60,3 |
frame_mark_unavailable(0, 4); |
} |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/src/mm/as.c |
---|
26,14 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64mm ppc64 |
* @ingroup mm |
* @{ |
*/ |
/** @file |
* @ingroup ppc64 |
*/ |
#include <arch/mm/as.h> |
#include <genarch/mm/as_pt.h> |
42,7 → 34,3 |
{ |
as_operations = &as_pt_operations; |
} |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/src/proc/scheduler.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64proc ppc64 |
* @ingroup proc |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/mm/page.h> |
#include <arch/boot/boot.h> |
#include <proc/scheduler.h> |
59,7 → 52,3 |
void after_thread_ran_arch(void) |
{ |
} |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/src/interrupt.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64interrupt ppc64 |
* @ingroup interrupt |
* @{ |
*/ |
/** @file |
*/ |
#include <interrupt.h> |
#include <arch/interrupt.h> |
#include <arch/types.h> |
71,7 → 64,3 |
panic("not implemented\n"); |
/* TODO */ |
} |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/src/ddi/ddi.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64ddi ppc64 |
* @ingroup ddi |
* @{ |
*/ |
/** @file |
*/ |
#include <ddi/ddi.h> |
#include <proc/task.h> |
#include <arch/types.h> |
52,7 → 45,3 |
{ |
return 0; |
} |
/** @} |
*/ |
/kernel/trunk/arch/ppc64/src/cpu/cpu.c |
---|
26,13 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64cpu ppc64 |
* @ingroup cpu |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/cpu.h> |
#include <arch/cpuid.h> |
#include <cpu.h> |
59,7 → 52,3 |
{ |
printf("cpu%d: version=%d, revision=%d\n", m->id, m->arch.version, m->arch.revision); |
} |
/** @} |
*/ |
/kernel/trunk/genarch/src/fb/fb.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarch |
* @{ |
*/ |
/** @file |
*/ |
#include <genarch/fb/font-8x16.h> |
#include <genarch/fb/fb.h> |
#include <console/chardev.h> |
420,7 → 414,3 |
stdout = &framebuffer; |
} |
/** @} |
*/ |
/kernel/trunk/genarch/src/fb/font-8x16.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarch |
* @{ |
*/ |
/** @file |
*/ |
#include <genarch/fb/font-8x16.h> |
unsigned char fb_font[FONT_GLIPHS * FONT_SCANLINES] = { |
4645,7 → 4639,3 |
0x00, /* 00000000 */ |
}; |
/** @} |
*/ |
/kernel/trunk/genarch/src/mm/asid.c |
---|
26,12 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarchmm |
* @{ |
*/ |
/** |
* @file |
* @file asid.c |
* @brief ASID management. |
* |
* Modern processor architectures optimize TLB utilization |
173,7 → 169,3 |
spinlock_unlock(&asidlock); |
interrupts_restore(ipl); |
} |
/** @} |
*/ |
/kernel/trunk/genarch/src/mm/as_ht.c |
---|
26,13 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarchmm genarch |
* @ingroup mm |
* @{ |
*/ |
/** |
* @file |
* @file as_ht.c |
* @brief Address space functions for global page hash table. |
*/ |
118,7 → 113,3 |
if (unlock) |
mutex_unlock(&as->lock); |
} |
/** @} |
*/ |
/kernel/trunk/genarch/src/mm/as_pt.c |
---|
26,12 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarchmm |
* @{ |
*/ |
/** |
* @file |
* @file as_pt.c |
* @brief Address space functions for 4-level hierarchical pagetables. |
*/ |
138,7 → 134,3 |
if (unlock) |
mutex_unlock(&as->lock); |
} |
/** @} |
*/ |
/kernel/trunk/genarch/src/mm/page_ht.c |
---|
26,12 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarchmm |
* @{ |
*/ |
/** |
* @file |
* @file page_ht.c |
* @brief Virtual Address Translation (VAT) for global page hash table. |
*/ |
243,7 → 239,3 |
return t; |
} |
/** @} |
*/ |
/kernel/trunk/genarch/src/mm/page_pt.c |
---|
26,12 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarchmm |
* @{ |
*/ |
/** |
* @file |
* @file page_pt.c |
* @brief Virtual Address Translation for hierarchical 4-level page tables. |
*/ |
264,7 → 260,3 |
return &ptl3[PTL3_INDEX(page)]; |
} |
/** @} |
*/ |
/kernel/trunk/genarch/src/mm/asid_fifo.c |
---|
26,12 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarchmm |
* @{ |
*/ |
/** |
* @file |
* @file asid_fifo.c |
* @brief FIFO queue ASID management. |
* |
* Architectures that link with this file keep the unallocated ASIDs |
93,7 → 89,3 |
{ |
fifo_push(free_asids, asid); |
} |
/** @} |
*/ |
/kernel/trunk/genarch/src/i8042/i8042.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarch |
* @{ |
*/ |
/** @file |
*/ |
#include <genarch/i8042/i8042.h> |
#include <arch/drivers/i8042.h> |
#include <arch/interrupt.h> |
572,7 → 566,3 |
} |
} |
} |
/** @} |
*/ |
/kernel/trunk/genarch/src/acpi/madt.c |
---|
26,9 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarch |
* @{ |
*/ |
/** |
* @file madt.c |
* @brief Multiple APIC Description Table (MADT) parsing. |
242,7 → 239,3 |
} |
#endif /* CONFIG_SMP */ |
/** @} |
*/ |
/kernel/trunk/genarch/src/acpi/acpi.c |
---|
26,14 → 26,8 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarch |
* @ingroup others |
* @{ |
*/ |
/** |
* @file |
* @file acpi.c |
* @brief Advanced Configuration and Power Interface (ACPI) initialization. |
*/ |
184,7 → 178,3 |
} |
/** @} |
*/ |
/kernel/trunk/genarch/src/softint/division.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarch |
* @{ |
*/ |
/** @file |
*/ |
#include <genarch/softint/division.h> |
#define ABSVAL(x) ( (x) > 0 ? (x) : -(x)) |
192,7 → 186,3 |
} |
/** @} |
*/ |
/kernel/trunk/genarch/src/ofw/memory_init.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarch |
* @{ |
*/ |
/** @file |
*/ |
#include <genarch/ofw/memory_init.h> |
#include <genarch/ofw/ofw.h> |
#include <panic.h> |
92,7 → 86,3 |
confdata, 0); |
} |
} |
/** @} |
*/ |
/kernel/trunk/genarch/src/ofw/ofw.c |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarch |
* @{ |
*/ |
/** @file |
*/ |
#include <genarch/ofw/ofw.h> |
#include <arch/asm.h> |
#include <stdarg.h> |
127,7 → 121,3 |
{ |
return (void *) ofw_call("claim", 3, 1, addr, size, align); |
} |
/** @} |
*/ |
/kernel/trunk/genarch/include/i8042/i8042.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarch |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __I8042_H__ |
#define __I8042_H__ |
56,7 → 50,3 |
extern void i8042_release(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/genarch/include/mm/page_pt.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarchmm |
* @{ |
*/ |
/** @file |
*/ |
/* |
* This is the generic 4-level page table interface. |
* Architectures that use hierarchical page tables |
115,7 → 109,3 |
#endif |
#endif |
/** @} |
*/ |
/kernel/trunk/genarch/include/mm/page_ht.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarchmm |
* @{ |
*/ |
/** @file |
*/ |
/* |
* This is the generic page hash table interface. |
*/ |
86,7 → 80,3 |
#endif |
#endif |
/** @} |
*/ |
/kernel/trunk/genarch/include/mm/as_ht.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarchmm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __AS_HT_H__ |
#define __AS_HT_H__ |
40,7 → 34,3 |
extern as_operations_t as_ht_operations; |
#endif |
/** @} |
*/ |
/kernel/trunk/genarch/include/mm/as_pt.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarchmm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __AS_PT_H__ |
#define __AS_PT_H__ |
40,7 → 34,3 |
extern as_operations_t as_pt_operations; |
#endif |
/** @} |
*/ |
/kernel/trunk/genarch/include/mm/asid_fifo.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarchmm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ASID_FIFO_H__ |
#define __ASID_FIFO_H__ |
38,7 → 32,3 |
extern void asid_fifo_init(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/genarch/include/fb/fb.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarch |
* @{ |
*/ |
/** @file |
*/ |
#ifndef _FB_H_ |
#define _FB_H_ |
42,7 → 36,3 |
void fb_init(__address addr, unsigned int x, unsigned int y, unsigned int bpp, unsigned int scan); |
#endif |
/** @} |
*/ |
/kernel/trunk/genarch/include/fb/font-8x16.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarch |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __FONT_8X16_H__ |
#define __FONT_8X16_H__ |
41,7 → 35,3 |
extern unsigned char fb_font[FONT_GLIPHS * FONT_SCANLINES]; |
#endif |
/** @} |
*/ |
/kernel/trunk/genarch/include/softint/division.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarch |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __SOFTINT_DIVISION_H__ |
#define __SOFTINT_DIVISION_H__ |
64,7 → 58,3 |
#endif |
/** @} |
*/ |
/kernel/trunk/genarch/include/ofw/memory_init.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarch |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __OFW_MEMORY_INIT_H__ |
#define __OFW_MEMORY_INIT_H__ |
42,7 → 36,3 |
extern void ofw_init_zones(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/genarch/include/ofw/ofw.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarch |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __OFW_H__ |
#define __OFW_H__ |
67,7 → 61,3 |
extern void *ofw_claim(const void *addr, const int size, const int align); |
#endif |
/** @} |
*/ |
/kernel/trunk/genarch/include/acpi/madt.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarch |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __MADT_H__ |
#define __MADT_H__ |
144,7 → 138,3 |
extern void acpi_madt_parse(void); |
#endif /* __MADT_H__ */ |
/** @} |
*/ |
/kernel/trunk/genarch/include/acpi/acpi.h |
---|
26,12 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarch |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ACPI_H__ |
#define __ACPI_H__ |
89,7 → 83,3 |
extern int acpi_sdt_check(__u8 *sdt); |
#endif /* __ACPI_H__ */ |
/** @} |
*/ |