//kernel/trunk/genarch/include/i8042/i8042.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarch |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __I8042_H__ |
#define __I8042_H__ |
50,3 → 56,7 |
extern void i8042_release(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/genarch/include/softint/division.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarch |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __SOFTINT_DIVISION_H__ |
#define __SOFTINT_DIVISION_H__ |
58,3 → 64,7 |
#endif |
/** @} |
*/ |
//kernel/trunk/genarch/include/fb/font-8x16.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarch |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __FONT_8X16_H__ |
#define __FONT_8X16_H__ |
35,3 → 41,7 |
extern unsigned char fb_font[FONT_GLIPHS * FONT_SCANLINES]; |
#endif |
/** @} |
*/ |
//kernel/trunk/genarch/include/fb/fb.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarch |
* @{ |
*/ |
/** @file |
*/ |
#ifndef _FB_H_ |
#define _FB_H_ |
36,3 → 42,7 |
void fb_init(__address addr, unsigned int x, unsigned int y, unsigned int bpp, unsigned int scan); |
#endif |
/** @} |
*/ |
//kernel/trunk/genarch/include/mm/as_ht.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarchmm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __AS_HT_H__ |
#define __AS_HT_H__ |
34,3 → 40,7 |
extern as_operations_t as_ht_operations; |
#endif |
/** @} |
*/ |
//kernel/trunk/genarch/include/mm/page_pt.h |
---|
26,6 → 26,12 |
* 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 |
109,3 → 115,7 |
#endif |
#endif |
/** @} |
*/ |
//kernel/trunk/genarch/include/mm/asid_fifo.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarchmm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ASID_FIFO_H__ |
#define __ASID_FIFO_H__ |
32,3 → 38,7 |
extern void asid_fifo_init(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/genarch/include/mm/as_pt.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarchmm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __AS_PT_H__ |
#define __AS_PT_H__ |
34,3 → 40,7 |
extern as_operations_t as_pt_operations; |
#endif |
/** @} |
*/ |
//kernel/trunk/genarch/include/mm/page_ht.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarchmm |
* @{ |
*/ |
/** @file |
*/ |
/* |
* This is the generic page hash table interface. |
*/ |
80,3 → 86,7 |
#endif |
#endif |
/** @} |
*/ |
//kernel/trunk/genarch/include/ofw/memory_init.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarch |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __OFW_MEMORY_INIT_H__ |
#define __OFW_MEMORY_INIT_H__ |
36,3 → 42,7 |
extern void ofw_init_zones(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/genarch/include/ofw/ofw.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarch |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __OFW_H__ |
#define __OFW_H__ |
61,3 → 67,7 |
extern void *ofw_claim(const void *addr, const int size, const int align); |
#endif |
/** @} |
*/ |
//kernel/trunk/genarch/include/acpi/acpi.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarch |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ACPI_H__ |
#define __ACPI_H__ |
83,3 → 89,7 |
extern int acpi_sdt_check(__u8 *sdt); |
#endif /* __ACPI_H__ */ |
/** @} |
*/ |
//kernel/trunk/genarch/include/acpi/madt.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarch |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __MADT_H__ |
#define __MADT_H__ |
138,3 → 144,7 |
extern void acpi_madt_parse(void); |
#endif /* __MADT_H__ */ |
/** @} |
*/ |
//kernel/trunk/genarch/src/i8042/i8042.c |
---|
26,6 → 26,12 |
* 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> |
566,3 → 572,7 |
} |
} |
} |
/** @} |
*/ |
//kernel/trunk/genarch/src/softint/division.c |
---|
26,6 → 26,12 |
* 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)) |
186,3 → 192,7 |
} |
/** @} |
*/ |
//kernel/trunk/genarch/src/fb/fb.c |
---|
26,6 → 26,12 |
* 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> |
414,3 → 420,7 |
stdout = &framebuffer; |
} |
/** @} |
*/ |
//kernel/trunk/genarch/src/fb/font-8x16.c |
---|
26,6 → 26,12 |
* 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] = { |
4639,3 → 4645,7 |
0x00, /* 00000000 */ |
}; |
/** @} |
*/ |
//kernel/trunk/genarch/src/mm/as_ht.c |
---|
26,8 → 26,13 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarchmm genarch |
* @ingroup mm |
* @{ |
*/ |
/** |
* @file as_ht.c |
* @file |
* @brief Address space functions for global page hash table. |
*/ |
113,3 → 118,7 |
if (unlock) |
mutex_unlock(&as->lock); |
} |
/** @} |
*/ |
//kernel/trunk/genarch/src/mm/page_pt.c |
---|
26,8 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarchmm |
* @{ |
*/ |
/** |
* @file page_pt.c |
* @file |
* @brief Virtual Address Translation for hierarchical 4-level page tables. |
*/ |
260,3 → 264,7 |
return &ptl3[PTL3_INDEX(page)]; |
} |
/** @} |
*/ |
//kernel/trunk/genarch/src/mm/asid.c |
---|
26,8 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarchmm |
* @{ |
*/ |
/** |
* @file asid.c |
* @file |
* @brief ASID management. |
* |
* Modern processor architectures optimize TLB utilization |
169,3 → 173,7 |
spinlock_unlock(&asidlock); |
interrupts_restore(ipl); |
} |
/** @} |
*/ |
//kernel/trunk/genarch/src/mm/asid_fifo.c |
---|
26,8 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarchmm |
* @{ |
*/ |
/** |
* @file asid_fifo.c |
* @file |
* @brief FIFO queue ASID management. |
* |
* Architectures that link with this file keep the unallocated ASIDs |
89,3 → 93,7 |
{ |
fifo_push(free_asids, asid); |
} |
/** @} |
*/ |
//kernel/trunk/genarch/src/mm/as_pt.c |
---|
26,8 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarchmm |
* @{ |
*/ |
/** |
* @file as_pt.c |
* @file |
* @brief Address space functions for 4-level hierarchical pagetables. |
*/ |
134,3 → 138,7 |
if (unlock) |
mutex_unlock(&as->lock); |
} |
/** @} |
*/ |
//kernel/trunk/genarch/src/mm/page_ht.c |
---|
26,8 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarchmm |
* @{ |
*/ |
/** |
* @file page_ht.c |
* @file |
* @brief Virtual Address Translation (VAT) for global page hash table. |
*/ |
239,3 → 243,7 |
return t; |
} |
/** @} |
*/ |
//kernel/trunk/genarch/src/ofw/memory_init.c |
---|
26,6 → 26,12 |
* 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> |
86,3 → 92,7 |
confdata, 0); |
} |
} |
/** @} |
*/ |
//kernel/trunk/genarch/src/ofw/ofw.c |
---|
26,6 → 26,12 |
* 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> |
121,3 → 127,7 |
{ |
return (void *) ofw_call("claim", 3, 1, addr, size, align); |
} |
/** @} |
*/ |
//kernel/trunk/genarch/src/acpi/madt.c |
---|
26,6 → 26,9 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarch |
* @{ |
*/ |
/** |
* @file madt.c |
* @brief Multiple APIC Description Table (MADT) parsing. |
239,3 → 242,7 |
} |
#endif /* CONFIG_SMP */ |
/** @} |
*/ |
//kernel/trunk/genarch/src/acpi/acpi.c |
---|
26,8 → 26,14 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genarch |
* @ingroup others |
* @{ |
*/ |
/** |
* @file acpi.c |
* @file |
* @brief Advanced Configuration and Power Interface (ACPI) initialization. |
*/ |
178,3 → 184,7 |
} |
/** @} |
*/ |
//kernel/trunk/generic/include/align.h |
---|
26,6 → 26,14 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @ingroup others |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ALIGN_H__ |
#define __ALIGN_H__ |
45,3 → 53,7 |
#define ALIGN_UP(s, a) (((s) + ((a) - 1)) & ~((a) - 1)) |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/func.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __FUNC_H__ |
#define __FUNC_H__ |
43,3 → 49,7 |
extern __native atoi(const char *text); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/print.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __PRINT_H__ |
#define __PRINT_H__ |
47,3 → 53,7 |
extern int vsnprintf(char *str, size_t size, const char *fmt, va_list ap); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/fpu_context.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __FPU_CONTEXT_H__ |
#define __FPU_CONTEXT_H__ |
46,3 → 52,7 |
#endif /* __FPU_CONTEXT_H__ */ |
/** @} |
*/ |
//kernel/trunk/generic/include/stackarg.h |
---|
26,7 → 26,13 |
* 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. |
54,3 → 60,7 |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/byteorder.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __BYTEORDER_H__ |
#define __BYTEORDER_H__ |
50,3 → 56,7 |
} |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/symtab.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __SYMTAB_H__ |
#define __SYMTAB_H__ |
47,3 → 53,7 |
extern struct symtab_entry symbol_table[]; |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/sysinfo/sysinfo.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/types.h> |
typedef union sysinfo_item_val |
83,3 → 89,7 |
__native sys_sysinfo_value(__native ptr,__native len); |
/** @} |
*/ |
//kernel/trunk/generic/include/config.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __CONFIG_H__ |
#define __CONFIG_H__ |
64,3 → 70,7 |
extern init_t init; |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/elf.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ELF_H__ |
#define __ELF_H__ |
333,3 → 339,7 |
extern char *elf_error(int rc); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/time/clock.h |
---|
26,6 → 26,13 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __CLOCK_H__ |
#define __CLOCK_H__ |
35,3 → 42,7 |
extern void clock_counter_init(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/time/delay.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __DELAY_H__ |
#define __DELAY_H__ |
34,3 → 40,7 |
extern void delay(__u32 microseconds); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/time/timeout.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __TIMEOUT_H__ |
#define __TIMEOUT_H__ |
58,3 → 64,7 |
extern bool timeout_unregister(timeout_t *t); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/proc/scheduler.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericproc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __SCHEDULER_H__ |
#define __SCHEDULER_H__ |
62,3 → 68,7 |
extern void after_thread_ran_arch(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/proc/uarg.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericproc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __UARG_H__ |
#define __UARG_H__ |
41,3 → 47,7 |
} uspace_arg_t; |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/proc/task.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericproc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __TASK_H__ |
#define __TASK_H__ |
99,3 → 105,7 |
extern __native sys_task_get_id(task_id_t *uspace_task_id); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/proc/thread.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericproc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __THREAD_H__ |
#define __THREAD_H__ |
185,3 → 191,7 |
__native sys_thread_exit(int uspace_status); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/debug.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericdebug |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __DEBUG_H__ |
#define __DEBUG_H__ |
58,3 → 64,7 |
#define STRING_ARG(arg) #arg |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/cpu.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericcpu |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __CPU_H__ |
#define __CPU_H__ |
97,3 → 103,7 |
extern void cpu_print_report(cpu_t *m); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/panic.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __PANIC_H__ |
#define __PANIC_H__ |
38,3 → 44,7 |
extern void panic_printf(char *fmt, ...) __attribute__((noreturn)) ; |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/userspace.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __USERSPACE_H__ |
#define __USERSPACE_H__ |
36,3 → 42,7 |
extern void userspace(uspace_arg_t *uarg) __attribute__ ((noreturn)); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/interrupt.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericinterrupt |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __INTERRUPT_H__ |
#define __INTERRUPT_H__ |
62,3 → 68,7 |
void exc_init(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/main/kinit.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup main |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __KINIT_H__ |
#define __KINIT_H__ |
32,3 → 38,7 |
extern void kinit(void *arg); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/main/version.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup main |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __VERSION_H__ |
#define __VERSION_H__ |
32,3 → 38,7 |
extern void version_print(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/main/uinit.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup main |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __UINIT_H__ |
#define __UINIT_H__ |
34,3 → 40,7 |
extern void uinit(void *arg); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/synch/futex.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sync |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __FUTEX_H__ |
#define __FUTEX_H__ |
50,3 → 56,7 |
extern void futex_cleanup(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/synch/condvar.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sync |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __CONDVAR_H__ |
#define __CONDVAR_H__ |
49,3 → 55,7 |
extern int _condvar_wait_timeout(condvar_t *cv, mutex_t *mtx, __u32 usec, int flags); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/synch/rwlock.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sync |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __RWLOCK_H__ |
#define __RWLOCK_H__ |
68,3 → 74,7 |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/synch/mutex.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sync |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __MUTEX_H__ |
#define __MUTEX_H__ |
52,3 → 58,7 |
extern void mutex_unlock(mutex_t *mtx); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/synch/spinlock.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sync |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __SPINLOCK_H__ |
#define __SPINLOCK_H__ |
109,3 → 115,7 |
#endif |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/synch/semaphore.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sync |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __SEMAPHORE_H__ |
#define __SEMAPHORE_H__ |
52,3 → 58,7 |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/synch/synch.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sync |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __SYNCH_H__ |
#define __SYNCH_H__ |
45,3 → 51,7 |
#define SYNCH_OK(rc) ((rc) & (ESYNCH_OK_ATOMIC | ESYNCH_OK_BLOCKED)) |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/synch/waitq.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sync |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __WAITQ_H__ |
#define __WAITQ_H__ |
64,3 → 70,7 |
extern void waitq_interrupt_sleep(thread_t *t); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/bitops.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef _BITOPS_H_ |
#define _BITOPS_H_ |
59,3 → 65,7 |
#define fnzb(x) fnzb32(x) |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/putchar.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __PUTCHAR_H__ |
#define __PUTCHAR_H__ |
32,3 → 38,7 |
extern void putchar(const char ch); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/memstr.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __MEMSTR_H__ |
#define __MEMSTR_H__ |
41,3 → 47,7 |
extern void _memsetw(__address dst, size_t cnt, __u16 x); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/smp/smp.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __SMP_H__ |
#define __SMP_H__ |
36,3 → 42,7 |
#endif /* CONFIG_SMP */ |
#endif /* __SMP_H__ */ |
/** @} |
*/ |
//kernel/trunk/generic/include/smp/ipi.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __IPI_H__ |
#define __IPI_H__ |
37,3 → 43,7 |
#endif /* CONFIG_SMP */ |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/ddi/ddi_arg.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericddi |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __DDI_ARG_H__ |
#define __DDI_ARG_H__ |
46,3 → 52,7 |
} ddi_ioarg_t; |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/ddi/ddi.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericddi |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __DDI_H__ |
#define __DDI_H__ |
44,3 → 50,7 |
extern int ddi_iospace_enable_arch(task_t *task, __address ioaddr, size_t size); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/printf/printf_core.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __PRINTF_CORE_H__ |
#define __PRINTF_CORE_H__ |
44,3 → 50,7 |
int printf_core(const char *fmt, struct printf_spec *ps ,va_list ap); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/atomic.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ATOMIC_H__ |
#define __ATOMIC_H__ |
46,3 → 52,7 |
} |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/console/chardev.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericconsole |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __CHARDEV_H__ |
#define __CHARDEV_H__ |
66,3 → 72,7 |
extern void chardev_push_character(chardev_t *chardev, __u8 ch); |
#endif /* __CHARDEV_H__ */ |
/** @} |
*/ |
//kernel/trunk/generic/include/console/klog.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericklog |
* @{ |
*/ |
/** @file |
*/ |
#ifndef _KLOG_H_ |
#define _KLOG_H_ |
33,3 → 39,7 |
void klog_printf(const char *fmt, ...); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/console/kconsole.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericconsole |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __KCONSOLE_H__ |
#define __KCONSOLE_H__ |
73,3 → 79,7 |
extern int cmd_register(cmd_info_t *cmd); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/console/console.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericconsole |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __CONSOLE_H__ |
#define __CONSOLE_H__ |
44,3 → 50,7 |
extern void arch_release_console(void); |
#endif /* __CHARDEV_H__ */ |
/** @} |
*/ |
//kernel/trunk/generic/include/console/cmd.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericconsole |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __CMD_H__ |
#define __CMD_H__ |
35,3 → 41,7 |
extern void cmd_init(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/arch.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ARCH_H__ |
#define __ARCH_H__ |
74,3 → 80,7 |
extern ipl_t interrupts_read(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/test.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __TEST_H__ |
#define __TEST_H__ |
32,3 → 38,7 |
extern void test(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/security/cap.h |
---|
26,8 → 26,14 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
/** |
* @file cap.h |
* @file |
* @brief Capabilities definitions. |
* |
* Capabilities represent virtual rights that entitle their |
82,3 → 88,7 |
extern __native sys_cap_revoke(sysarg64_t *uspace_taskid_arg, cap_t caps); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/preemption.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __PREEMPTION_H__ |
#define __PREEMPTION_H__ |
33,3 → 39,7 |
extern void preemption_enable(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/adt/hash_table.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericadt |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __HASH_TABLE_H__ |
#define __HASH_TABLE_H__ |
74,3 → 80,7 |
extern void hash_table_remove(hash_table_t *h, __native key[], count_t keys); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/adt/list.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericadt |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __LIST_H__ |
#define __LIST_H__ |
175,3 → 181,7 |
extern void list_concat(link_t *head1, link_t *head2); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/adt/bitmap.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericadt |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __BITMAP_H__ |
#define __BITMAP_H__ |
45,3 → 51,7 |
extern void bitmap_copy(bitmap_t *dst, bitmap_t *src, count_t bits); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/adt/btree.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericadt |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __BTREE_H__ |
#define __BTREE_H__ |
92,3 → 98,7 |
extern void btree_print(btree_t *t); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/adt/fifo.h |
---|
26,6 → 26,12 |
* 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 |
111,3 → 117,7 |
name.fifo = malloc(sizeof(*name.fifo) * name.items, 0) |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/mm/frame.h |
---|
27,6 → 27,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericmm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __FRAME_H__ |
#define __FRAME_H__ |
107,3 → 113,7 |
void zone_print_one(int znum); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/mm/page.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericmm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __PAGE_H__ |
#define __PAGE_H__ |
90,3 → 96,7 |
extern __address hw_map(__address physaddr, size_t size); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/mm/asid.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericmm |
* @{ |
*/ |
/** @file |
*/ |
/* |
* This is generic interface for managing |
* Address Space IDentifiers (ASIDs). |
77,3 → 83,7 |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/mm/slab.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericmm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __SLAB_H__ |
#define __SLAB_H__ |
128,3 → 134,7 |
extern void * malloc(unsigned int size, int flags); |
extern void free(void *obj); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/mm/tlb.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericmm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __TLB_H__ |
#define __TLB_H__ |
79,3 → 85,7 |
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/as.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericmm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __AS_H__ |
#define __AS_H__ |
199,3 → 205,7 |
#endif /* KERNEL */ |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/mm/buddy.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericmm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __BUDDY_H__ |
#define __BUDDY_H__ |
66,3 → 72,7 |
extern link_t *buddy_system_alloc_block(buddy_system_t *b, link_t *block); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/typedefs.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __TYPEDEFS_H__ |
#define __TYPEDEFS_H__ |
89,3 → 95,7 |
typedef struct btree btree_t; |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/macros.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __MACROS_H__ |
#define __MACROS_H__ |
51,3 → 57,7 |
#define PA_overlaps(x,szx,y,szy) overlaps(KA2PA(x),szx,KA2PA(y), szy) |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/context.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __CONTEXT_H__ |
#define __CONTEXT_H__ |
83,3 → 89,7 |
} |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/stdarg.h |
---|
26,7 → 26,13 |
* 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_*. |
43,3 → 49,7 |
#define va_copy(dst,src) __builtin_va_copy(dst,src) |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/syscall/copy.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __COPY_H__ |
#define __COPY_H__ |
47,3 → 53,7 |
extern int memcpy_to_uspace(void *uspace_dst, const void *src, size_t size); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/syscall/syscall.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __SYSCALL_H__ |
#define __SYSCALL_H__ |
78,3 → 84,7 |
#endif |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/syscall/sysarg64.h |
---|
26,8 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** |
* @file sysarg64.h |
* @file |
* @brief Wrapper for explicit 64-bit arguments passed to syscalls. |
*/ |
39,3 → 43,7 |
} sysarg64_t; |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/ipc/sysipc.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericipc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __SYSIPC_H__ |
#define __SYSIPC_H__ |
51,3 → 57,7 |
__native sys_ipc_unregister_irq(int irq); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/ipc/ipc.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericipc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __IPC_H__ |
#define __IPC_H__ |
236,3 → 242,7 |
#endif |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/ipc/irq.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericipc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __IRQ_H__ |
#define __IRQ_H__ |
80,3 → 86,7 |
#endif |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/ipc/ipcrsc.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericipc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __IPCRSC_H__ |
#define __IPCRSC_H__ |
35,3 → 41,7 |
void phone_dealloc(int phoneid); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/errno.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ERRNO_H__ |
#define __ERRNO_H__ |
49,3 → 55,7 |
#define EBUSY -14 /* Resource is busy */ |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/include/sort.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __SORT_H__ |
#define __SORT_H__ |
46,3 → 52,7 |
extern int __u8_cmp(void * a, void * b); |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/src/synch/rwlock.c |
---|
26,8 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sync |
* @{ |
*/ |
/** |
* @file rwlock.c |
* @file |
* @brief Reader/Writer locks. |
* |
* A reader/writer lock can be held by multiple readers at a time. |
379,3 → 383,7 |
{ |
spinlock_unlock((spinlock_t *) arg); |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/synch/mutex.c |
---|
26,8 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sync |
* @{ |
*/ |
/** |
* @file mutex.c |
* @file |
* @brief Mutexes. |
*/ |
76,3 → 80,7 |
semaphore_up(&mtx->sem); |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/synch/spinlock.c |
---|
26,8 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sync |
* @{ |
*/ |
/** |
* @file spinlock.c |
* @file |
* @brief Spinlocks. |
*/ |
153,3 → 157,7 |
} |
#endif |
/** @} |
*/ |
//kernel/trunk/generic/src/synch/semaphore.c |
---|
26,8 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sync |
* @{ |
*/ |
/** |
* @file semaphore.c |
* @file |
* @brief Semaphores. |
*/ |
89,3 → 93,7 |
{ |
waitq_wakeup(&s->wq, WAKEUP_FIRST); |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/synch/waitq.c |
---|
26,8 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sync |
* @{ |
*/ |
/** |
* @file waitq.c |
* @file |
* @brief Wait queue. |
* |
* Wait queue is the basic synchronization primitive upon which all |
445,3 → 449,7 |
if (all) |
goto loop; |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/synch/futex.c |
---|
26,8 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sync |
* @{ |
*/ |
/** |
* @file futex.c |
* @file |
* @brief Kernel backend for futexes. |
*/ |
330,3 → 334,7 |
mutex_unlock(&TASK->futexes_lock); |
rwlock_write_unlock(&futex_ht_lock); |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/synch/condvar.c |
---|
26,8 → 26,13 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sync Synchronization |
* @ingroup kernel |
* @{ |
*/ |
/** |
* @file condvar.c |
* @file |
* @brief Condition variables. |
*/ |
99,3 → 104,7 |
return rc; |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/main/kinit.c |
---|
26,8 → 26,13 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup main |
* @ingroup kernel |
* @{ |
*/ |
/** |
* @file kinit.c |
* @file |
* @brief Kernel initialization thread. |
* |
* This file contains kinit kernel thread which carries out |
190,3 → 195,7 |
#endif /* CONFIG_TEST */ |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/main/main.c |
---|
26,8 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup main |
* @{ |
*/ |
/** |
* @file main.c |
* @file |
* @brief Main initialization kernel function for all processors. |
* |
* During kernel boot, all processors, after architecture dependent |
319,3 → 323,7 |
/* not reached */ |
} |
#endif /* CONFIG_SMP */ |
/** @} |
*/ |
//kernel/trunk/generic/src/main/version.c |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup main |
* @{ |
*/ |
/** @file |
*/ |
#include <main/version.h> |
#include <print.h> |
52,3 → 58,7 |
{ |
printf("%s, release %s (%s)%s\nBuilt%s for %s\n%s\n", project, release, name, revision, timestamp, arch, copyright); |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/main/uinit.c |
---|
26,8 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup main |
* @{ |
*/ |
/** |
* @file uinit.c |
* @file |
* @brief Userspace bootstrap thread. |
* |
* This file contains uinit kernel thread wich is used to start every |
60,3 → 64,7 |
userspace(&uarg); |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/debug/symtab.c |
---|
26,8 → 26,20 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @defgroup debug Debug |
* @ingroup kernel |
* @{ |
* @} |
*/ |
/** @addtogroup genericdebug generic |
* @ingroup debug |
* @{ |
*/ |
/** |
* @file symtab.c |
* @file |
* @brief Kernel symbol resolver. |
*/ |
192,3 → 204,7 |
return found; |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/cpu/cpu.c |
---|
26,8 → 26,19 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @defgroup cpu CPU |
* @ingroup kernel |
* @{ |
* @} |
*/ |
/** @addtogroup genericcpu generic |
* @ingroup cpu |
* @{ |
*/ |
/** |
* @file cpu.c |
* @file |
* @brief CPU subsystem initialization and listing. |
*/ |
104,3 → 115,7 |
printf("cpu%d: not active\n", i); |
} |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/sysinfo/sysinfo.c |
---|
26,6 → 26,12 |
* 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> |
299,3 → 305,7 |
free(str); |
return ret.val; |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/interrupt/interrupt.c |
---|
25,9 → 25,18 |
* (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 interrupt.c |
* @file |
* @brief Interrupt redirector. |
* |
* This file provides means of registering interrupt handlers |
146,3 → 155,7 |
panic("could not register command %s\n", exc_info.name); |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/time/delay.c |
---|
26,8 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** |
* @file delay.c |
* @file |
* @brief Active delay function. |
*/ |
59,3 → 63,7 |
asm_delay_loop(usec * CPU->delay_loop_const); |
interrupts_restore(ipl); |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/time/timeout.c |
---|
26,8 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** |
* @file timeout.c |
* @file |
* @brief Timeout management functions. |
*/ |
209,3 → 213,7 |
interrupts_restore(ipl); |
return true; |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/time/clock.c |
---|
26,8 → 26,18 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @defgroup others Others |
* @ingroup kernel |
* @{ |
* @} |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** |
* @file clock.c |
* @file |
* @brief High-level clock interrupt handler. |
* |
* This file contains the clock() function which is the source |
182,3 → 192,7 |
} |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/smp/ipi.c |
---|
26,8 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** |
* @file ipi.c |
* @file |
* @brief Generic IPI interface. |
*/ |
61,3 → 65,7 |
} |
#endif /* CONFIG_SMP */ |
/** @} |
*/ |
//kernel/trunk/generic/src/ddi/ddi.c |
---|
26,8 → 26,19 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @defgroup ddi Device Driver Interface |
* @ingroup kernel |
* @{ |
* @} |
*/ |
/** @addtogroup genericddi generic |
* @ingroup ddi |
* @{ |
*/ |
/** |
* @file ddi.c |
* @file |
* @brief Device Driver Interface functions. |
* |
* This file contains functions that comprise the Device Driver Interface. |
198,3 → 209,7 |
preemption_disable(); |
return 0; |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/printf/printf.c |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#include <print.h> |
int printf(const char *fmt, ...) |
42,3 → 48,7 |
return ret; |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/printf/snprintf.c |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#include <print.h> |
#include <printf/printf_core.h> |
41,3 → 47,7 |
return ret; |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/printf/sprintf.c |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** @file |
*/ |
#include <print.h> |
int sprintf(char *str, const char *fmt, ...) |
40,3 → 46,7 |
return ret; |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/printf/vprintf.c |
---|
26,6 → 26,12 |
* 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> |
48,3 → 54,7 |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/printf/vsnprintf.c |
---|
26,6 → 26,12 |
* 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> |
93,3 → 99,7 |
/* 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,8 → 27,11 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** |
* @file print.c |
* @file |
* @brief Printing functions. |
*/ |
100,7 → 103,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 or printed characters |
* @return number of printed characters |
*/ |
static int printf_putnchars(const char * buf, size_t count, struct printf_spec *ps) |
{ |
110,7 → 113,7 |
/** Print string without added newline |
* @param str string to print |
* @param ps write function specification and support data |
* @return number or printed characters |
* @return number of printed characters |
*/ |
static int printf_putstr(const char * str, struct printf_spec *ps) |
{ |
128,7 → 131,7 |
/** Print one character to output |
* @param c one character |
* @param ps output method |
* @return number or printed characters |
* @return number of printed characters |
*/ |
static int printf_putchar(int c, struct printf_spec *ps) |
{ |
149,7 → 152,6 |
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; |
} |
716,3 → 718,7 |
return counter; |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/printf/vsprintf.c |
---|
26,6 → 26,12 |
* 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) |
33,3 → 39,7 |
return vsnprintf(str, (size_t)-1, fmt, ap); |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/console/console.c |
---|
27,6 → 27,12 |
* 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> |
158,3 → 164,7 |
if (stdout->op->write) |
stdout->op->write(stdout, c); |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/console/cmd.c |
---|
26,6 → 26,10 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericconsole |
* @{ |
*/ |
/** |
* @file cmd.c |
* @brief Kernel console command wrappers. |
60,7 → 64,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", |
83,7 → 87,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]; |
101,7 → 105,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 = { |
137,7 → 141,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]; |
157,7 → 161,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[] = { |
{ |
179,7 → 183,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[] = { |
{ |
206,7 → 210,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[] = { |
{ |
239,7 → 243,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", |
248,7 → 252,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", |
292,7 → 296,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", |
301,7 → 305,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, |
314,7 → 318,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, |
328,7 → 332,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", |
339,7 → 343,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", |
799,3 → 803,7 |
arch_release_console(); |
return 1; |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/console/chardev.c |
---|
26,6 → 26,13 |
* 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> |
67,3 → 74,7 |
waitq_wakeup(&chardev->wq, WAKEUP_FIRST); |
spinlock_unlock(&chardev->lock); |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/console/klog.c |
---|
26,6 → 26,14 |
* 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> |
98,3 → 106,7 |
va_end(args); |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/console/kconsole.c |
---|
26,6 → 26,10 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericconsole |
* @{ |
*/ |
/** |
* @file kconsole.c |
* @brief Kernel console. |
621,3 → 625,7 |
return found_start; |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/proc/scheduler.c |
---|
27,7 → 27,19 |
*/ |
/** |
* @file scheduler.c |
* @defgroup proc Proc |
* @ingroup kernel |
* @{ |
* @} |
*/ |
/** @addtogroup genericproc generic |
* @ingroup proc |
* @{ |
*/ |
/** |
* @file |
* @brief Scheduler and load balancing. |
* |
* This file contains the scheduler and kcpulb kernel thread which |
692,3 → 704,7 |
interrupts_restore(ipl); |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/proc/the.c |
---|
26,8 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericproc |
* @{ |
*/ |
/** |
* @file the.c |
* @file |
* @brief THE structure functions. |
* |
* This file contains functions to manage the THE structure. |
67,3 → 71,7 |
{ |
*dst = *src; |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/proc/task.c |
---|
26,8 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericproc |
* @{ |
*/ |
/** |
* @file task.c |
* @file |
* @brief Task management. |
*/ |
490,3 → 494,7 |
thread_detach(t); |
task_kill(TASK->taskid); |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/proc/thread.c |
---|
26,8 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericproc |
* @{ |
*/ |
/** |
* @file thread.c |
* @file |
* @brief Thread management functions. |
*/ |
608,3 → 612,7 |
/* Unreachable */ |
return 0; |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/lib/elf.c |
---|
27,8 → 27,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** |
* @file elf.c |
* @file |
* @brief Kernel ELF loader. |
*/ |
216,3 → 220,7 |
return EE_OK; |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/lib/memstr.c |
---|
26,8 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** |
* @file memstr.c |
* @file |
* @brief Memory string operations. |
* |
* This file provides architecture independent functions |
110,3 → 114,7 |
for(i=0; i<cnt; i++) |
p[i] = x; |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/lib/sort.c |
---|
26,8 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** |
* @file sort.c |
* @file |
* @brief Sorting functions. |
* |
* This files contains functions implementing several sorting |
194,3 → 198,7 |
{ |
return (* (__u32 *) a > * (__u32 *)b) ? 1 : (*(__u32 *)a < * (__u32 *)b) ? -1 : 0; |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/lib/func.c |
---|
26,8 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** |
* @file func.c |
* @file |
* @brief Miscellaneous functions. |
*/ |
187,3 → 191,7 |
return result; |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/security/cap.c |
---|
26,6 → 26,10 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** |
* @file cap.c |
* @brief Capabilities control. |
175,3 → 179,7 |
interrupts_restore(ipl); |
return 0; |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/adt/btree.c |
---|
26,6 → 26,10 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericadt |
* @{ |
*/ |
/** |
* @file btree.c |
* @brief B+tree implementation. |
993,3 → 997,7 |
} |
printf("\n"); |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/adt/hash_table.c |
---|
26,6 → 26,10 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericadt |
* @{ |
*/ |
/** |
* @file hash_table.c |
* @brief Implementation of generic chained hash table. |
168,3 → 172,7 |
} |
} |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/adt/list.c |
---|
26,6 → 26,10 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericadt |
* @{ |
*/ |
/** |
* @file list.c |
* @brief Functions completing doubly linked circular list implementaion. |
85,3 → 89,7 |
head1->prev = head2->prev; |
list_initialize(head2); |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/adt/bitmap.c |
---|
26,6 → 26,10 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericadt ADT |
* @ingroup kernel |
* @{ |
*/ |
/** |
* @file bitmap.c |
* @brief Implementation of bitmap ADT. |
181,3 → 185,7 |
dst->map[i] |= src->map[i] & ((1 << (bits % 8)) - 1); |
} |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/mm/slab.c |
---|
26,8 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericmm |
* @{ |
*/ |
/** |
* @file slab.c |
* @file |
* @brief Slab allocator. |
* |
* The slab allocator is closely modelled after OpenSolaris slab allocator. |
902,3 → 906,7 |
slab = obj2slab(obj); |
_slab_free(slab->cache, obj, slab); |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/mm/tlb.c |
---|
26,8 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericmm |
* @{ |
*/ |
/** |
* @file tlb.c |
* @file |
* @brief Generic TLB shootdown algorithm. |
* |
* The algorithm implemented here is based on the CMU TLB shootdown |
180,3 → 184,7 |
} |
#endif /* CONFIG_SMP */ |
/** @} |
*/ |
//kernel/trunk/generic/src/mm/backend_anon.c |
---|
26,8 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericmm |
* @{ |
*/ |
/** |
* @file backend_anon.c |
* @file |
* @brief Backend for anonymous memory address space areas. |
* |
*/ |
200,3 → 204,7 |
} |
mutex_unlock(&area->sh_info->lock); |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/mm/as.c |
---|
26,8 → 26,19 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @defgroup mm Memory management |
* @ingroup kernel |
* @{ |
* @} |
*/ |
/** @addtogroup genericmm generic |
* @ingroup mm |
* @{ |
*/ |
/** |
* @file as.c |
* @file |
* @brief Address space related functions. |
* |
* This file contains address space manipulation functions. |
1524,3 → 1535,7 |
{ |
return (__native) as_area_destroy(AS, address); |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/mm/buddy.c |
---|
26,8 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericmm |
* @{ |
*/ |
/** |
* @file buddy.c |
* @file |
* @brief Buddy allocator framework. |
* |
* This file contains buddy system allocator framework. |
316,3 → 320,7 |
printf("Buddy system contains %zd free elements (%zd blocks)\n" , elem_count, block_count); |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/mm/backend_phys.c |
---|
26,8 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericmm |
* @{ |
*/ |
/** |
* @file backend_elf.c |
* @file |
* @brief Backend for address space areas backed by continuous physical memory. |
*/ |
86,3 → 90,7 |
void phys_share(as_area_t *area) |
{ |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/mm/frame.c |
---|
27,8 → 27,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericmm |
* @{ |
*/ |
/** |
* @file frame.c |
* @file |
* @brief Physical frame allocator. |
* |
* This file contains the physical frame allocator and memory zone management. |
1145,3 → 1149,7 |
interrupts_restore(ipl); |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/mm/page.c |
---|
26,8 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericmm |
* @{ |
*/ |
/** |
* @file page.c |
* @file |
* @brief Virtual Address Translation subsystem. |
* |
* This file contains code for creating, destroying and searching |
134,3 → 138,7 |
return page_mapping_operations->mapping_find(as, page); |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/mm/backend_elf.c |
---|
26,8 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup genericmm |
* @{ |
*/ |
/** |
* @file backend_elf.c |
* @file |
* @brief Backend for address space areas backed by an ELF image. |
*/ |
300,3 → 304,7 |
} |
mutex_unlock(&area->sh_info->lock); |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/syscall/copy.c |
---|
26,8 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** |
* @file copy.c |
* @file |
* @brief Copying between kernel and userspace. |
* |
* This file contains sanitized functions for copying data |
123,3 → 127,7 |
interrupts_restore(ipl); |
return !rc ? EPERM : 0; |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/syscall/syscall.c |
---|
26,8 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** |
* @file syscall.c |
* @file |
* @brief Syscall table and syscall wrappers. |
*/ |
154,3 → 158,7 |
/* Debug calls */ |
sys_debug_enable_console |
}; |
/** @} |
*/ |
//kernel/trunk/generic/src/ipc/ipcrsc.c |
---|
26,6 → 26,12 |
* 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 |
206,3 → 212,7 |
ASSERT(phone->state == IPC_PHONE_CONNECTING); |
ipc_phone_connect(phone, box); |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/ipc/sysipc.c |
---|
26,6 → 26,12 |
* 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> |
585,3 → 591,7 |
return 0; |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/ipc/ipc.c |
---|
26,6 → 26,14 |
* 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 |
523,3 → 531,7 |
spinlock_unlock(&task->answerbox.lock); |
spinlock_unlock(&task->lock); |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/ipc/irq.c |
---|
26,6 → 26,12 |
* 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 |
327,3 → 333,7 |
interrupts_restore(ipl); |
} |
} |
/** @} |
*/ |
//kernel/trunk/generic/src/preempt/preemption.c |
---|
26,6 → 26,10 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup generic |
* @{ |
*/ |
/** |
* @file preemption.c |
* @brief Preemption control. |
51,3 → 55,7 |
memory_barrier(); |
THE->preemption_disabled--; |
} |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/context_offset.h |
---|
19,3 → 19,7 |
#define OFFSET_L6 0x80 |
#define OFFSET_L7 0x88 |
#define OFFSET_CLEANWIN 0x98 |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/interrupt.h |
---|
26,6 → 26,13 |
* 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__ |
66,3 → 73,7 |
extern void interrupt_register(int n, const char *name, iroutine f); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/fpu_context.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_FPU_CONTEXT_H__ |
#define __sparc64_FPU_CONTEXT_H__ |
35,3 → 41,7 |
}; |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/byteorder.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_BYTEORDER_H__ |
#define __sparc64_BYTEORDER_H__ |
43,3 → 49,7 |
} |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/console.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_CONSOLE_H__ |
#define __sparc64_CONSOLE_H__ |
35,3 → 41,7 |
extern void standalone_sparc64_console_init(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/types.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_TYPES_H__ |
#define __sparc64_TYPES_H__ |
54,3 → 60,7 |
typedef __u8 asi_t; |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/stack.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_STACK_H__ |
#define __sparc64_STACK_H__ |
45,3 → 51,7 |
#define STACK_BIAS 2047 |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/elf.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_ELF_H__ |
#define __sparc64_ELF_H__ |
34,3 → 40,7 |
#define ELF_CLASS ELFCLASS64 |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/memstr.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_MEMSTR_H__ |
#define __sparc64_MEMSTR_H__ |
37,3 → 43,7 |
extern int memcmp(__address src, __address dst, int cnt); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/arg.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_ARG_H__ |
#define __sparc64_ARG_H__ |
32,3 → 38,7 |
#include <stdarg.h> |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/atomic.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_ATOMIC_H__ |
#define __sparc64_ATOMIC_H__ |
92,3 → 98,7 |
} |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/boot/boot.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_BOOT_H__ |
#define __sparc64_BOOT_H__ |
33,3 → 39,7 |
#define LMA 0x4000 |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/arch.h |
---|
26,7 → 26,17 |
* 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/proc/task.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64proc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_TASK_H__ |
#define __sparc64_TASK_H__ |
36,3 → 42,7 |
#define task_destroy_arch(t) |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/proc/thread.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64proc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_THREAD_H__ |
#define __sparc64_THREAD_H__ |
35,3 → 41,7 |
#define thread_create_arch(t) |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/faddr.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_FADDR_H__ |
#define __sparc64_FADDR_H__ |
34,3 → 40,7 |
#define FADDR(fptr) ((__address) (fptr)) |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/asm.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_ASM_H__ |
#define __sparc64_ASM_H__ |
305,3 → 311,7 |
void asm_delay_loop(__u32 t); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/trap/regwin.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
/** |
* This file contains register window trap handlers. |
*/ |
131,3 → 137,7 |
#endif /* __ASM__ */ |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/trap/interrupt.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
/** |
* This file contains interrupt vector trap handler. |
*/ |
71,3 → 77,7 |
#endif /* __ASM__ */ |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/trap/trap_table.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_TRAP_TABLE_H__ |
#define __sparc64_TRAP_TABLE_H__ |
90,3 → 96,7 |
#endif /* __ASM__ */ |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/trap/exception.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_EXCEPTION_H__ |
#define __sparc64_EXCEPTION_H__ |
42,3 → 48,7 |
#endif /* !__ASM__ */ |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/trap/mmu.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
/** |
* This file contains fast MMU trap handlers. |
*/ |
68,3 → 74,7 |
#endif /* __ASM__ */ |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/trap/trap.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_TRAP_H__ |
#define __sparc64_TRAP_H__ |
42,3 → 48,7 |
extern void trap_init(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/mm/frame.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_FRAME_H__ |
#define __sparc64_FRAME_H__ |
54,3 → 60,7 |
#endif |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/mm/memory_init.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_MEMORY_INIT_H__ |
#define __sparc64_MEMORY_INIT_H__ |
34,3 → 40,7 |
extern size_t get_memory_size(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/mm/page.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_PAGE_H__ |
#define __sparc64_PAGE_H__ |
58,3 → 64,7 |
#endif /* KERNEL */ |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/mm/tte.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_TTE_H__ |
#define __sparc64_TTE_H__ |
70,3 → 76,7 |
typedef union tte_data tte_data_t; |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/mm/mmu.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_MMU_H__ |
#define __sparc64_MMU_H__ |
125,3 → 131,7 |
} |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/mm/asid.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_ASID_H__ |
#define __sparc64_ASID_H__ |
39,3 → 45,7 |
#define ASID_MAX_ARCH 8191 /* 2^13 - 1 */ |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/mm/tlb.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_TLB_H__ |
#define __sparc64_TLB_H__ |
411,3 → 417,7 |
extern void dtlb_insert_mapping(__address page, __address frame, int pagesize, bool locked, bool cacheable); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/mm/as.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_AS_H__ |
#define __sparc64_AS_H__ |
43,3 → 49,7 |
extern void as_arch_init(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/context.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_CONTEXT_H__ |
#define __sparc64_CONTEXT_H__ |
82,3 → 88,7 |
}; |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/register.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_REGISTER_H__ |
#define __sparc64_REGISTER_H__ |
99,3 → 105,7 |
typedef union softint_reg softint_reg_t; |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/debug.h |
---|
26,7 → 26,18 |
* 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/barrier.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_BARRIER_H__ |
#define __sparc64_BARRIER_H__ |
62,3 → 68,7 |
} |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/cpu.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64cpu |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_CPU_H__ |
#define __sparc64_CPU_H__ |
49,3 → 55,7 |
}; |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/drivers/tick.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_TICK_H__ |
#define __sparc64_TICK_H__ |
37,3 → 43,7 |
extern void tick_interrupt(int n, istate_t *istate); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/drivers/i8042.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_I8042_H__ |
#define __sparc64_I8042_H__ |
64,3 → 70,7 |
extern void kbd_init(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/include/drivers/fb.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup sparc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __sparc64_FB_H__ |
#define __sparc64_FB_H__ |
37,3 → 43,7 |
#define FB_COLOR_DEPTH 8 |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/src/ddi/ddi.c |
---|
26,6 → 26,13 |
* 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> |
45,3 → 52,7 |
{ |
return 0; |
} |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/src/console.c |
---|
26,6 → 26,12 |
* 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> |
176,3 → 182,7 |
thread_usleep(KEYBOARD_POLL_PAUSE); |
} |
} |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/src/proc/scheduler.c |
---|
26,6 → 26,13 |
* 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> |
72,3 → 79,7 |
dtlb_demap(TLB_DEMAP_PAGE, TLB_DEMAP_NUCLEUS, (__address) THREAD->kstack); |
} |
} |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/src/sparc64.c |
---|
26,6 → 26,13 |
* 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> |
88,3 → 95,7 |
void arch_release_console(void) |
{ |
} |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/src/trap/exception.c |
---|
26,6 → 26,12 |
* 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> |
53,3 → 59,7 |
{ |
panic("Illegal Instruction: %P\n", tpc_read()); |
} |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/src/trap/trap.c |
---|
26,6 → 26,12 |
* 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> |
43,3 → 49,7 |
void trap_init(void) |
{ |
} |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/src/trap/interrupt.c |
---|
26,6 → 26,12 |
* 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> |
51,3 → 57,7 |
panic("not implemented\n"); |
/* TODO */ |
} |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/src/cpu/cpu.c |
---|
26,6 → 26,13 |
* 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> |
89,3 → 96,7 |
printf("cpu%d: manuf=%s, impl=%s, mask=%d\n", CPU->id, manuf, impl, CPU->arch.ver.mask); |
} |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/src/mm/tlb.c |
---|
26,6 → 26,12 |
* 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> |
272,3 → 278,7 |
dtlb_demap(TLB_DEMAP_PAGE, TLB_DEMAP_NUCLEUS, page + i * PAGE_SIZE); |
} |
} |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/src/mm/as.c |
---|
26,6 → 26,14 |
* 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> |
36,3 → 44,7 |
as_operations = &as_ht_operations; |
asid_fifo_init(); |
} |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/src/mm/frame.c |
---|
26,6 → 26,12 |
* 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> |
44,3 → 50,7 |
*/ |
frame_mark_unavailable(0, 1); |
} |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/src/mm/memory_init.c |
---|
26,6 → 26,12 |
* 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> |
34,3 → 40,7 |
{ |
return ofw_get_memory_size(); |
} |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/src/mm/page.c |
---|
26,6 → 26,12 |
* 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> |
76,3 → 82,7 |
return virtaddr; |
} |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/src/drivers/i8042.c |
---|
26,6 → 26,12 |
* 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> |
38,3 → 44,7 |
kbd_virt_address = (__u8 *) hw_map(KBD_PHYS_ADDRESS, LAST_REG); |
i8042_init(); |
} |
/** @} |
*/ |
//kernel/trunk/arch/sparc64/src/drivers/tick.c |
---|
26,6 → 26,12 |
* 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> |
81,3 → 87,7 |
clock(); |
} |
/** @} |
*/ |
//kernel/trunk/arch/ia64/include/interrupt.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64interrupt |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_INTERRUPT_H__ |
#define __ia64_INTERRUPT_H__ |
136,3 → 142,7 |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia64/include/fpu_context.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_FPU_CONTEXT_H__ |
#define __ia64_FPU_CONTEXT_H__ |
42,3 → 48,7 |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia64/include/byteorder.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_BYTEORDER_H__ |
#define __ia64_BYTEORDER_H__ |
34,3 → 40,7 |
#define __u64_le2host(n) (n) |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia64/include/ski/ski.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __SKI_H__ |
#define __SKI_H__ |
44,3 → 50,7 |
extern int kbd_uspace; |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia64/include/types.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __TYPES_H__ |
#define __TYPES_H__ |
60,3 → 66,7 |
typedef struct pte pte_t; |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia64/include/stack.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_STACK_H__ |
#define __ia64_STACK_H__ |
35,3 → 41,7 |
#define REGISTER_STACK_ALIGNMENT 8 |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia64/include/elf.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_ELF_H__ |
#define __ia64_ELF_H__ |
34,3 → 40,7 |
#define ELF_CLASS ELFCLASS64 |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia64/include/memstr.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_MEMSTR_H__ |
#define __ia64_MEMSTR_H__ |
37,3 → 43,7 |
extern int memcmp(__address src, __address dst, int cnt); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia64/include/arg.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_ARG_H__ |
#define __ia64_ARG_H__ |
32,3 → 38,7 |
#include <stdarg.h> |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia64/include/smp/atomic.h |
---|
0,0 → 1,4 |
/** @} |
*/ |
//kernel/trunk/arch/ia64/include/atomic.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_ATOMIC_H__ |
#define __ia64_ATOMIC_H__ |
55,3 → 61,7 |
static inline long atomic_postdec(atomic_t *val) { return atomic_add(val, -1); } |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia64/include/arch.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_ARCH_H__ |
#define __ia64_ARCH_H__ |
34,3 → 40,7 |
#include <arch/ski/ski.h> |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia64/include/proc/task.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64proc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_TASK_H__ |
#define __ia64_TASK_H__ |
36,3 → 42,7 |
#define task_destroy_arch(t) |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia64/include/proc/thread.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64proc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_THREAD_H__ |
#define __ia64_THREAD_H__ |
35,3 → 41,7 |
#define thread_create_arch(t) |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia64/include/faddr.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_FADDR_H__ |
#define __ia64_FADDR_H__ |
42,3 → 48,7 |
#define FADDR(f) (*((__address *)(f))); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia64/include/asm.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_ASM_H__ |
#define __ia64_ASM_H__ |
274,3 → 280,7 |
extern void switch_to_userspace(__address entry, __address sp, __address bsp, __address uspace_uarg, __u64 ipsr, __u64 rsc); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia64/include/mm/frame.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_FRAME_H__ |
#define __ia64_FRAME_H__ |
43,3 → 49,7 |
#endif /* KERNEL */ |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia64/include/mm/memory_init.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_MEMORY_INIT_H__ |
#define __ia64_MEMORY_INIT_H__ |
34,3 → 40,7 |
#define get_memory_size() (512*1024*1024) /* 512M */ |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia64/include/mm/page.h |
---|
27,6 → 27,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_PAGE_H__ |
#define __ia64_PAGE_H__ |
272,3 → 278,7 |
#endif /* KERNEL */ |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia64/include/mm/asid.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_ASID_H__ |
#define __ia64_ASID_H__ |
55,3 → 61,7 |
#define ASID_MAX_ARCH (RID_MAX/RIDS_PER_ASID) |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia64/include/mm/tlb.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_TLB_H__ |
#define __ia64_TLB_H__ |
93,3 → 99,7 |
extern void page_not_present(__u64 vector, istate_t *istate); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia64/include/mm/vhpt.h |
---|
26,7 → 26,13 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_VHPT_H__ |
#define __ia64_VHPT_H__ |
52,3 → 58,7 |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia64/include/mm/as.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_AS_H__ |
#define __ia64_AS_H__ |
41,3 → 47,7 |
extern void as_arch_init(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia64/include/context.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_CONTEXT_H__ |
#define __ia64_CONTEXT_H__ |
125,3 → 131,7 |
}; |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia64/include/register.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_REGISTER_H__ |
#define __ia64_REGISTER_H__ |
267,3 → 273,7 |
#endif /* !__ASM__ */ |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia64/include/debug.h |
---|
26,7 → 26,18 |
* 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/barrier.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_BARRIER_H__ |
#define __ia64_BARRIER_H__ |
43,3 → 49,7 |
#define srlz_d() __asm__ volatile (";; srlz.d\n" ::: "memory") |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia64/include/pal/pal.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_PAL_H__ |
#define __ia64_PAL_H__ |
99,3 → 105,7 |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia64/include/cpu.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64cpu |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_CPU_H__ |
#define __ia64_CPU_H__ |
58,3 → 64,7 |
} |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia64/include/drivers/it.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia64_IT_H__ |
#define __ia64_IT_H__ |
41,3 → 47,7 |
extern void it_interrupt(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia64/src/fpu_context.c |
---|
24,6 → 24,12 |
* 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 |
* |
*/ |
473,3 → 479,7 |
} |
/** @} |
*/ |
//kernel/trunk/arch/ia64/src/ddi/ddi.c |
---|
26,6 → 26,13 |
* 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> |
45,3 → 52,7 |
{ |
return 0; |
} |
/** @} |
*/ |
//kernel/trunk/arch/ia64/src/proc/scheduler.c |
---|
26,6 → 26,13 |
* 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> |
81,3 → 88,7 |
void after_thread_ran_arch(void) |
{ |
} |
/** @} |
*/ |
//kernel/trunk/arch/ia64/src/ia64.c |
---|
26,6 → 26,13 |
* 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> |
145,3 → 152,7 |
{ |
kbd_uspace=kbd_release; |
} |
/** @} |
*/ |
//kernel/trunk/arch/ia64/src/ski/ski.c |
---|
26,6 → 26,12 |
* 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> |
193,3 → 199,7 |
sysinfo_set_item_val("kbd",NULL,true); |
sysinfo_set_item_val("kbd.irq",NULL,IRQ_KBD); |
} |
/** @} |
*/ |
//kernel/trunk/arch/ia64/src/cpu/cpu.c |
---|
26,6 → 26,13 |
* 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> |
65,3 → 72,7 |
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/ia64/src/putchar.c |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
#include <putchar.h> |
#include <arch/ski/ski.h> |
33,3 → 39,7 |
{ |
ski_write(ch); |
} |
/** @} |
*/ |
//kernel/trunk/arch/ia64/src/mm/tlb.c |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64mm |
* @{ |
*/ |
/** @file |
*/ |
/* |
* TLB management. |
*/ |
678,3 → 684,7 |
} |
} |
} |
/** @} |
*/ |
//kernel/trunk/arch/ia64/src/mm/vhpt.c |
---|
26,7 → 26,13 |
* 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> |
86,3 → 92,7 |
} |
/** @} |
*/ |
//kernel/trunk/arch/ia64/src/mm/as.c |
---|
26,6 → 26,14 |
* 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> |
78,3 → 86,7 |
spinlock_unlock(&as->lock); |
interrupts_restore(ipl); |
} |
/** @} |
*/ |
//kernel/trunk/arch/ia64/src/mm/frame.c |
---|
26,6 → 26,12 |
* 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> |
47,3 → 53,7 |
*/ |
frame_mark_unavailable(ADDR2PFN(ROM_BASE), ROM_SIZE >> FRAME_WIDTH); |
} |
/** @} |
*/ |
//kernel/trunk/arch/ia64/src/mm/page.c |
---|
27,6 → 27,12 |
* 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> |
256,3 → 262,7 |
v->present.key = 0; |
v->present.tag.tag_word = tag; |
} |
/** @} |
*/ |
//kernel/trunk/arch/ia64/src/interrupt.c |
---|
25,6 → 25,13 |
* 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 |
* |
*/ |
272,3 → 279,7 |
panic("not implemented\n"); |
/* TODO */ |
} |
/** @} |
*/ |
//kernel/trunk/arch/ia64/src/drivers/it.c |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia64 |
* @{ |
*/ |
/** @file |
*/ |
/** Interval Timer driver. */ |
#include <arch/drivers/it.h> |
94,3 → 100,7 |
clock(); |
poll_keyboard(); |
} |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/include/context_offset.h |
---|
43,3 → 43,7 |
#define OFFSET_FR30 0x80 |
#define OFFSET_FR31 0x88 |
#define OFFSET_FPSCR 0x90 |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/include/asm/regname.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_REGNAME_H__ |
#define __ppc32_REGNAME_H__ |
220,3 → 226,7 |
#define hid0_dci (1 << 10) |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/include/interrupt.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32interrupt |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_INTERRUPT_H__ |
#define __ppc32_INTERRUPT_H__ |
49,3 → 55,7 |
extern void extint_handler(int n, istate_t *istate); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/include/exception.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_EXCEPTION_H__ |
#define __ppc32_EXCEPTION_H__ |
93,3 → 99,7 |
} |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/include/fpu_context.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_FPU_CONTEXT_H__ |
#define __ppc32_FPU_CONTEXT_H__ |
56,3 → 62,7 |
} __attribute__ ((packed)); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/include/byteorder.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_BYTEORDER_H__ |
#define __ppc32_BYTEORDER_H__ |
62,3 → 68,7 |
} |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/include/cpuid.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32cpu |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_CPUID_H__ |
#define __ppc32_CPUID_H__ |
45,3 → 51,7 |
} |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/include/types.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_TYPES_H__ |
#define __ppc32_TYPES_H__ |
58,3 → 64,7 |
} pte_t; |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/include/elf.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_ELF_H__ |
#define __ppc32_ELF_H__ |
34,3 → 40,7 |
#define ELF_CLASS ELFCLASS32 |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/include/memstr.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_MEMSTR_H__ |
#define __ppc32_MEMSTR_H__ |
37,3 → 43,7 |
extern int memcmp(__address src, __address dst, int cnt); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/include/arg.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_ARG_H__ |
#define __ppc32_ARG_H__ |
32,3 → 38,7 |
#include <stdarg.h> |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/include/atomic.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_ATOMIC_H__ |
#define __ppc32_ATOMIC_H__ |
86,3 → 92,7 |
} |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/include/boot/boot.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_BOOT_H__ |
#define __ppc32_BOOT_H__ |
87,3 → 93,7 |
#endif |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/include/arch.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_ARCH_H__ |
#define __ppc32_ARCH_H__ |
32,3 → 38,7 |
#include <arch/drivers/cuda.h> |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/include/proc/task.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32proc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_TASK_H__ |
#define __ppc32_TASK_H__ |
36,3 → 42,7 |
#define task_destroy_arch(t) |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/include/proc/thread.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32proc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_THREAD_H__ |
#define __ppc32_THREAD_H__ |
35,3 → 41,7 |
#define thread_create_arch(t) |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/include/asm.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_ASM_H__ |
#define __ppc32_ASM_H__ |
144,3 → 150,7 |
extern void userspace_asm(__address uspace_uarg, __address stack, __address entry); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/include/faddr.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_FADDR_H__ |
#define __ppc32_FADDR_H__ |
34,3 → 40,7 |
#define FADDR(fptr) ((__address) (fptr)) |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/include/mm/frame.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_FRAME_H__ |
#define __ppc32_FRAME_H__ |
45,3 → 51,7 |
#endif /* KERNEL */ |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/include/mm/memory_init.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_MEMORY_INIT_H__ |
#define __ppc32_MEMORY_INIT_H__ |
36,3 → 42,7 |
void memory_print_map(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/include/mm/page.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_PAGE_H__ |
#define __ppc32_PAGE_H__ |
151,3 → 157,7 |
#endif /* KERNEL */ |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/include/mm/asid.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_ASID_H__ |
#define __ppc32_ASID_H__ |
37,3 → 43,7 |
#define asid_put(asid) |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/include/mm/tlb.h |
---|
26,8 → 26,18 |
* 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/as.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_AS_H__ |
#define __ppc32_AS_H__ |
43,3 → 49,7 |
extern void as_arch_init(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/include/context.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_CONTEXT_H__ |
#define __ppc32_CONTEXT_H__ |
66,3 → 72,7 |
} __attribute__ ((packed)); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/include/debug.h |
---|
26,7 → 26,18 |
* 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/barrier.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_BARRIER_H__ |
#define __ppc32_BARRIER_H__ |
37,3 → 43,7 |
#define write_barrier() asm volatile ("eieio" ::: "memory") |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/include/cpu.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32cpu |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc32_CPU_H__ |
#define __ppc32_CPU_H__ |
37,3 → 43,7 |
}; |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/include/drivers/pic.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __PIC_H_ |
#define __PIC_H_ |
46,3 → 52,7 |
int pic_get_pending(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/include/drivers/cuda.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __CUDA_H__ |
#define __CUDA_H__ |
38,3 → 44,7 |
extern int cuda_get_scancode(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/src/ddi/ddi.c |
---|
26,6 → 26,13 |
* 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> |
45,3 → 52,7 |
{ |
return 0; |
} |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/src/proc/scheduler.c |
---|
26,6 → 26,13 |
* 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> |
52,3 → 59,7 |
void after_thread_ran_arch(void) |
{ |
} |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/src/cpu/cpu.c |
---|
26,6 → 26,13 |
* 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> |
52,3 → 59,7 |
{ |
printf("cpu%d: version=%d, revision=%d\n", m->id, m->arch.version, m->arch.revision); |
} |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/src/ppc32.c |
---|
26,6 → 26,13 |
* 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> |
110,3 → 117,7 |
void arch_release_console(void) |
{ |
} |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/src/mm/tlb.c |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc32mm |
* @{ |
*/ |
/** @file |
*/ |
#include <mm/tlb.h> |
75,3 → 81,7 |
void tlb_print(void) |
{ |
} |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/src/mm/as.c |
---|
26,6 → 26,14 |
* 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> |
34,3 → 42,7 |
{ |
as_operations = &as_pt_operations; |
} |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/src/mm/frame.c |
---|
26,6 → 26,12 |
* 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> |
60,3 → 66,7 |
frame_mark_unavailable(0, 4); |
} |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/src/mm/memory_init.c |
---|
26,6 → 26,12 |
* 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> |
45,3 → 51,7 |
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/page.c |
---|
26,6 → 26,12 |
* 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> |
297,3 → 303,7 |
return virtaddr; |
} |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/src/interrupt.c |
---|
26,6 → 26,13 |
* 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> |
85,3 → 92,7 |
{ |
int_register(irq, "ipc_int", ipc_int); |
} |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/src/drivers/pic.c |
---|
26,7 → 26,13 |
* 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> |
83,3 → 89,7 |
} |
return -1; |
} |
/** @} |
*/ |
//kernel/trunk/arch/ppc32/src/drivers/cuda.c |
---|
26,6 → 26,12 |
* 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> |
300,3 → 306,7 |
"b 0\n" |
); |
} |
/** @} |
*/ |
//kernel/trunk/arch/amd64/include/context_offset.h |
---|
8,3 → 8,7 |
#define OFFSET_R14 0x30 |
#define OFFSET_R15 0x38 |
#define OFFSET_IPL 0x40 |
/** @} |
*/ |
//kernel/trunk/arch/amd64/include/interrupt.h |
---|
26,6 → 26,13 |
* 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__ |
121,3 → 128,7 |
extern void ident_page_fault(int n, istate_t *istate); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/amd64/include/byteorder.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_BYTEORDER_H__ |
#define __amd64_BYTEORDER_H__ |
34,3 → 40,7 |
#define __u64_le2host(n) (n) |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/amd64/include/cpuid.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64cpu |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_CPUID_H__ |
#define __amd64_CPUID_H__ |
56,3 → 62,7 |
#endif /* __ASM__ */ |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/amd64/include/types.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_TYPES_H__ |
#define __amd64_TYPES_H__ |
53,3 → 59,7 |
typedef struct page_specifier pte_t; |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/amd64/include/elf.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_ELF_H__ |
#define __amd64_ELF_H__ |
34,3 → 40,7 |
#define ELF_CLASS ELFCLASS64 |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/amd64/include/memstr.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_MEMSTR_H__ |
#define __amd64_MEMSTR_H__ |
134,3 → 140,7 |
} |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/amd64/include/arg.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_ARG_H__ |
#define __amd64_ARG_H__ |
32,3 → 38,7 |
#include <stdarg.h> |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/amd64/include/ddi/ddi.h |
---|
26,8 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64ddi |
* @{ |
*/ |
/** |
* @file ddi.h |
* @file |
* @brief amd64 specific DDI declarations and macros. |
*/ |
37,3 → 41,7 |
extern void io_perm_bitmap_install(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/amd64/include/syscall.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_SYSCALL_H__ |
#define __amd64_SYSCALL_H__ |
34,3 → 40,7 |
extern void syscall_setup_cpu(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/amd64/include/atomic.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_ATOMIC_H__ |
#define __amd64_ATOMIC_H__ |
118,3 → 124,7 |
} |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/amd64/include/pm.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_PM_H__ |
#define __amd64_PM_H__ |
187,3 → 193,7 |
#endif /* __ASM__ */ |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/amd64/include/boot/boot.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_BOOT_H__ |
#define __amd64_BOOT_H__ |
39,3 → 45,7 |
#define MULTIBOOT_LOADER_MAGIC 0x2BADB002 |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/amd64/include/arch.h |
---|
26,7 → 26,17 |
* 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/proc/task.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64proc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_TASK_H__ |
#define __amd64_TASK_H__ |
39,3 → 45,7 |
} task_arch_t; |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/amd64/include/proc/thread.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64proc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_THREAD_H__ |
#define __amd64_THREAD_H__ |
36,3 → 42,7 |
} thread_arch_t; |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/amd64/include/asm.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_ASM_H__ |
#define __amd64_ASM_H__ |
273,3 → 279,7 |
extern void interrupt_handlers(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/amd64/include/faddr.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_FADDR_H__ |
#define __amd64_FADDR_H__ |
34,3 → 40,7 |
#define FADDR(fptr) ((__address) (fptr)) |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/amd64/include/mm/frame.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_FRAME_H__ |
#define __amd64_FRAME_H__ |
43,3 → 49,7 |
#endif /* __ASM__ */ |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/amd64/include/mm/page.h |
---|
26,6 → 26,12 |
* 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 |
190,3 → 196,7 |
#endif /* KERNEL */ |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/amd64/include/mm/ptl.h |
---|
26,7 → 26,13 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_PTL_H_ |
#define __amd64_PTL_H_ |
41,3 → 47,7 |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/amd64/include/mm/tlb.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_TLB_H__ |
#define __amd64_TLB_H__ |
33,3 → 39,7 |
#define tlb_print() |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/amd64/include/mm/as.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_AS_H__ |
#define __amd64_AS_H__ |
43,3 → 49,7 |
extern void as_arch_init(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/amd64/include/debugger.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64debug |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_DEBUGGER_H__ |
#define __amd64_DEBUGGER_H__ |
46,3 → 52,7 |
extern void breakpoint_del(int slot); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/amd64/include/context.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_CONTEXT_H__ |
#define __amd64_CONTEXT_H__ |
59,3 → 65,7 |
} __attribute__ ((packed)); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/amd64/include/cpu.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64cpu |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __amd64_CPU_H__ |
#define __amd64_CPU_H__ |
76,3 → 82,7 |
#endif /* __ASM__ */ |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/amd64/include/drivers/vesa.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __VESA_H__ |
#define __VESA_H__ |
35,3 → 41,7 |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/amd64/src/fpu_context.c |
---|
24,6 → 24,12 |
* 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 |
* |
*/ |
56,3 → 62,7 |
"fninit;" |
); |
} |
/** @} |
*/ |
//kernel/trunk/arch/amd64/src/cpu/cpu.c |
---|
26,6 → 26,13 |
* 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> |
157,3 → 164,7 |
m->id, vendor_str[m->arch.vendor], m->arch.family, m->arch.model, m->arch.stepping, |
m->frequency_mhz); |
} |
/** @} |
*/ |
//kernel/trunk/arch/amd64/src/syscall.c |
---|
26,6 → 26,12 |
* 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> |
60,3 → 66,7 |
*/ |
write_msr(AMD_MSR_SFMASK, 0x200); |
} |
/** @} |
*/ |
//kernel/trunk/arch/amd64/src/amd64.c |
---|
26,6 → 26,13 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64 |
* @ingroup others |
* @{ |
*/ |
/** @file |
*/ |
#include <arch.h> |
#include <arch/types.h> |
201,3 → 208,7 |
{ |
i8042_release(); |
} |
/** @} |
*/ |
//kernel/trunk/arch/amd64/src/pm.c |
---|
27,6 → 27,12 |
* 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> |
233,3 → 239,7 |
*/ |
tr_load(gdtselector(TSS_DES)); |
} |
/** @} |
*/ |
//kernel/trunk/arch/amd64/src/ddi/ddi.c |
---|
26,6 → 26,13 |
* 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> |
155,3 → 162,7 |
*/ |
CPU->arch.iomapver_copy = ver; |
} |
/** @} |
*/ |
//kernel/trunk/arch/amd64/src/proc/scheduler.c |
---|
26,6 → 26,13 |
* 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> |
73,3 → 80,7 |
void after_thread_ran_arch(void) |
{ |
} |
/** @} |
*/ |
//kernel/trunk/arch/amd64/src/proc/task.c |
---|
26,6 → 26,12 |
* 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> |
49,3 → 55,7 |
if (t->arch.iomap.map) |
free(t->arch.iomap.map); |
} |
/** @} |
*/ |
//kernel/trunk/arch/amd64/src/proc/thread.c |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64proc |
* @{ |
*/ |
/** @file |
*/ |
#include <proc/thread.h> |
/** Perform amd64 specific thread initialization. |
36,3 → 42,7 |
{ |
t->arch.tls = 0; |
} |
/** @} |
*/ |
//kernel/trunk/arch/amd64/src/debugger.c |
---|
26,6 → 26,13 |
* 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> |
375,3 → 382,7 |
debug_ipi); |
#endif |
} |
/** @} |
*/ |
//kernel/trunk/arch/amd64/src/mm/memory_init.c |
---|
26,6 → 26,12 |
* 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> |
69,3 → 75,7 |
} |
/** @} |
*/ |
//kernel/trunk/arch/amd64/src/mm/page.c |
---|
26,6 → 26,14 |
* 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> |
206,3 → 214,7 |
return virtaddr; |
} |
/** @} |
*/ |
//kernel/trunk/arch/amd64/src/userspace.c |
---|
26,6 → 26,12 |
* 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> |
70,3 → 76,7 |
for(;;) |
; |
} |
/** @} |
*/ |
//kernel/trunk/arch/amd64/src/interrupt.c |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64interrupt |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/interrupt.h> |
#include <print.h> |
#include <debug.h> |
174,3 → 180,7 |
return; |
exc_register(IVT_IRQBASE+irq, "ipc_int", ipc_int); |
} |
/** @} |
*/ |
//kernel/trunk/arch/ppc64/include/context_offset.h |
---|
43,3 → 43,7 |
#define OFFSET_FR30 0x80 |
#define OFFSET_FR31 0x88 |
#define OFFSET_FPSCR 0x90 |
/** @} |
*/ |
//kernel/trunk/arch/ppc64/include/asm/regname.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_REGNAME_H__ |
#define __ppc64_REGNAME_H__ |
204,3 → 210,7 |
#define hid0_dci (1 << 10) |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc64/include/interrupt.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64interrupt |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_INTERRUPT_H__ |
#define __ppc64_INTERRUPT_H__ |
41,3 → 47,7 |
extern void interrupt_init(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc64/include/exception.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_EXCEPTION_H__ |
#define __ppc64_EXCEPTION_H__ |
93,3 → 99,7 |
} |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc64/include/fpu_context.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_FPU_CONTEXT_H__ |
#define __ppc64_FPU_CONTEXT_H__ |
56,3 → 62,7 |
} __attribute__ ((packed)); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc64/include/byteorder.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_BYTEORDER_H__ |
#define __ppc64_BYTEORDER_H__ |
62,3 → 68,7 |
} |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc64/include/cpuid.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64cpu |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_CPUID_H__ |
#define __ppc64_CPUID_H__ |
45,3 → 51,7 |
} |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc64/include/types.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_TYPES_H__ |
#define __ppc64_TYPES_H__ |
58,3 → 64,7 |
} pte_t; |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc64/include/elf.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_ELF_H__ |
#define __ppc64_ELF_H__ |
34,3 → 40,7 |
#define ELF_CLASS ELFCLASS32 |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc64/include/memstr.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_MEMSTR_H__ |
#define __ppc64_MEMSTR_H__ |
37,3 → 43,7 |
extern int memcmp(__address src, __address dst, int cnt); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc64/include/arg.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_ARG_H__ |
#define __ppc64_ARG_H__ |
32,3 → 38,7 |
#include <stdarg.h> |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc64/include/atomic.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_ATOMIC_H__ |
#define __ppc64_ATOMIC_H__ |
86,3 → 92,7 |
} |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc64/include/boot/boot.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_BOOT_H__ |
#define __ppc64_BOOT_H__ |
81,3 → 87,7 |
#endif |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc64/include/arch.h |
---|
26,7 → 26,17 |
* 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/proc/task.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64proc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_TASK_H__ |
#define __ppc64_TASK_H__ |
36,3 → 42,7 |
#define task_destroy_arch(t) |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc64/include/proc/thread.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64proc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_THREAD_H__ |
#define __ppc64_THREAD_H__ |
35,3 → 41,7 |
#define thread_create_arch(t) |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc64/include/faddr.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_FADDR_H__ |
#define __ppc64_FADDR_H__ |
34,3 → 40,7 |
#define FADDR(fptr) ((__address) (fptr)) |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc64/include/asm.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_ASM_H__ |
#define __ppc64_ASM_H__ |
150,3 → 156,7 |
extern void userspace_asm(__address uspace_uarg, __address stack, __address entry); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc64/include/mm/frame.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_FRAME_H__ |
#define __ppc64_FRAME_H__ |
45,3 → 51,7 |
#endif /* KERNEL */ |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc64/include/mm/memory_init.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_MEMORY_INIT_H__ |
#define __ppc64_MEMORY_INIT_H__ |
36,3 → 42,7 |
void memory_print_map(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc64/include/mm/page.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_PAGE_H__ |
#define __ppc64_PAGE_H__ |
151,3 → 157,7 |
#endif /* KERNEL */ |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc64/include/mm/asid.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_ASID_H__ |
#define __ppc64_ASID_H__ |
37,3 → 43,7 |
#define asid_put(asid) |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc64/include/mm/tlb.h |
---|
26,8 → 26,18 |
* 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/as.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_AS_H__ |
#define __ppc64_AS_H__ |
43,3 → 49,7 |
extern void as_arch_init(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc64/include/context.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_CONTEXT_H__ |
#define __ppc64_CONTEXT_H__ |
66,3 → 72,7 |
} __attribute__ ((packed)); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc64/include/debug.h |
---|
26,7 → 26,18 |
* 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/barrier.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_BARRIER_H__ |
#define __ppc64_BARRIER_H__ |
37,3 → 43,7 |
#define write_barrier() asm volatile ("eieio" ::: "memory") |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc64/include/cpu.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64cpu |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ppc64_CPU_H__ |
#define __ppc64_CPU_H__ |
37,3 → 43,7 |
}; |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ppc64/src/ddi/ddi.c |
---|
26,6 → 26,13 |
* 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> |
45,3 → 52,7 |
{ |
return 0; |
} |
/** @} |
*/ |
//kernel/trunk/arch/ppc64/src/proc/scheduler.c |
---|
26,6 → 26,13 |
* 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> |
52,3 → 59,7 |
void after_thread_ran_arch(void) |
{ |
} |
/** @} |
*/ |
//kernel/trunk/arch/ppc64/src/cpu/cpu.c |
---|
26,6 → 26,13 |
* 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> |
52,3 → 59,7 |
{ |
printf("cpu%d: version=%d, revision=%d\n", m->id, m->arch.version, m->arch.revision); |
} |
/** @} |
*/ |
//kernel/trunk/arch/ppc64/src/mm/tlb.c |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ppc64mm |
* @{ |
*/ |
/** @file |
*/ |
#include <mm/tlb.h> |
75,3 → 81,7 |
void tlb_print(void) |
{ |
} |
/** @} |
*/ |
//kernel/trunk/arch/ppc64/src/mm/as.c |
---|
26,6 → 26,14 |
* 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> |
34,3 → 42,7 |
{ |
as_operations = &as_pt_operations; |
} |
/** @} |
*/ |
//kernel/trunk/arch/ppc64/src/mm/frame.c |
---|
26,6 → 26,12 |
* 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> |
60,3 → 66,7 |
frame_mark_unavailable(0, 4); |
} |
/** @} |
*/ |
//kernel/trunk/arch/ppc64/src/mm/memory_init.c |
---|
26,6 → 26,12 |
* 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> |
45,3 → 51,7 |
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/page.c |
---|
26,6 → 26,12 |
* 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> |
296,3 → 302,7 |
return virtaddr; |
} |
/** @} |
*/ |
//kernel/trunk/arch/ppc64/src/interrupt.c |
---|
26,6 → 26,13 |
* 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> |
64,3 → 71,7 |
panic("not implemented\n"); |
/* TODO */ |
} |
/** @} |
*/ |
//kernel/trunk/arch/ppc64/src/ppc64.c |
---|
26,6 → 26,13 |
* 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> |
103,3 → 110,7 |
void arch_release_console(void) |
{ |
} |
/** @} |
*/ |
//kernel/trunk/arch/mips32/include/context_offset.h |
---|
50,3 → 50,7 |
#define EOFFSET_EPC 0x80 |
#define EOFFSET_K1 0x84 |
#define REGISTER_SPACE 136 |
/** @} |
*/ |
//kernel/trunk/arch/mips32/include/asm/regname.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_REGNAME_H_ |
#define __mips32_REGNAME_H_ |
87,3 → 93,7 |
#endif /* _REGNAME_H_ */ |
/** @} |
*/ |
//kernel/trunk/arch/mips32/include/asm/boot.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_BOOT_H_ |
#define __mips32_BOOT_H_ |
34,3 → 40,7 |
#define TEMP_STACK_SIZE 0x100 |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/mips32/include/interrupt.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32interrupt |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_INTERRUPT_H__ |
#define __mips32_INTERRUPT_H__ |
46,3 → 52,7 |
extern void interrupt_init(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/mips32/include/exception.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_EXCEPTION_H__ |
#define __mips32_EXCEPTION_H__ |
116,3 → 122,7 |
extern void exception_init(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/mips32/include/fpu_context.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_FPU_CONTEXT_H__ |
#define __mips32_FPU_CONTEXT_H__ |
39,3 → 45,7 |
}; |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/mips32/include/byteorder.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_BYTEORDER_H__ |
#define __mips32_BYTEORDER_H__ |
49,3 → 55,7 |
#endif |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/mips32/include/console.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_CONSOLE_H__ |
#define __mips32_CONSOLE_H__ |
33,3 → 39,7 |
void console_init(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/mips32/include/cache.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_CACHE_H__ |
#define __mips32_CACHE_H__ |
32,3 → 38,7 |
extern void cache_error(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/mips32/include/types.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_TYPES_H__ |
#define __mips32_TYPES_H__ |
55,3 → 61,7 |
typedef __u32 pfn_t; |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/mips32/include/stack.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_STACK_H__ |
#define __mips32_STACK_H__ |
33,3 → 39,7 |
#define STACK_ALIGNMENT 8 |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/mips32/include/elf.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_ELF_H__ |
#define __mips32_ELF_H__ |
40,3 → 46,7 |
#define ELF_CLASS ELFCLASS32 |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/mips32/include/memstr.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_MEMSTR_H__ |
#define __mips32_MEMSTR_H__ |
37,3 → 43,7 |
extern int memcmp(__address src, __address dst, int cnt); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/mips32/include/arg.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_ARG_H__ |
#define __mips32_ARG_H__ |
49,3 → 55,7 |
#define va_end(ap) |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/mips32/include/atomic.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_ATOMIC_H__ |
#define __mips32_ATOMIC_H__ |
65,3 → 71,7 |
} |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/mips32/include/arch.h |
---|
26,7 → 26,17 |
* 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/proc/task.h |
---|
26,6 → 26,13 |
* 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__ |
36,3 → 43,7 |
#define task_destroy_arch(t) |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/mips32/include/proc/thread.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32proc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_THREAD_H__ |
#define __mips32_THREAD_H__ |
35,3 → 41,7 |
#define thread_create_arch(t) |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/mips32/include/asm.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_ASM_H__ |
#define __mips32_ASM_H__ |
61,3 → 67,7 |
__address entry); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/mips32/include/faddr.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_FADDR_H__ |
#define __mips32_FADDR_H__ |
34,3 → 40,7 |
#define FADDR(fptr) ((__address) (fptr)) |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/mips32/include/cp0.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32cpu |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_CP0_H__ |
#define __mips32_CP0_H__ |
112,3 → 118,7 |
GEN_READ_CP0(prid, 15); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/mips32/include/mm/frame.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_FRAME_H__ |
#define __mips32_FRAME_H__ |
41,3 → 47,7 |
#endif /* KERNEL */ |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/mips32/include/mm/memory_init.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_MEMORY_INIT_H__ |
#define __mips32_MEMORY_INIT_H__ |
37,3 → 43,7 |
#define get_memory_size() CONFIG_MEMORY_SIZE |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/mips32/include/mm/page.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_PAGE_H__ |
#define __mips32_PAGE_H__ |
145,3 → 151,7 |
#endif /* KERNEL */ |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/mips32/include/mm/asid.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_ASID_H__ |
#define __mips32_ASID_H__ |
36,3 → 42,7 |
typedef __u8 asid_t; |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/mips32/include/mm/tlb.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_TLB_H__ |
#define __mips32_TLB_H__ |
174,3 → 180,7 |
extern void tlb_modified(istate_t *istate); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/mips32/include/mm/as.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_AS_H__ |
#define __mips32_AS_H__ |
41,3 → 47,7 |
extern void as_arch_init(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/mips32/include/debugger.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32debug |
* @{ |
*/ |
/** @file |
*/ |
#ifndef _mips32_DEBUGGER_H_ |
#define _mips32_DEBUGGER_H_ |
58,3 → 64,7 |
extern bpinfo_t breakpoints[BKPOINTS_MAX]; |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/mips32/include/context.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_CONTEXT_H__ |
#define __mips32_CONTEXT_H__ |
69,3 → 75,7 |
#endif /* __ASM__ */ |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/mips32/include/debug.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32debug |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_DEBUG_H__ |
#define __mips23_DEBUG_H__ |
44,3 → 50,7 |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/mips32/include/barrier.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_BARRIER_H__ |
#define __mips32_BARRIER_H__ |
40,3 → 46,7 |
#define write_barrier() __asm__ volatile ("" ::: "memory") |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/mips32/include/cpu.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32cpu |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_CPU_H__ |
#define __mips32_CPU_H__ |
37,3 → 43,7 |
}; |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/mips32/include/drivers/serial.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __DRV_SERIAL_H__ |
#define __DRV_SERIAL_H__ |
60,3 → 66,7 |
int serial_init(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/mips32/include/drivers/arc.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __mips32_ARC_H__ |
#define __mips32_ARC_H__ |
256,3 → 262,7 |
void arc_console(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/mips32/include/drivers/msim.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef _MSIM_H_ |
#define _MSIM_H_ |
41,3 → 47,7 |
void msim_kbd_grab(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/mips32/src/fpu_context.c |
---|
24,6 → 24,12 |
* 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 |
* |
*/ |
50,3 → 56,7 |
{ |
/* TODO: Zero all registers */ |
} |
/** @} |
*/ |
//kernel/trunk/arch/mips32/src/exception.c |
---|
26,6 → 26,12 |
* 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> |
165,3 → 171,7 |
#endif |
exc_register(EXC_Sys, "syscall", (iroutine) syscall_exception); |
} |
/** @} |
*/ |
//kernel/trunk/arch/mips32/src/console.c |
---|
26,6 → 26,12 |
* 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> |
57,3 → 63,7 |
{ |
msim_kbd_release(); |
} |
/** @} |
*/ |
//kernel/trunk/arch/mips32/src/cache.c |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32 |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/cache.h> |
#include <panic.h> |
33,3 → 39,7 |
{ |
panic("cache_error exception\n"); |
} |
/** @} |
*/ |
//kernel/trunk/arch/mips32/src/cpu/cpu.c |
---|
26,6 → 26,13 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup mips32cpu mips32 |
* @ingroup cpu |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/cpu.h> |
#include <cpu.h> |
127,3 → 134,7 |
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/mips32.c |
---|
26,7 → 26,14 |
* 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> |
174,3 → 181,7 |
return 0; |
} |
/** @} |
*/ |
//kernel/trunk/arch/mips32/src/ddi/ddi.c |
---|
26,6 → 26,13 |
* 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> |
48,3 → 55,7 |
{ |
return 0; |
} |
/** @} |
*/ |
//kernel/trunk/arch/mips32/src/debugger.c |
---|
26,6 → 26,13 |
* 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> |
376,3 → 383,7 |
} |
spinlock_unlock(&bkpoint_lock); |
} |
/** @} |
*/ |
//kernel/trunk/arch/mips32/src/mm/tlb.c |
---|
26,6 → 26,12 |
* 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> |
602,3 → 608,7 |
interrupts_restore(ipl); |
cp0_entry_hi_write(hi_save.value); |
} |
/** @} |
*/ |
//kernel/trunk/arch/mips32/src/mm/as.c |
---|
26,6 → 26,14 |
* 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> |
66,3 → 74,7 |
interrupts_restore(ipl); |
} |
/** @} |
*/ |
//kernel/trunk/arch/mips32/src/mm/frame.c |
---|
26,6 → 26,12 |
* 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> |
49,3 → 55,7 |
frame_mark_unavailable(0, 1); |
} |
} |
/** @} |
*/ |
//kernel/trunk/arch/mips32/src/mm/page.c |
---|
26,6 → 26,12 |
* 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> |
43,3 → 49,7 |
{ |
return physaddr + 0xa0000000; |
} |
/** @} |
*/ |
//kernel/trunk/arch/mips32/src/interrupt.c |
---|
26,6 → 26,13 |
* 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> |
134,3 → 141,7 |
return; |
int_register(irq, "ipc_int", ipc_int); |
} |
/** @} |
*/ |
//kernel/trunk/arch/mips32/src/drivers/serial.c |
---|
26,6 → 26,12 |
* 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> |
136,3 → 142,7 |
stdin = &console; |
stdout = &console; |
} |
/** @} |
*/ |
//kernel/trunk/arch/mips32/src/drivers/arc.c |
---|
26,6 → 26,12 |
* 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> |
401,3 → 407,7 |
config.memory_size = total; |
} |
/** @} |
*/ |
//kernel/trunk/arch/mips32/src/drivers/msim.c |
---|
26,6 → 26,12 |
* 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> |
118,3 → 124,7 |
{ |
int_register(MSIM_KBD_IRQ, "user_interrupt", oldvector); |
} |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/interrupt.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32interrupt |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_INTERRUPT_H__ |
#define __ia32_INTERRUPT_H__ |
117,3 → 123,7 |
extern void trap_virtual_eoi(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/fpu_context.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_FPU_CONTEXT_H__ |
#define __ia32_FPU_CONTEXT_H__ |
44,3 → 50,7 |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/byteorder.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_BYTEORDER_H__ |
#define __ia32_BYTEORDER_H__ |
34,3 → 40,7 |
#define __u64_le2host(n) (n) |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/cpuid.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32cpu |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_CPUID_H__ |
#define __ia32_CPUID_H__ |
108,3 → 114,7 |
} |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/types.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __TYPES_H__ |
#define __TYPES_H__ |
52,3 → 58,7 |
typedef struct page_specifier pte_t; |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/elf.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_ELF_H__ |
#define __ia32_ELF_H__ |
34,3 → 40,7 |
#define ELF_CLASS ELFCLASS32 |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/bios/bios.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __BIOS_H__ |
#define __BIOS_H__ |
38,3 → 44,7 |
extern void bios_init(void); |
#endif /* __BIOS_H__ */ |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/memstr.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_MEMSTR_H__ |
#define __ia32_MEMSTR_H__ |
140,3 → 146,7 |
} |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/arg.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_ARG_H__ |
#define __ia32_ARG_H__ |
32,3 → 38,7 |
#include <stackarg.h> |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/smp/apic.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __APIC_H__ |
#define __APIC_H__ |
359,3 → 365,7 |
extern void io_apic_enable_irqs(__u16 irqmask); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/smp/mps.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __MPS_H__ |
#define __MPS_H__ |
123,3 → 129,7 |
extern void kmp(void *arg); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/smp/smp.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_SMP_H__ |
#define __ia32_SMP_H__ |
44,3 → 50,7 |
extern int smp_irq_to_pin(int irq); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/smp/ap.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __AP_H__ |
#define __AP_H__ |
32,3 → 38,7 |
extern void ap_boot(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/ddi/ddi.h |
---|
26,8 → 26,11 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32ddi |
* @{ |
*/ |
/** |
* @file ddi.h |
* @file |
* @brief ia32 specific DDI declarations and macros. |
*/ |
37,3 → 40,7 |
extern void io_perm_bitmap_install(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/atomic.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_ATOMIC_H__ |
#define __ia32_ATOMIC_H__ |
117,3 → 123,7 |
} |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/pm.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __PM_H__ |
#define __PM_H__ |
171,3 → 177,7 |
#endif /* __ASM__ */ |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/boot/memmap.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_MEMMAP_H__ |
#define __ia32_MEMMAP_H__ |
66,3 → 72,7 |
#endif |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/boot/boot.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_BOOT_H__ |
#define __ia32_BOOT_H__ |
39,3 → 45,7 |
#define MULTIBOOT_LOADER_MAGIC 0x2BADB002 |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/arch.h |
---|
26,7 → 26,17 |
* 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/proc/task.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32proc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_TASK_H__ |
#define __ia32_TASK_H__ |
39,3 → 45,7 |
} task_arch_t; |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/proc/thread.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32proc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_THREAD_H__ |
#define __ia32_THREAD_H__ |
36,3 → 42,7 |
} thread_arch_t; |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/asm.h |
---|
27,6 → 27,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_ASM_H__ |
#define __ia32_ASM_H__ |
289,3 → 295,7 |
} |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/faddr.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_FADDR_H__ |
#define __ia32_FADDR_H__ |
34,3 → 40,7 |
#define FADDR(fptr) ((__address) (fptr)) |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/mm/frame.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_FRAME_H__ |
#define __ia32_FRAME_H__ |
46,3 → 52,7 |
#endif /* KERNEL */ |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/mm/memory_init.h |
---|
26,6 → 26,13 |
* 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__ |
36,3 → 43,7 |
void memory_print_map(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/mm/page.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_PAGE_H__ |
#define __ia32_PAGE_H__ |
161,3 → 167,7 |
#endif /* KERNEL */ |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/mm/asid.h |
---|
26,6 → 26,13 |
* 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 |
43,3 → 50,7 |
#define asid_put(asid) |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/mm/tlb.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_TLB_H__ |
#define __ia32_TLB_H__ |
33,3 → 39,7 |
#define tlb_print() |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/mm/as.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_AS_H__ |
#define __ia32_AS_H__ |
43,3 → 49,7 |
extern void as_arch_init(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/context.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_CONTEXT_H__ |
#define __ia32_CONTEXT_H__ |
56,3 → 62,7 |
} __attribute__ ((packed)); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/debug.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64debug |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_DEBUG_H__ |
#define __ia32_DEBUG_H__ |
34,3 → 40,7 |
#define HERE get_ip() |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/barrier.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_BARRIER_H__ |
#define __ia32_BARRIER_H__ |
79,3 → 85,7 |
#endif |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/cpu.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32cpu |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_CPU_H__ |
#define __ia32_CPU_H__ |
50,3 → 56,7 |
#define CR4_OSFXSR_MASK (1<<9) |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/drivers/i8254.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __I8254_H__ |
#define __I8254_H__ |
36,3 → 42,7 |
extern void i8254_normal_operation(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/drivers/ega.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __EGA_H__ |
#define __EGA_H__ |
37,3 → 43,7 |
extern void ega_init(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/drivers/vesa.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __VESA_H__ |
#define __VESA_H__ |
33,3 → 39,7 |
extern void vesa_init(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/drivers/i8259.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __I8259_H__ |
#define __I8259_H__ |
46,3 → 52,7 |
extern void pic_eoi(void); |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/include/drivers/i8042.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
/** |
* This file implements ia32 specific access to i8042 registers. |
*/ |
60,3 → 66,7 |
} |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/src/ia32.c |
---|
26,6 → 26,13 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @ingroup others |
* @{ |
*/ |
/** @file |
*/ |
#include <arch.h> |
#include <arch/types.h> |
148,3 → 155,7 |
{ |
i8042_release(); |
} |
/** @} |
*/ |
//kernel/trunk/arch/ia32/src/fpu_context.c |
---|
24,6 → 24,12 |
* 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 |
* |
*/ |
114,3 → 120,7 |
:"i"(0x1f80) |
); |
} |
/** @} |
*/ |
//kernel/trunk/arch/ia32/src/cpu/cpu.c |
---|
26,6 → 26,13 |
* 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> |
155,3 → 162,7 |
m->id, vendor_str[m->arch.vendor], m->arch.family, m->arch.model, m->arch.stepping, |
m->frequency_mhz); |
} |
/** @} |
*/ |
//kernel/trunk/arch/ia32/src/bios/bios.c |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/bios/bios.h> |
#include <arch/types.h> |
36,3 → 42,7 |
/* Copy the EBDA address out from BIOS Data Area */ |
ebda = *((__u16 *) BIOS_EBDA_PTR) * 0x10; |
} |
/** @} |
*/ |
//kernel/trunk/arch/ia32/src/pm.c |
---|
26,6 → 26,12 |
* 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> |
229,3 → 235,7 |
/* Reload gdt register to update GS in CPU */ |
gdtr_load(&cpugdtr); |
} |
/** @} |
*/ |
//kernel/trunk/arch/ia32/src/smp/mps.c |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifdef CONFIG_SMP |
#include <config.h> |
423,3 → 429,7 |
} |
#endif /* CONFIG_SMP */ |
/** @} |
*/ |
//kernel/trunk/arch/ia32/src/smp/smp.c |
---|
26,6 → 26,12 |
* 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> |
174,3 → 180,7 |
} |
#endif /* CONFIG_SMP */ |
/** @} |
*/ |
//kernel/trunk/arch/ia32/src/smp/ipi.c |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifdef CONFIG_SMP |
#include <smp/ipi.h> |
37,3 → 43,7 |
} |
#endif /* CONFIG_SMP */ |
/** @} |
*/ |
//kernel/trunk/arch/ia32/src/smp/apic.c |
---|
26,6 → 26,12 |
* 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> |
570,3 → 576,7 |
} |
#endif /* CONFIG_SMP */ |
/** @} |
*/ |
//kernel/trunk/arch/ia32/src/ddi/ddi.c |
---|
26,6 → 26,13 |
* 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> |
154,3 → 161,7 |
*/ |
CPU->arch.iomapver_copy = ver; |
} |
/** @} |
*/ |
//kernel/trunk/arch/ia32/src/proc/scheduler.c |
---|
26,6 → 26,13 |
* 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> |
70,3 → 77,7 |
void after_thread_ran_arch(void) |
{ |
} |
/** @} |
*/ |
//kernel/trunk/arch/ia32/src/proc/task.c |
---|
26,6 → 26,12 |
* 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> |
50,3 → 56,7 |
if (t->arch.iomap.map) |
free(t->arch.iomap.map); |
} |
/** @} |
*/ |
//kernel/trunk/arch/ia32/src/proc/thread.c |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32proc |
* @{ |
*/ |
/** @file |
*/ |
#include <proc/thread.h> |
/** Perform ia32 specific thread initialization. |
36,3 → 42,7 |
{ |
t->arch.tls = 0; |
} |
/** @} |
*/ |
//kernel/trunk/arch/ia32/src/mm/tlb.c |
---|
26,6 → 26,13 |
* 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> |
59,3 → 66,7 |
for (i = 0; i < cnt; i++) |
invlpg(page + i * PAGE_SIZE); |
} |
/** @} |
*/ |
//kernel/trunk/arch/ia32/src/mm/as.c |
---|
26,6 → 26,13 |
* 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> |
34,3 → 41,7 |
{ |
as_operations = &as_pt_operations; |
} |
/** @} |
*/ |
//kernel/trunk/arch/ia32/src/mm/frame.c |
---|
26,6 → 26,13 |
* 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> |
135,3 → 142,7 |
#endif |
} |
} |
/** @} |
*/ |
//kernel/trunk/arch/ia32/src/mm/memory_init.c |
---|
26,6 → 26,12 |
* 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> |
69,3 → 75,7 |
} |
/** @} |
*/ |
//kernel/trunk/arch/ia32/src/mm/page.c |
---|
26,6 → 26,14 |
* 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> |
110,3 → 118,7 |
panic("page fault\n"); |
} |
} |
/** @} |
*/ |
//kernel/trunk/arch/ia32/src/userspace.c |
---|
26,6 → 26,12 |
* 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> |
76,3 → 82,7 |
for(;;) |
; |
} |
/** @} |
*/ |
//kernel/trunk/arch/ia32/src/interrupt.c |
---|
26,6 → 26,13 |
* 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> |
198,3 → 205,7 |
trap_virtual_enable_irqs(1 << irq); |
exc_register(IVT_IRQBASE+irq, "ipc_int", ipc_int); |
} |
/** @} |
*/ |
//kernel/trunk/arch/ia32/src/drivers/vesa.c |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifdef CONFIG_FB |
#include <genarch/fb/fb.h> |
63,3 → 69,7 |
} |
#endif |
/** @} |
*/ |
//kernel/trunk/arch/ia32/src/drivers/i8259.c |
---|
26,6 → 26,12 |
* 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> |
124,3 → 130,7 |
printf("cpu%d: PIC spurious interrupt\n", CPU->id); |
#endif |
} |
/** @} |
*/ |
//kernel/trunk/arch/ia32/src/drivers/i8254.c |
---|
26,6 → 26,12 |
* 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> |
130,3 → 136,7 |
trap_virtual_eoi(); |
clock(); |
} |
/** @} |
*/ |
//kernel/trunk/arch/ia32/src/drivers/ega.c |
---|
26,6 → 26,12 |
* 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> |
137,3 → 143,7 |
outb(0x3d4, 0xf); |
outb(0x3d5, ega_cursor & 0xff); |
} |
/** @} |
*/ |