/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); |
} |
/** @} |
*/ |