Function report |
Source Code:arch\x86\kernel\e820.c |
Create Date:2022-07-28 07:43:10 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__append_e820_table
Proto:static int __init __append_e820_table(struct boot_e820_entry *entries, unsigned int nr_entries)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct boot_e820_entry * | entries | |
| unsigned int | nr_entries |
| 412 | When nr_entries cycle |
| 419 | If start > end && Value is more likely to compile time(size) Then Return -1 |
| 422 | e820__range_add(start, size, type) |
| 424 | entry++ |
| 425 | nr_entries-- |
| 427 | Return 0 |
| Name | Describe |
|---|---|
| append_e820_table | Copy the BIOS E820 map into a safe place.* Sanity-check it while we're at it..* If we're lucky and live on a modern system, the setup code* will have given us a memory map that we can use to properly* set up memory. If we aren't, we'll fake a memory map. |
| e820__memory_setup_extended | Because of the small fixed size of struct boot_params, only the first* 128 E820 memory entries are passed to the kernel via boot_params.e820_table,* the remaining (if any) entries are passed via the SETUP_E820_EXT node of |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |