/kernel/trunk/arch/ia32/include/interrupt.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32interrupt |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_INTERRUPT_H__ |
#define __ia32_INTERRUPT_H__ |
117,3 → 123,7 |
extern void trap_virtual_eoi(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/fpu_context.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_FPU_CONTEXT_H__ |
#define __ia32_FPU_CONTEXT_H__ |
44,3 → 50,7 |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/byteorder.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_BYTEORDER_H__ |
#define __ia32_BYTEORDER_H__ |
34,3 → 40,7 |
#define __u64_le2host(n) (n) |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/cpuid.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32cpu |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_CPUID_H__ |
#define __ia32_CPUID_H__ |
108,3 → 114,7 |
} |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/types.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __TYPES_H__ |
#define __TYPES_H__ |
52,3 → 58,7 |
typedef struct page_specifier pte_t; |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/elf.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_ELF_H__ |
#define __ia32_ELF_H__ |
34,3 → 40,7 |
#define ELF_CLASS ELFCLASS32 |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/bios/bios.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __BIOS_H__ |
#define __BIOS_H__ |
38,3 → 44,7 |
extern void bios_init(void); |
#endif /* __BIOS_H__ */ |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/memstr.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_MEMSTR_H__ |
#define __ia32_MEMSTR_H__ |
140,3 → 146,7 |
} |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/arg.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_ARG_H__ |
#define __ia32_ARG_H__ |
32,3 → 38,7 |
#include <stackarg.h> |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/smp/apic.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __APIC_H__ |
#define __APIC_H__ |
359,3 → 365,7 |
extern void io_apic_enable_irqs(__u16 irqmask); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/smp/mps.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __MPS_H__ |
#define __MPS_H__ |
123,3 → 129,7 |
extern void kmp(void *arg); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/smp/smp.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_SMP_H__ |
#define __ia32_SMP_H__ |
44,3 → 50,7 |
extern int smp_irq_to_pin(int irq); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/smp/ap.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __AP_H__ |
#define __AP_H__ |
32,3 → 38,7 |
extern void ap_boot(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/ddi/ddi.h |
---|
26,8 → 26,11 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32ddi |
* @{ |
*/ |
/** |
* @file ddi.h |
* @file |
* @brief ia32 specific DDI declarations and macros. |
*/ |
37,3 → 40,7 |
extern void io_perm_bitmap_install(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/atomic.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_ATOMIC_H__ |
#define __ia32_ATOMIC_H__ |
117,3 → 123,7 |
} |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/pm.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __PM_H__ |
#define __PM_H__ |
171,3 → 177,7 |
#endif /* __ASM__ */ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/boot/memmap.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_MEMMAP_H__ |
#define __ia32_MEMMAP_H__ |
66,3 → 72,7 |
#endif |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/boot/boot.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_BOOT_H__ |
#define __ia32_BOOT_H__ |
39,3 → 45,7 |
#define MULTIBOOT_LOADER_MAGIC 0x2BADB002 |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/arch.h |
---|
26,7 → 26,17 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_ARCH_H__ |
#define __ia32_ARCH_H__ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/proc/task.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32proc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_TASK_H__ |
#define __ia32_TASK_H__ |
39,3 → 45,7 |
} task_arch_t; |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/proc/thread.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32proc |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_THREAD_H__ |
#define __ia32_THREAD_H__ |
36,3 → 42,7 |
} thread_arch_t; |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/asm.h |
---|
27,6 → 27,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_ASM_H__ |
#define __ia32_ASM_H__ |
289,3 → 295,7 |
} |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/faddr.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_FADDR_H__ |
#define __ia32_FADDR_H__ |
34,3 → 40,7 |
#define FADDR(fptr) ((__address) (fptr)) |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/mm/frame.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_FRAME_H__ |
#define __ia32_FRAME_H__ |
46,3 → 52,7 |
#endif /* KERNEL */ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/mm/memory_init.h |
---|
26,6 → 26,13 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32mm |
* @{ |
*/ |
/** @file |
* @ingroup ia32mm, am64mm |
*/ |
#ifndef __ia32_MEMORY_INIT_H__ |
#define __ia32_MEMORY_INIT_H__ |
36,3 → 43,7 |
void memory_print_map(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/mm/page.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_PAGE_H__ |
#define __ia32_PAGE_H__ |
161,3 → 167,7 |
#endif /* KERNEL */ |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/mm/asid.h |
---|
26,6 → 26,13 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32mm |
* @{ |
*/ |
/** @file |
* @ingroup ia32mm, amd64mm |
*/ |
/* |
* ia32 has no hardware support for address space identifiers. |
* This file is provided to do nop-implementation of mm/asid.h |
43,3 → 50,7 |
#define asid_put(asid) |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/mm/tlb.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_TLB_H__ |
#define __ia32_TLB_H__ |
33,3 → 39,7 |
#define tlb_print() |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/mm/as.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32mm |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_AS_H__ |
#define __ia32_AS_H__ |
43,3 → 49,7 |
extern void as_arch_init(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/context.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_CONTEXT_H__ |
#define __ia32_CONTEXT_H__ |
56,3 → 62,7 |
} __attribute__ ((packed)); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/debug.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup amd64debug |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_DEBUG_H__ |
#define __ia32_DEBUG_H__ |
34,3 → 40,7 |
#define HERE get_ip() |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/barrier.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_BARRIER_H__ |
#define __ia32_BARRIER_H__ |
79,3 → 85,7 |
#endif |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/cpu.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32cpu |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __ia32_CPU_H__ |
#define __ia32_CPU_H__ |
50,3 → 56,7 |
#define CR4_OSFXSR_MASK (1<<9) |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/drivers/i8254.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __I8254_H__ |
#define __I8254_H__ |
36,3 → 42,7 |
extern void i8254_normal_operation(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/drivers/ega.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __EGA_H__ |
#define __EGA_H__ |
37,3 → 43,7 |
extern void ega_init(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/drivers/vesa.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __VESA_H__ |
#define __VESA_H__ |
33,3 → 39,7 |
extern void vesa_init(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/drivers/i8259.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifndef __I8259_H__ |
#define __I8259_H__ |
46,3 → 52,7 |
extern void pic_eoi(void); |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/include/drivers/i8042.h |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
/** |
* This file implements ia32 specific access to i8042 registers. |
*/ |
60,3 → 66,7 |
} |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/ia32.c |
---|
26,6 → 26,13 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @ingroup others |
* @{ |
*/ |
/** @file |
*/ |
#include <arch.h> |
#include <arch/types.h> |
148,3 → 155,7 |
{ |
i8042_release(); |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/fpu_context.c |
---|
24,6 → 24,12 |
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
* |
*/ |
114,3 → 120,7 |
:"i"(0x1f80) |
); |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/cpu/cpu.c |
---|
26,6 → 26,13 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32cpu ia32 |
* @ingroup cpu |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/cpu.h> |
#include <arch/cpuid.h> |
#include <arch/pm.h> |
155,3 → 162,7 |
m->id, vendor_str[m->arch.vendor], m->arch.family, m->arch.model, m->arch.stepping, |
m->frequency_mhz); |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/bios/bios.c |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/bios/bios.h> |
#include <arch/types.h> |
36,3 → 42,7 |
/* Copy the EBDA address out from BIOS Data Area */ |
ebda = *((__u16 *) BIOS_EBDA_PTR) * 0x10; |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/pm.c |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/pm.h> |
#include <config.h> |
#include <arch/types.h> |
229,3 → 235,7 |
/* Reload gdt register to update GS in CPU */ |
gdtr_load(&cpugdtr); |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/smp/mps.c |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifdef CONFIG_SMP |
#include <config.h> |
423,3 → 429,7 |
} |
#endif /* CONFIG_SMP */ |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/smp/smp.c |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#include <smp/smp.h> |
#include <arch/smp/smp.h> |
#include <arch/smp/mps.h> |
174,3 → 180,7 |
} |
#endif /* CONFIG_SMP */ |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/smp/ipi.c |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifdef CONFIG_SMP |
#include <smp/ipi.h> |
37,3 → 43,7 |
} |
#endif /* CONFIG_SMP */ |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/smp/apic.c |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/types.h> |
#include <arch/smp/apic.h> |
#include <arch/smp/ap.h> |
570,3 → 576,7 |
} |
#endif /* CONFIG_SMP */ |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/ddi/ddi.c |
---|
26,6 → 26,13 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32ddi ia32 |
* @ingroup ddi |
* @{ |
*/ |
/** @file |
*/ |
#include <ddi/ddi.h> |
#include <arch/ddi/ddi.h> |
#include <proc/task.h> |
154,3 → 161,7 |
*/ |
CPU->arch.iomapver_copy = ver; |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/proc/scheduler.c |
---|
26,6 → 26,13 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32proc ia32 |
* @ingroup proc |
* @{ |
*/ |
/** @file |
*/ |
#include <proc/scheduler.h> |
#include <cpu.h> |
#include <proc/task.h> |
70,3 → 77,7 |
void after_thread_ran_arch(void) |
{ |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/proc/task.c |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32proc |
* @{ |
*/ |
/** @file |
*/ |
#include <proc/task.h> |
#include <arch/types.h> |
#include <adt/bitmap.h> |
50,3 → 56,7 |
if (t->arch.iomap.map) |
free(t->arch.iomap.map); |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/proc/thread.c |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32proc |
* @{ |
*/ |
/** @file |
*/ |
#include <proc/thread.h> |
/** Perform ia32 specific thread initialization. |
36,3 → 42,7 |
{ |
t->arch.tls = 0; |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/mm/tlb.c |
---|
26,6 → 26,13 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32mm |
* @{ |
*/ |
/** @file |
* @ingroup ia32mm, amd64mm |
*/ |
#include <mm/tlb.h> |
#include <arch/mm/asid.h> |
#include <arch/asm.h> |
59,3 → 66,7 |
for (i = 0; i < cnt; i++) |
invlpg(page + i * PAGE_SIZE); |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/mm/as.c |
---|
26,6 → 26,13 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32mm |
* @{ |
*/ |
/** @file |
* @ingroup ia32mm, amd64mm |
*/ |
#include <arch/mm/as.h> |
#include <genarch/mm/as_pt.h> |
34,3 → 41,7 |
{ |
as_operations = &as_pt_operations; |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/mm/frame.c |
---|
26,6 → 26,13 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32mm |
* @{ |
*/ |
/** @file |
* @ingroup ia32mm, amd64mm |
*/ |
#include <mm/frame.h> |
#include <arch/mm/frame.h> |
#include <mm/as.h> |
135,3 → 142,7 |
#endif |
} |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/mm/memory_init.c |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32mm |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/boot/memmap.h> |
#include <arch/mm/memory_init.h> |
#include <arch/mm/page.h> |
69,3 → 75,7 |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/mm/page.c |
---|
26,6 → 26,14 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32mm ia32 |
* @ingroup mm |
* @{ |
*/ |
/** @file |
* @ingroup ia32 |
*/ |
#include <arch/mm/page.h> |
#include <genarch/mm/page_pt.h> |
#include <arch/mm/frame.h> |
110,3 → 118,7 |
panic("page fault\n"); |
} |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/userspace.c |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#include <userspace.h> |
#include <arch/pm.h> |
#include <arch/types.h> |
76,3 → 82,7 |
for(;;) |
; |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/interrupt.c |
---|
26,6 → 26,13 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32interrupt ia32 |
* @ingroup interrupt |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/interrupt.h> |
#include <syscall/syscall.h> |
#include <print.h> |
198,3 → 205,7 |
trap_virtual_enable_irqs(1 << irq); |
exc_register(IVT_IRQBASE+irq, "ipc_int", ipc_int); |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/drivers/vesa.c |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#ifdef CONFIG_FB |
#include <genarch/fb/fb.h> |
63,3 → 69,7 |
} |
#endif |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/drivers/i8259.c |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/drivers/i8259.h> |
#include <cpu.h> |
#include <arch/types.h> |
124,3 → 130,7 |
printf("cpu%d: PIC spurious interrupt\n", CPU->id); |
#endif |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/drivers/i8254.c |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/types.h> |
#include <time/clock.h> |
#include <time/delay.h> |
130,3 → 136,7 |
trap_virtual_eoi(); |
clock(); |
} |
/** @} |
*/ |
/kernel/trunk/arch/ia32/src/drivers/ega.c |
---|
26,6 → 26,12 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup ia32 |
* @{ |
*/ |
/** @file |
*/ |
#include <arch/drivers/ega.h> |
#include <putchar.h> |
#include <mm/page.h> |
137,3 → 143,7 |
outb(0x3d4, 0xf); |
outb(0x3d5, ega_cursor & 0xff); |
} |
/** @} |
*/ |