Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1702 → Rev 1701

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