Changeset 1787e527 in mainline for kernel/arch/ia32/src/ia32.c
- Timestamp:
- 2009-11-16T21:22:54Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5ebdf94
- Parents:
- fcbd1be (diff), 9c70ed6 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/ia32.c
rfcbd1be r1787e527 112 112 i8254_init(); 113 113 114 #if (defined(CONFIG_FB) || defined(CONFIG_EGA)) 115 bool vesa = false; 116 #endif 117 114 118 #ifdef CONFIG_FB 115 if (vesa_present()) 116 vesa_init(); 117 else 118 #endif 119 vesa = vesa_init(); 120 #endif 121 119 122 #ifdef CONFIG_EGA 120 ega_init(EGA_BASE, EGA_VIDEORAM); /* video */ 121 #else 122 {} 123 if (!vesa) { 124 outdev_t *egadev = ega_init(EGA_BASE, EGA_VIDEORAM); 125 if (egadev) 126 stdout_wire(egadev); 127 } 123 128 #endif 124 129 … … 201 206 THREAD->arch.tls = addr; 202 207 set_tls_desc(addr); 203 208 204 209 return 0; 205 }206 207 /** Acquire console back for kernel208 *209 */210 void arch_grab_console(void)211 {212 #ifdef CONFIG_FB213 if (vesa_present())214 vesa_redraw();215 else216 #endif217 #ifdef CONFIG_EGA218 ega_redraw();219 #else220 {}221 #endif222 }223 224 /** Return console to userspace225 *226 */227 void arch_release_console(void)228 {229 210 } 230 211
Note:
See TracChangeset
for help on using the changeset viewer.