Changeset d99c1d2 in mainline for kernel/arch/ia32
- Timestamp:
- 2010-03-23T14:41:06Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1b1164e8
- Parents:
- 7c682dd1
- Location:
- kernel/arch/ia32
- Files:
-
- 38 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/include/asm.h
r7c682dd1 rd99c1d2 38 38 39 39 #include <arch/pm.h> 40 #include <arch/types.h>41 40 #include <typedefs.h> 42 41 #include <config.h> -
kernel/arch/ia32/include/atomic.h
r7c682dd1 rd99c1d2 36 36 #define KERN_ia32_ATOMIC_H_ 37 37 38 #include < arch/types.h>38 #include <typedefs.h> 39 39 #include <arch/barrier.h> 40 40 #include <preemption.h> -
kernel/arch/ia32/include/bios/bios.h
r7c682dd1 rd99c1d2 36 36 #define KERN_ia32_BIOS_H_ 37 37 38 #include < arch/types.h>38 #include <typedefs.h> 39 39 40 40 #define BIOS_EBDA_PTR 0x40e -
kernel/arch/ia32/include/boot/memmap.h
r7c682dd1 rd99c1d2 61 61 #ifndef __ASM__ 62 62 63 #include < arch/types.h>63 #include <typedefs.h> 64 64 65 65 typedef struct { -
kernel/arch/ia32/include/context.h
r7c682dd1 rd99c1d2 37 37 38 38 #ifdef KERNEL 39 #include <arch/types.h> 39 40 #include <typedefs.h> 40 41 41 42 #define STACK_ITEM_SIZE 4 -
kernel/arch/ia32/include/cpuid.h
r7c682dd1 rd99c1d2 43 43 #ifndef __ASM__ 44 44 45 #include < arch/types.h>45 #include <typedefs.h> 46 46 47 47 typedef struct { -
kernel/arch/ia32/include/drivers/i8254.h
r7c682dd1 rd99c1d2 36 36 #define KERN_ia32_I8254_H_ 37 37 38 #include <arch/types.h>39 40 38 extern void i8254_init(void); 41 39 extern void i8254_calibrate_delay_loop(void); -
kernel/arch/ia32/include/drivers/i8259.h
r7c682dd1 rd99c1d2 36 36 #define KERN_ia32_I8259_H_ 37 37 38 #include < arch/types.h>38 #include <typedefs.h> 39 39 #include <arch/interrupt.h> 40 40 -
kernel/arch/ia32/include/drivers/vesa.h
r7c682dd1 rd99c1d2 36 36 #define KERN_ia32_VESA_H_ 37 37 38 #include < arch/types.h>38 #include <typedefs.h> 39 39 40 40 extern bool vesa_init(void); -
kernel/arch/ia32/include/faddr.h
r7c682dd1 rd99c1d2 27 27 */ 28 28 29 /** @addtogroup ia32 29 /** @addtogroup ia32 30 30 * @{ 31 31 */ … … 36 36 #define KERN_ia32_FADDR_H_ 37 37 38 #include < arch/types.h>38 #include <typedefs.h> 39 39 40 #define FADDR(fptr) 40 #define FADDR(fptr) ((uintptr_t) (fptr)) 41 41 42 42 #endif -
kernel/arch/ia32/include/fpu_context.h
r7c682dd1 rd99c1d2 36 36 #define KERN_ia32_FPU_CONTEXT_H_ 37 37 38 #include < arch/types.h>38 #include <typedefs.h> 39 39 40 40 #define FPU_CONTEXT_ALIGN 16 -
kernel/arch/ia32/include/interrupt.h
r7c682dd1 rd99c1d2 36 36 #define KERN_ia32_INTERRUPT_H_ 37 37 38 #include < arch/types.h>38 #include <typedefs.h> 39 39 #include <arch/pm.h> 40 40 -
kernel/arch/ia32/include/mm/asid.h
r7c682dd1 rd99c1d2 43 43 #define KERN_ia32_ASID_H_ 44 44 45 #include < arch/types.h>45 #include <typedefs.h> 46 46 47 47 typedef int32_t asid_t; -
kernel/arch/ia32/include/mm/frame.h
r7c682dd1 rd99c1d2 42 42 #ifndef __ASM__ 43 43 44 #include < arch/types.h>44 #include <typedefs.h> 45 45 46 46 extern uintptr_t last_frame; -
kernel/arch/ia32/include/mm/page.h
r7c682dd1 rd99c1d2 127 127 #include <mm/mm.h> 128 128 #include <arch/interrupt.h> 129 #include <arch/types.h>130 129 #include <typedefs.h> 131 130 -
kernel/arch/ia32/include/pm.h
r7c682dd1 rd99c1d2 80 80 #ifndef __ASM__ 81 81 82 #include < arch/types.h>82 #include <typedefs.h> 83 83 #include <arch/context.h> 84 84 -
kernel/arch/ia32/include/proc/task.h
r7c682dd1 rd99c1d2 36 36 #define KERN_ia32_TASK_H_ 37 37 38 #include < arch/types.h>38 #include <typedefs.h> 39 39 #include <adt/bitmap.h> 40 40 -
kernel/arch/ia32/include/proc/thread.h
r7c682dd1 rd99c1d2 36 36 #define KERN_ia32_THREAD_H_ 37 37 38 #include < arch/types.h>38 #include <typedefs.h> 39 39 40 40 typedef struct { … … 42 42 } thread_arch_t; 43 43 44 #define thr_constructor_arch(t )45 #define thr_destructor_arch(t )44 #define thr_constructor_arch(thr) 45 #define thr_destructor_arch(thr) 46 46 47 47 #endif -
kernel/arch/ia32/include/smp/apic.h
r7c682dd1 rd99c1d2 36 36 #define KERN_ia32_APIC_H_ 37 37 38 #include < arch/types.h>38 #include <typedefs.h> 39 39 #include <cpu.h> 40 40 -
kernel/arch/ia32/include/smp/mps.h
r7c682dd1 rd99c1d2 36 36 #define KERN_ia32_MPS_H_ 37 37 38 #include < arch/types.h>38 #include <typedefs.h> 39 39 #include <synch/waitq.h> 40 40 #include <config.h> -
kernel/arch/ia32/include/smp/smp.h
r7c682dd1 rd99c1d2 36 36 #define KERN_ia32_SMP_H_ 37 37 38 #include < arch/types.h>38 #include <typedefs.h> 39 39 40 40 /** SMP config opertaions interface. */ -
kernel/arch/ia32/include/types.h
r7c682dd1 rd99c1d2 36 36 #define KERN_ia32_TYPES_H_ 37 37 38 #include <arch/common.h>39 40 38 typedef uint32_t size_t; 41 39 … … 52 50 } fncptr_t; 53 51 54 #define PRIp "x" 55 #define PRIs "u" 52 #define PRIp "x" /**< Format for uintptr_t. */ 53 #define PRIs "u" /**< Format for size_t. */ 56 54 57 #define PRId8 "d" 58 #define PRId16 "d" 59 #define PRId32 "d" 60 #define PRId64 "lld" 61 #define PRIdn "d" 55 #define PRId8 "d" /**< Format for int8_t. */ 56 #define PRId16 "d" /**< Format for int16_t. */ 57 #define PRId32 "d" /**< Format for int32_t. */ 58 #define PRId64 "lld" /**< Format for int64_t. */ 59 #define PRIdn "d" /**< Format for native_t. */ 62 60 63 #define PRIu8 "u" 64 #define PRIu16 "u" 65 #define PRIu32 "u" 66 #define PRIu64 "llu" 67 #define PRIun "u" 61 #define PRIu8 "u" /**< Format for uint8_t. */ 62 #define PRIu16 "u" /**< Format for uint16_t. */ 63 #define PRIu32 "u" /**< Format for uint32_t. */ 64 #define PRIu64 "llu" /**< Format for uint64_t. */ 65 #define PRIun "u" /**< Format for unative_t. */ 68 66 69 #define PRIx8 "x" 70 #define PRIx16 "x" 71 #define PRIx32 "x" 72 #define PRIx64 "llx" 73 #define PRIxn "x" 67 #define PRIx8 "x" /**< Format for hexadecimal (u)int8_t. */ 68 #define PRIx16 "x" /**< Format for hexadecimal (u)int16_t. */ 69 #define PRIx32 "x" /**< Format for hexadecimal (u)uint32_t. */ 70 #define PRIx64 "llx" /**< Format for hexadecimal (u)int64_t. */ 71 #define PRIxn "x" /**< Format for hexadecimal (u)native_t. */ 74 72 75 73 #endif -
kernel/arch/ia32/src/bios/bios.c
r7c682dd1 rd99c1d2 34 34 35 35 #include <arch/bios/bios.h> 36 #include < arch/types.h>36 #include <typedefs.h> 37 37 38 38 uintptr_t ebda = 0; -
kernel/arch/ia32/src/cpu/cpu.c
r7c682dd1 rd99c1d2 38 38 39 39 #include <arch.h> 40 #include < arch/types.h>40 #include <typedefs.h> 41 41 #include <print.h> 42 42 #include <fpu_context.h> -
kernel/arch/ia32/src/ddi/ddi.c
r7c682dd1 rd99c1d2 36 36 #include <arch/ddi/ddi.h> 37 37 #include <proc/task.h> 38 #include < arch/types.h>38 #include <typedefs.h> 39 39 #include <adt/bitmap.h> 40 40 #include <mm/slab.h> -
kernel/arch/ia32/src/debug/stacktrace.c
r7c682dd1 rd99c1d2 35 35 #include <stacktrace.h> 36 36 #include <syscall/copy.h> 37 #include <arch/types.h>38 37 #include <typedefs.h> 39 38 -
kernel/arch/ia32/src/drivers/i8254.c
r7c682dd1 rd99c1d2 37 37 */ 38 38 39 #include < arch/types.h>39 #include <typedefs.h> 40 40 #include <time/clock.h> 41 41 #include <time/delay.h> -
kernel/arch/ia32/src/drivers/i8259.c
r7c682dd1 rd99c1d2 39 39 #include <arch/drivers/i8259.h> 40 40 #include <cpu.h> 41 #include < arch/types.h>41 #include <typedefs.h> 42 42 #include <arch/asm.h> 43 43 #include <arch.h> -
kernel/arch/ia32/src/drivers/vesa.c
r7c682dd1 rd99c1d2 49 49 #include <synch/spinlock.h> 50 50 #include <arch/asm.h> 51 #include < arch/types.h>51 #include <typedefs.h> 52 52 #include <memstr.h> 53 53 #include <bitops.h> -
kernel/arch/ia32/src/ia32.c
r7c682dd1 rd99c1d2 37 37 #include <arch.h> 38 38 39 #include < arch/types.h>39 #include <typedefs.h> 40 40 41 41 #include <arch/pm.h> -
kernel/arch/ia32/src/mm/page.c
r7c682dd1 rd99c1d2 39 39 #include <mm/page.h> 40 40 #include <mm/as.h> 41 #include < arch/types.h>41 #include <typedefs.h> 42 42 #include <align.h> 43 43 #include <config.h> -
kernel/arch/ia32/src/mm/tlb.c
r7c682dd1 rd99c1d2 37 37 #include <arch/mm/asid.h> 38 38 #include <arch/asm.h> 39 #include < arch/types.h>39 #include <typedefs.h> 40 40 41 41 /** Invalidate all entries in TLB. */ -
kernel/arch/ia32/src/pm.c
r7c682dd1 rd99c1d2 35 35 #include <arch/pm.h> 36 36 #include <config.h> 37 #include < arch/types.h>37 #include <typedefs.h> 38 38 #include <arch/interrupt.h> 39 39 #include <arch/asm.h> -
kernel/arch/ia32/src/proc/task.c
r7c682dd1 rd99c1d2 34 34 35 35 #include <proc/task.h> 36 #include < arch/types.h>36 #include <typedefs.h> 37 37 #include <adt/bitmap.h> 38 38 #include <mm/slab.h> -
kernel/arch/ia32/src/smp/apic.c
r7c682dd1 rd99c1d2 33 33 */ 34 34 35 #include < arch/types.h>35 #include <typedefs.h> 36 36 #include <arch/smp/apic.h> 37 37 #include <arch/smp/ap.h> -
kernel/arch/ia32/src/smp/mps.c
r7c682dd1 rd99c1d2 42 42 #include <arch/smp/smp.h> 43 43 #include <func.h> 44 #include < arch/types.h>44 #include <typedefs.h> 45 45 #include <cpu.h> 46 46 #include <arch/asm.h> -
kernel/arch/ia32/src/syscall.c
r7c682dd1 rd99c1d2 27 27 */ 28 28 29 /** @addtogroup ia32 29 /** @addtogroup ia32 30 30 * @{ 31 31 */ … … 36 36 #include <arch/cpu.h> 37 37 #include <arch/asm.h> 38 #include < arch/types.h>38 #include <typedefs.h> 39 39 #include <arch/pm.h> 40 40 -
kernel/arch/ia32/src/userspace.c
r7c682dd1 rd99c1d2 35 35 #include <userspace.h> 36 36 #include <arch/pm.h> 37 #include < arch/types.h>37 #include <typedefs.h> 38 38 #include <arch.h> 39 39 #include <proc/uarg.h>
Note:
See TracChangeset
for help on using the changeset viewer.