Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1701 → Rev 1702

/kernel/trunk/arch/ia64/include/interrupt.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64interrupt
* @{
*/
/** @file
*/
 
#ifndef __ia64_INTERRUPT_H__
#define __ia64_INTERRUPT_H__
 
136,3 → 142,7
 
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ia64/include/fpu_context.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64
* @{
*/
/** @file
*/
 
#ifndef __ia64_FPU_CONTEXT_H__
#define __ia64_FPU_CONTEXT_H__
 
42,3 → 48,7
 
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ia64/include/byteorder.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64
* @{
*/
/** @file
*/
 
#ifndef __ia64_BYTEORDER_H__
#define __ia64_BYTEORDER_H__
 
34,3 → 40,7
#define __u64_le2host(n) (n)
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ia64/include/ski/ski.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64
* @{
*/
/** @file
*/
 
#ifndef __SKI_H__
#define __SKI_H__
 
44,3 → 50,7
extern int kbd_uspace;
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ia64/include/types.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64
* @{
*/
/** @file
*/
 
#ifndef __TYPES_H__
#define __TYPES_H__
 
60,3 → 66,7
typedef struct pte pte_t;
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ia64/include/stack.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64
* @{
*/
/** @file
*/
 
#ifndef __ia64_STACK_H__
#define __ia64_STACK_H__
 
35,3 → 41,7
#define REGISTER_STACK_ALIGNMENT 8
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ia64/include/elf.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64
* @{
*/
/** @file
*/
 
#ifndef __ia64_ELF_H__
#define __ia64_ELF_H__
 
34,3 → 40,7
#define ELF_CLASS ELFCLASS64
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ia64/include/memstr.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64
* @{
*/
/** @file
*/
 
#ifndef __ia64_MEMSTR_H__
#define __ia64_MEMSTR_H__
 
37,3 → 43,7
extern int memcmp(__address src, __address dst, int cnt);
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ia64/include/arg.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64
* @{
*/
/** @file
*/
 
#ifndef __ia64_ARG_H__
#define __ia64_ARG_H__
 
32,3 → 38,7
#include <stdarg.h>
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ia64/include/smp/atomic.h
0,0 → 1,4
 
/** @}
*/
 
/kernel/trunk/arch/ia64/include/atomic.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64
* @{
*/
/** @file
*/
 
#ifndef __ia64_ATOMIC_H__
#define __ia64_ATOMIC_H__
 
55,3 → 61,7
static inline long atomic_postdec(atomic_t *val) { return atomic_add(val, -1); }
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ia64/include/arch.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64
* @{
*/
/** @file
*/
 
#ifndef __ia64_ARCH_H__
#define __ia64_ARCH_H__
 
34,3 → 40,7
#include <arch/ski/ski.h>
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ia64/include/proc/task.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64proc
* @{
*/
/** @file
*/
 
#ifndef __ia64_TASK_H__
#define __ia64_TASK_H__
 
36,3 → 42,7
#define task_destroy_arch(t)
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ia64/include/proc/thread.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64proc
* @{
*/
/** @file
*/
 
#ifndef __ia64_THREAD_H__
#define __ia64_THREAD_H__
 
35,3 → 41,7
#define thread_create_arch(t)
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ia64/include/faddr.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64
* @{
*/
/** @file
*/
 
#ifndef __ia64_FADDR_H__
#define __ia64_FADDR_H__
 
42,3 → 48,7
#define FADDR(f) (*((__address *)(f)));
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ia64/include/asm.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64
* @{
*/
/** @file
*/
 
#ifndef __ia64_ASM_H__
#define __ia64_ASM_H__
 
274,3 → 280,7
extern void switch_to_userspace(__address entry, __address sp, __address bsp, __address uspace_uarg, __u64 ipsr, __u64 rsc);
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ia64/include/mm/frame.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64mm
* @{
*/
/** @file
*/
 
#ifndef __ia64_FRAME_H__
#define __ia64_FRAME_H__
 
43,3 → 49,7
#endif /* KERNEL */
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ia64/include/mm/memory_init.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64mm
* @{
*/
/** @file
*/
 
#ifndef __ia64_MEMORY_INIT_H__
#define __ia64_MEMORY_INIT_H__
 
34,3 → 40,7
#define get_memory_size() (512*1024*1024) /* 512M */
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ia64/include/mm/page.h
27,6 → 27,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64mm
* @{
*/
/** @file
*/
 
#ifndef __ia64_PAGE_H__
#define __ia64_PAGE_H__
 
272,3 → 278,7
#endif /* KERNEL */
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ia64/include/mm/asid.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64mm
* @{
*/
/** @file
*/
 
#ifndef __ia64_ASID_H__
#define __ia64_ASID_H__
 
55,3 → 61,7
#define ASID_MAX_ARCH (RID_MAX/RIDS_PER_ASID)
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ia64/include/mm/tlb.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64mm
* @{
*/
/** @file
*/
 
#ifndef __ia64_TLB_H__
#define __ia64_TLB_H__
 
93,3 → 99,7
extern void page_not_present(__u64 vector, istate_t *istate);
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ia64/include/mm/vhpt.h
24,6 → 24,12
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64mm
* @{
*/
/** @file
*/
 
52,3 → 58,7
 
#endif
 
 
/** @}
*/
 
/kernel/trunk/arch/ia64/include/mm/as.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64mm
* @{
*/
/** @file
*/
 
#ifndef __ia64_AS_H__
#define __ia64_AS_H__
 
41,3 → 47,7
extern void as_arch_init(void);
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ia64/include/context.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64
* @{
*/
/** @file
*/
 
#ifndef __ia64_CONTEXT_H__
#define __ia64_CONTEXT_H__
 
125,3 → 131,7
};
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ia64/include/register.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64
* @{
*/
/** @file
*/
 
#ifndef __ia64_REGISTER_H__
#define __ia64_REGISTER_H__
 
267,3 → 273,7
#endif /* !__ASM__ */
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ia64/include/debug.h
26,7 → 26,18
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64debug ia64
* @ingroup debug
* @{
*/
/** @file
*/
 
#ifndef __ia64_DEBUG_H__
#define __ia64_DEBUG_H__
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ia64/include/barrier.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64
* @{
*/
/** @file
*/
 
#ifndef __ia64_BARRIER_H__
#define __ia64_BARRIER_H__
 
43,3 → 49,7
#define srlz_d() __asm__ volatile (";; srlz.d\n" ::: "memory")
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ia64/include/pal/pal.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64
* @{
*/
/** @file
*/
 
#ifndef __ia64_PAL_H__
#define __ia64_PAL_H__
 
99,3 → 105,7
 
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ia64/include/cpu.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64cpu
* @{
*/
/** @file
*/
 
#ifndef __ia64_CPU_H__
#define __ia64_CPU_H__
 
58,3 → 64,7
}
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ia64/include/drivers/it.h
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64
* @{
*/
/** @file
*/
 
#ifndef __ia64_IT_H__
#define __ia64_IT_H__
 
41,3 → 47,7
extern void it_interrupt(void);
 
#endif
 
/** @}
*/
 
/kernel/trunk/arch/ia64/src/fpu_context.c
24,6 → 24,12
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64
* @{
*/
/** @file
*
*/
 
473,3 → 479,7
 
}
 
 
/** @}
*/
 
/kernel/trunk/arch/ia64/src/ddi/ddi.c
26,6 → 26,13
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64ddi ia64
* @ingroup ddi
* @{
*/
/** @file
*/
 
#include <ddi/ddi.h>
#include <proc/task.h>
#include <arch/types.h>
45,3 → 52,7
{
return 0;
}
 
/** @}
*/
 
/kernel/trunk/arch/ia64/src/proc/scheduler.c
26,6 → 26,13
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64proc ia64
* @ingroup proc
* @{
*/
/** @file
*/
 
#include <proc/scheduler.h>
#include <proc/thread.h>
#include <arch.h>
81,3 → 88,7
void after_thread_ran_arch(void)
{
}
 
/** @}
*/
 
/kernel/trunk/arch/ia64/src/ia64.c
26,6 → 26,13
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64
* @ingroup others
* @{
*/
/** @file
*/
 
#include <arch.h>
#include <arch/ski/ski.h>
#include <arch/drivers/it.h>
145,3 → 152,7
{
kbd_uspace=kbd_release;
}
 
/** @}
*/
 
/kernel/trunk/arch/ia64/src/ski/ski.c
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64
* @{
*/
/** @file
*/
 
#include <arch/ski/ski.h>
#include <console/console.h>
#include <console/chardev.h>
193,3 → 199,7
sysinfo_set_item_val("kbd",NULL,true);
sysinfo_set_item_val("kbd.irq",NULL,IRQ_KBD);
}
 
/** @}
*/
 
/kernel/trunk/arch/ia64/src/cpu/cpu.c
26,6 → 26,13
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64cpu ia64
* @ingroup cpu
* @{
*/
/** @file
*/
 
#include <cpu.h>
#include <arch.h>
#include <arch/register.h>
65,3 → 72,7
printf("cpu%d: %s (%s), archrev=%d, model=%d, revision=%d\n", CPU->id, family_str, vendor, CPU->arch.cpuid3.archrev, CPU->arch.cpuid3.model, CPU->arch.cpuid3.revision);
}
 
/** @}
*/
 
/kernel/trunk/arch/ia64/src/putchar.c
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64
* @{
*/
/** @file
*/
 
#include <putchar.h>
#include <arch/ski/ski.h>
 
33,3 → 39,7
{
ski_write(ch);
}
 
/** @}
*/
 
/kernel/trunk/arch/ia64/src/mm/tlb.c
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64mm
* @{
*/
/** @file
*/
 
/*
* TLB management.
*/
678,3 → 684,7
}
}
}
 
/** @}
*/
 
/kernel/trunk/arch/ia64/src/mm/vhpt.c
24,6 → 24,12
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64mm
* @{
*/
/** @file
*/
 
86,3 → 92,7
}
 
 
 
/** @}
*/
 
/kernel/trunk/arch/ia64/src/mm/as.c
26,6 → 26,14
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64mm ia64
* @ingroup mm
* @{
*/
/** @file
* @ingroup ia64
*/
 
#include <arch/mm/as.h>
#include <arch/mm/asid.h>
#include <arch/mm/page.h>
78,3 → 86,7
spinlock_unlock(&as->lock);
interrupts_restore(ipl);
}
 
/** @}
*/
 
/kernel/trunk/arch/ia64/src/mm/frame.c
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64mm
* @{
*/
/** @file
*/
 
#include <arch/mm/frame.h>
#include <mm/frame.h>
#include <config.h>
47,3 → 53,7
*/
frame_mark_unavailable(ADDR2PFN(ROM_BASE), ROM_SIZE >> FRAME_WIDTH);
}
 
/** @}
*/
 
/kernel/trunk/arch/ia64/src/mm/page.c
27,6 → 27,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64mm
* @{
*/
/** @file
*/
 
#include <arch/mm/page.h>
#include <genarch/mm/page_ht.h>
#include <mm/asid.h>
256,3 → 262,7
v->present.key = 0;
v->present.tag.tag_word = tag;
}
 
/** @}
*/
 
/kernel/trunk/arch/ia64/src/interrupt.c
25,6 → 25,13
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64interrupt ia64
* @ingroup interrupt
* @{
*/
/** @file
*
*/
 
272,3 → 279,7
panic("not implemented\n");
/* TODO */
}
 
/** @}
*/
 
/kernel/trunk/arch/ia64/src/drivers/it.c
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup ia64
* @{
*/
/** @file
*/
 
/** Interval Timer driver. */
#include <arch/drivers/it.h>
94,3 → 100,7
clock();
poll_keyboard();
}
 
/** @}
*/