Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1701 → Rev 1702

/kernel/trunk/arch/ppc32/include/context_offset.h
43,3 → 43,7
#define OFFSET_FR30 0x80
#define OFFSET_FR31 0x88
#define OFFSET_FPSCR 0x90
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/include/asm/regname.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32
* @{
*/
/** @file
*/
 
#ifndef __ppc32_REGNAME_H__
#define __ppc32_REGNAME_H__
 
220,3 → 226,7
#define hid0_dci (1 << 10)
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/include/interrupt.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32interrupt
* @{
*/
/** @file
*/
 
#ifndef __ppc32_INTERRUPT_H__
#define __ppc32_INTERRUPT_H__
 
49,3 → 55,7
extern void extint_handler(int n, istate_t *istate);
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/include/exception.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32
* @{
*/
/** @file
*/
 
#ifndef __ppc32_EXCEPTION_H__
#define __ppc32_EXCEPTION_H__
 
93,3 → 99,7
}
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/include/fpu_context.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32
* @{
*/
/** @file
*/
 
#ifndef __ppc32_FPU_CONTEXT_H__
#define __ppc32_FPU_CONTEXT_H__
 
56,3 → 62,7
} __attribute__ ((packed));
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/include/byteorder.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32
* @{
*/
/** @file
*/
 
#ifndef __ppc32_BYTEORDER_H__
#define __ppc32_BYTEORDER_H__
 
62,3 → 68,7
}
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/include/cpuid.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32cpu
* @{
*/
/** @file
*/
 
#ifndef __ppc32_CPUID_H__
#define __ppc32_CPUID_H__
 
45,3 → 51,7
}
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/include/types.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32
* @{
*/
/** @file
*/
 
#ifndef __ppc32_TYPES_H__
#define __ppc32_TYPES_H__
 
58,3 → 64,7
} pte_t;
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/include/elf.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32
* @{
*/
/** @file
*/
 
#ifndef __ppc32_ELF_H__
#define __ppc32_ELF_H__
 
34,3 → 40,7
#define ELF_CLASS ELFCLASS32
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/include/memstr.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32
* @{
*/
/** @file
*/
 
#ifndef __ppc32_MEMSTR_H__
#define __ppc32_MEMSTR_H__
 
37,3 → 43,7
extern int memcmp(__address src, __address dst, int cnt);
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/include/arg.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32
* @{
*/
/** @file
*/
 
#ifndef __ppc32_ARG_H__
#define __ppc32_ARG_H__
 
32,3 → 38,7
#include <stdarg.h>
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/include/atomic.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32
* @{
*/
/** @file
*/
 
#ifndef __ppc32_ATOMIC_H__
#define __ppc32_ATOMIC_H__
 
86,3 → 92,7
}
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/include/boot/boot.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32
* @{
*/
/** @file
*/
 
#ifndef __ppc32_BOOT_H__
#define __ppc32_BOOT_H__
 
87,3 → 93,7
#endif
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/include/arch.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32
* @{
*/
/** @file
*/
 
#ifndef __ppc32_ARCH_H__
#define __ppc32_ARCH_H__
 
32,3 → 38,7
#include <arch/drivers/cuda.h>
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/include/proc/task.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32proc
* @{
*/
/** @file
*/
 
#ifndef __ppc32_TASK_H__
#define __ppc32_TASK_H__
 
36,3 → 42,7
#define task_destroy_arch(t)
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/include/proc/thread.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32proc
* @{
*/
/** @file
*/
 
#ifndef __ppc32_THREAD_H__
#define __ppc32_THREAD_H__
 
35,3 → 41,7
#define thread_create_arch(t)
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/include/asm.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32
* @{
*/
/** @file
*/
 
#ifndef __ppc32_ASM_H__
#define __ppc32_ASM_H__
 
144,3 → 150,7
extern void userspace_asm(__address uspace_uarg, __address stack, __address entry);
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/include/faddr.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32
* @{
*/
/** @file
*/
 
#ifndef __ppc32_FADDR_H__
#define __ppc32_FADDR_H__
 
34,3 → 40,7
#define FADDR(fptr) ((__address) (fptr))
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/include/mm/frame.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32mm
* @{
*/
/** @file
*/
 
#ifndef __ppc32_FRAME_H__
#define __ppc32_FRAME_H__
 
45,3 → 51,7
#endif /* KERNEL */
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/include/mm/memory_init.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32mm
* @{
*/
/** @file
*/
 
#ifndef __ppc32_MEMORY_INIT_H__
#define __ppc32_MEMORY_INIT_H__
 
36,3 → 42,7
void memory_print_map(void);
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/include/mm/page.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32mm
* @{
*/
/** @file
*/
 
#ifndef __ppc32_PAGE_H__
#define __ppc32_PAGE_H__
 
151,3 → 157,7
#endif /* KERNEL */
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/include/mm/asid.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32mm
* @{
*/
/** @file
*/
 
#ifndef __ppc32_ASID_H__
#define __ppc32_ASID_H__
 
37,3 → 43,7
#define asid_put(asid)
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/include/mm/tlb.h
26,8 → 26,18
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32mm
* @{
*/
/** @file
*/
 
#ifndef __ppc32_TLB_H__
#define __ppc32_TLB_H__
 
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/include/mm/as.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32mm
* @{
*/
/** @file
*/
 
#ifndef __ppc32_AS_H__
#define __ppc32_AS_H__
 
43,3 → 49,7
extern void as_arch_init(void);
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/include/context.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32
* @{
*/
/** @file
*/
 
#ifndef __ppc32_CONTEXT_H__
#define __ppc32_CONTEXT_H__
 
66,3 → 72,7
} __attribute__ ((packed));
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/include/debug.h
26,7 → 26,18
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32debug ppc32
* @ingroup debug
* @{
*/
/** @file
*/
 
#ifndef __ppc32_DEBUG_H__
#define __ppc32_DEBUG_H__
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/include/barrier.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32
* @{
*/
/** @file
*/
 
#ifndef __ppc32_BARRIER_H__
#define __ppc32_BARRIER_H__
 
37,3 → 43,7
#define write_barrier() asm volatile ("eieio" ::: "memory")
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/include/cpu.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32cpu
* @{
*/
/** @file
*/
 
#ifndef __ppc32_CPU_H__
#define __ppc32_CPU_H__
 
37,3 → 43,7
};
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/include/drivers/pic.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32
* @{
*/
/** @file
*/
 
#ifndef __PIC_H_
#define __PIC_H_
 
46,3 → 52,7
int pic_get_pending(void);
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/include/drivers/cuda.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32
* @{
*/
/** @file
*/
 
#ifndef __CUDA_H__
#define __CUDA_H__
 
38,3 → 44,7
extern int cuda_get_scancode(void);
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/src/ddi/ddi.c
26,6 → 26,13
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32ddi ppc32
* @ingroup ddi
* @{
*/
/** @file
*/
 
#include <ddi/ddi.h>
#include <proc/task.h>
#include <arch/types.h>
45,3 → 52,7
{
return 0;
}
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/src/proc/scheduler.c
26,6 → 26,13
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32proc ppc32
* @ingroup proc
* @{
*/
/** @file
*/
 
#include <arch/mm/page.h>
#include <arch/boot/boot.h>
#include <proc/scheduler.h>
52,3 → 59,7
void after_thread_ran_arch(void)
{
}
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/src/cpu/cpu.c
26,6 → 26,13
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32cpu ppc32
* @ingroup cpu
* @{
*/
/** @file
*/
 
#include <arch/cpu.h>
#include <arch/cpuid.h>
#include <cpu.h>
52,3 → 59,7
{
printf("cpu%d: version=%d, revision=%d\n", m->id, m->arch.version, m->arch.revision);
}
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/src/ppc32.c
26,6 → 26,13
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32
* @ingroup others
* @{
*/
/** @file
*/
 
#include <arch.h>
#include <arch/boot/boot.h>
#include <arch/drivers/cuda.h>
110,3 → 117,7
void arch_release_console(void)
{
}
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/src/mm/tlb.c
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32mm
* @{
*/
/** @file
*/
 
#include <mm/tlb.h>
 
 
75,3 → 81,7
void tlb_print(void)
{
}
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/src/mm/as.c
26,6 → 26,14
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32mm ppc32
* @ingroup mm
* @{
*/
/** @file
* @ingroup ppc32
*/
 
#include <arch/mm/as.h>
#include <genarch/mm/as_pt.h>
 
34,3 → 42,7
{
as_operations = &as_pt_operations;
}
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/src/mm/frame.c
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32mm
* @{
*/
/** @file
*/
 
#include <arch/boot/boot.h>
#include <arch/mm/frame.h>
#include <arch/mm/memory_init.h>
60,3 → 66,7
frame_mark_unavailable(0, 4);
}
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/src/mm/memory_init.c
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32mm
* @{
*/
/** @file
*/
 
#include <arch/boot/boot.h>
#include <arch/mm/memory_init.h>
#include <typedefs.h>
45,3 → 51,7
for (i = 0; i < bootinfo.memmap.count; i++)
printf("base: %#x size: %#x\n", bootinfo.memmap.zones[i].start, bootinfo.memmap.zones[i].size);
}
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/src/mm/page.c
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32mm
* @{
*/
/** @file
*/
 
#include <arch/mm/page.h>
#include <genarch/mm/page_pt.h>
#include <arch/mm/frame.h>
297,3 → 303,7
return virtaddr;
}
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/src/interrupt.c
26,6 → 26,13
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32interrupt ppc32
* @ingroup interrupt
* @{
*/
/** @file
*/
 
#include <interrupt.h>
#include <arch/interrupt.h>
#include <arch/types.h>
85,3 → 92,7
{
int_register(irq, "ipc_int", ipc_int);
}
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/src/drivers/pic.c
26,7 → 26,13
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32
* @{
*/
/** @file
*/
 
 
#include <arch/asm.h>
#include <arch/drivers/pic.h>
#include <byteorder.h>
83,3 → 89,7
}
return -1;
}
 
/** @}
*/
 
/kernel/trunk/arch/ppc32/src/drivers/cuda.c
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ppc32
* @{
*/
/** @file
*/
 
#include <arch/drivers/cuda.h>
#include <arch/asm.h>
#include <console/console.h>
300,3 → 306,7
"b 0\n"
);
}
 
/** @}
*/