Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1702 → Rev 1701

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