Changeset fa0dfaf in mainline for arch/amd64/include
- Timestamp:
- 2005-08-30T20:15:50Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ba18512
- Parents:
- d0c30f7
- Location:
- arch/amd64/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/amd64/include/asm.h
rd0c30f7 rfa0dfaf 33 33 #include <config.h> 34 34 35 void asm_delay_loop(__u32 t); 36 35 37 /* TODO: implement the real stuff */ 36 38 static inline __address get_stack_base(void) … … 39 41 } 40 42 43 static inline void cpu_sleep(void) { __asm__("hlt"); }; 44 41 45 #endif -
arch/amd64/include/context.h
rd0c30f7 rfa0dfaf 30 30 #define __amd64_CONTEXT_H__ 31 31 32 #include <arch/types.h> 32 #ifndef __amd64_TYPES_H__ 33 # include <arch/types.h> 34 #endif 33 35 34 #define SP_DELTA 036 #define SP_DELTA 8 35 37 36 38 struct context { 37 __u64 sp; 38 __u64 pc; 39 40 pri_t pri; 39 __u64 sp; 40 __u64 pc; 41 42 __u64 rbx; 43 __u64 rbp; 44 45 __u64 r12; 46 __u64 r13; 47 __u64 r14; 48 __u64 r15; 49 50 pri_t pri; 41 51 } __attribute__ ((packed)); 42 52 -
arch/amd64/include/types.h
rd0c30f7 rfa0dfaf 27 27 */ 28 28 29 #ifndef __ TYPES_H__30 #define __ TYPES_H__29 #ifndef __amd64_TYPES_H__ 30 #define __amd64_TYPES_H__ 31 31 32 32 #define NULL 0 … … 41 41 typedef __u64 __address; 42 42 43 typedef __u32 pri_t; 43 /* Flags of processor (return value of cpu_priority_high()) */ 44 typedef __u64 pri_t; 44 45 45 46 typedef __u64 __native;
Note:
See TracChangeset
for help on using the changeset viewer.
