Changeset 76ca3f7 in mainline for kernel/arch/ia32/include
- Timestamp:
- 2010-03-23T20:49:54Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e417b96
- Parents:
- b48ebd19 (diff), 63f8966 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- kernel/arch/ia32/include
- Files:
-
- 22 edited
-
asm.h (modified) (1 diff)
-
atomic.h (modified) (1 diff)
-
bios/bios.h (modified) (1 diff)
-
boot/memmap.h (modified) (1 diff)
-
context.h (modified) (1 diff)
-
cpuid.h (modified) (1 diff)
-
drivers/i8254.h (modified) (1 diff)
-
drivers/i8259.h (modified) (1 diff)
-
drivers/vesa.h (modified) (1 diff)
-
faddr.h (modified) (2 diffs)
-
fpu_context.h (modified) (1 diff)
-
interrupt.h (modified) (1 diff)
-
mm/asid.h (modified) (1 diff)
-
mm/frame.h (modified) (1 diff)
-
mm/page.h (modified) (1 diff)
-
pm.h (modified) (1 diff)
-
proc/task.h (modified) (1 diff)
-
proc/thread.h (modified) (2 diffs)
-
smp/apic.h (modified) (1 diff)
-
smp/mps.h (modified) (1 diff)
-
smp/smp.h (modified) (1 diff)
-
types.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/include/asm.h
rb48ebd19 r76ca3f7 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
rb48ebd19 r76ca3f7 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
rb48ebd19 r76ca3f7 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
rb48ebd19 r76ca3f7 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
rb48ebd19 r76ca3f7 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
rb48ebd19 r76ca3f7 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
rb48ebd19 r76ca3f7 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
rb48ebd19 r76ca3f7 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
rb48ebd19 r76ca3f7 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
rb48ebd19 r76ca3f7 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) ((uintptr_t) (fptr))40 #define FADDR(fptr) ((uintptr_t) (fptr)) 41 41 42 42 #endif -
kernel/arch/ia32/include/fpu_context.h
rb48ebd19 r76ca3f7 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
rb48ebd19 r76ca3f7 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
rb48ebd19 r76ca3f7 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
rb48ebd19 r76ca3f7 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
rb48ebd19 r76ca3f7 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
rb48ebd19 r76ca3f7 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
rb48ebd19 r76ca3f7 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
rb48ebd19 r76ca3f7 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
rb48ebd19 r76ca3f7 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
rb48ebd19 r76ca3f7 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
rb48ebd19 r76ca3f7 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
rb48ebd19 r76ca3f7 27 27 */ 28 28 29 /** @addtogroup ia32 29 /** @addtogroup ia32 30 30 * @{ 31 31 */ … … 35 35 #ifndef KERN_ia32_TYPES_H_ 36 36 #define KERN_ia32_TYPES_H_ 37 38 typedef signed char int8_t;39 typedef signed short int16_t;40 typedef signed long int32_t;41 typedef signed long long int64_t;42 43 typedef unsigned char uint8_t;44 typedef unsigned short uint16_t;45 typedef unsigned long uint32_t;46 typedef unsigned long long uint64_t;47 37 48 38 typedef uint32_t size_t; … … 60 50 } fncptr_t; 61 51 62 #define PRIp "x" /**< Format for uintptr_t. */63 #define PRIs "u" /**< Format for size_t. */52 #define PRIp "x" /**< Format for uintptr_t. */ 53 #define PRIs "u" /**< Format for size_t. */ 64 54 65 #define PRId8 "d" /**< Format for int8_t. */66 #define PRId16 "d" /**< Format for int16_t. */67 #define PRId32 "d" /**< Format for int32_t. */68 #define PRId64 "lld" /**< Format for int64_t. */69 #define PRIdn "d" /**< Format for native_t. */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. */ 70 60 71 #define PRIu8 "u" /**< Format for uint8_t. */72 #define PRIu16 "u" /**< Format for uint16_t. */73 #define PRIu32 "u" /**< Format for uint32_t. */74 #define PRIu64 "llu" /**< Format for uint64_t. */75 #define PRIun "u" /**< Format for unative_t. */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. */ 76 66 77 #define PRIx8 "x" /**< Format for hexadecimal (u)int8_t. */78 #define PRIx16 "x" /**< Format for hexadecimal (u)int16_t. */79 #define PRIx32 "x" /**< Format for hexadecimal (u)uint32_t. */80 #define PRIx64 "llx" /**< Format for hexadecimal (u)int64_t. */81 #define PRIxn "x" /**< Format for hexadecimal (u)native_t. */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. */ 82 72 83 73 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
