1
0
mirror of https://github.com/0xAX/linux-insides.git synced 2024-12-22 14:48:08 +00:00

Merge pull request #267 from ruthgrace/bootstrap_3_kernel_data_types

fixed grammar in linux-bootstrap-3.md, Kernel data types section
This commit is contained in:
0xAX 2015-10-21 13:09:57 +06:00
commit f7c3c9e35d

View File

@ -46,14 +46,14 @@ which will ask to select a video mode. We will look at its implementation, but b
Kernel data types
--------------------------------------------------------------------------------
Earlier we saw definitions of different data types like `u16` etc. in the kernel setup code. Let's look on a couple of data types provided by the kernel:
Earlier we saw definitions of different data types like `u16` etc. in the kernel setup code. Let's look at a couple of data types provided by the kernel:
| Type | char | short | int | long | u8 | u16 | u32 | u64 |
|------|------|-------|-----|------|----|-----|-----|-----|
| Size | 1 | 2 | 4 | 8 | 1 | 2 | 4 | 8 |
If you read source code of the kernel, you'll see these very often and so it will be good to remember them.
If you the read source code of the kernel, you'll see these very often and so it will be good to remember them.
Heap API
--------------------------------------------------------------------------------