Changeset aa8d0f7 in mainline
- Timestamp:
- 2008-11-11T22:39:21Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1025d28
- Parents:
- ff3b7da7
- Location:
- kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/kbd/ns16550.c
rff3b7da7 raa8d0f7 137 137 #ifdef ia64 138 138 uint8_t c; 139 c =ns16550_lcr_read(&ns16550);140 ns16550_lcr_write(&ns16550, 0x80|c);141 ns16550_rbr_write(&ns16550, 0x0c);142 ns16550_ier_write(&ns16550, 0x00);143 ns16550_lcr_write(&ns16550, c);139 c = ns16550_lcr_read(&ns16550); 140 ns16550_lcr_write(&ns16550, 0x80 | c); 141 ns16550_rbr_write(&ns16550, 0x0c); 142 ns16550_ier_write(&ns16550, 0x00); 143 ns16550_lcr_write(&ns16550, c); 144 144 #endif 145 145 … … 184 184 } 185 185 #else 186 extern chardev_t kbrd;187 if(x!=0x0d)188 {189 if(x==0x7f) x='\b';190 chardev_push_character(&kbrd,x);191 }186 extern chardev_t kbrd; 187 if(x != 0x0d) { 188 if(x == 0x7f) 189 x = '\b'; 190 chardev_push_character(&kbrd, x); 191 } 192 192 #endif 193 193 … … 234 234 } 235 235 #else 236 extern chardev_t kbrd;237 if(x!=0x0d)238 {239 if(x==0x7f) x='\b';240 chardev_push_character(&kbrd,x);241 }236 extern chardev_t kbrd; 237 if(x != 0x0d) { 238 if (x == 0x7f) 239 x = '\b'; 240 chardev_push_character(&kbrd, x); 241 } 242 242 #endif 243 243 -
kernel/generic/src/proc/thread.c
rff3b7da7 raa8d0f7 296 296 if (!t) 297 297 return NULL; 298 298 299 /* Not needed, but good for debugging */ 299 300 memsetb(t->kstack, THREAD_STACK_SIZE * 1 << STACK_FRAMES, 0);
Note:
See TracChangeset
for help on using the changeset viewer.