Changeset 6da1013f in mainline for kernel/arch/ia64/src/ia64.c
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia64/src/ia64.c
r7004747 r6da1013f 133 133 #ifdef SKI 134 134 ski_init_console(); 135 #else 135 #else 136 136 ega_init(EGA_BASE, EGA_VIDEORAM); 137 #endif 137 #endif 138 138 } 139 139 it_init(); … … 266 266 #ifdef SKI 267 267 ski_kbd_release(); 268 #else 268 #else 269 269 #ifdef CONFIG_NS16550 270 270 ns16550_release(); 271 #else 271 #else 272 272 i8042_release(); 273 #endif 273 #endif 274 274 #endif 275 275 } … … 282 282 } 283 283 284 /** Construct function pointer 285 * 286 * @param fptr function pointer structure 287 * @param addr function address 288 * @param caller calling function address 289 * 290 * @return address of the function pointer 291 * 292 */ 293 void *arch_construct_function(fncptr_t *fptr, void *addr, void *caller) 294 { 295 fptr->fnc = (unative_t) addr; 296 fptr->gp = ((unative_t *) caller)[1]; 297 298 return (void *) fptr; 299 } 300 284 301 /** @} 285 302 */
Note:
See TracChangeset
for help on using the changeset viewer.