Changeset 6da1013f in mainline for kernel/arch/amd64/src
- Timestamp:
- 2009-02-12T20:09:19Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 84266669
- Parents:
- 7004747
- Location:
- kernel/arch/amd64/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/amd64.c
r7004747 r6da1013f 227 227 } 228 228 229 /** Construct function pointer 230 * 231 * @param fptr function pointer structure 232 * @param addr function address 233 * @param caller calling function address 234 * 235 * @return address of the function pointer 236 * 237 */ 238 void *arch_construct_function(fncptr_t *fptr, void *addr, void *caller) 239 { 240 return addr; 241 } 242 229 243 /** @} 230 244 */ -
kernel/arch/amd64/src/debugger.c
r7004747 r6da1013f 205 205 /* Send IPI */ 206 206 #ifdef CONFIG_SMP 207 // ipi_broadcast(VECTOR_DEBUG_IPI); 207 // ipi_broadcast(VECTOR_DEBUG_IPI); 208 208 #endif 209 209 … … 211 211 } 212 212 213 #ifdef amd64214 # define getip(x)((x)->rip)213 #ifdef __64_BITS__ 214 #define getip(x) ((x)->rip) 215 215 #else 216 # define getip(x)((x)->eip)216 #define getip(x) ((x)->eip) 217 217 #endif 218 218 … … 277 277 278 278 /* Set RF to restart the instruction */ 279 #ifdef amd64279 #ifdef __64_BITS__ 280 280 istate->rflags |= RFLAGS_RF; 281 281 #else … … 349 349 char *symbol; 350 350 351 #ifdef __32_BITS__ 351 #ifdef __32_BITS__ 352 352 printf("# Count Address In symbol\n"); 353 353 printf("-- ----- ---------- ---------\n"); -
kernel/arch/amd64/src/interrupt.c
r7004747 r6da1013f 143 143 static void nm_fault(int n, istate_t *istate) 144 144 { 145 #ifdef CONFIG_FPU_LAZY 145 #ifdef CONFIG_FPU_LAZY 146 146 scheduler_fpu_lazy_request(); 147 147 #else
Note:
See TracChangeset
for help on using the changeset viewer.