mirror of
https://github.com/0xAX/linux-insides.git
synced 2024-12-22 22:58:08 +00:00
fix wrong capital
This commit is contained in:
parent
0adc50e635
commit
921be703d2
@ -237,7 +237,7 @@ if (cmdline_find_option_bool("debug"))
|
|||||||
puts("early console in setup code\n");
|
puts("early console in setup code\n");
|
||||||
```
|
```
|
||||||
|
|
||||||
The definition of `puts` is in [tty.c](https://github.com/torvalds/linux/blob/master/arch/x86/boot/tty.c). As we can see it prints character by character in a loop by calling The `putchar` function. Let's look into the `putchar` implementation:
|
The definition of `puts` is in [tty.c](https://github.com/torvalds/linux/blob/master/arch/x86/boot/tty.c). As we can see it prints character by character in a loop by calling the `putchar` function. Let's look into the `putchar` implementation:
|
||||||
|
|
||||||
```C
|
```C
|
||||||
void __attribute__((section(".inittext"))) putchar(int ch)
|
void __attribute__((section(".inittext"))) putchar(int ch)
|
||||||
|
Loading…
Reference in New Issue
Block a user