Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 35661
b: refs/heads/master
c: 461a9af
h: refs/heads/master
i:
  35659: 112de4d
v: v3
  • Loading branch information
Zachary Amsden authored and Linus Torvalds committed Sep 26, 2006
1 parent f7901c3 commit 7f87bc7
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 052e79941a042e5be4feffa03b1fd60d93fb9e9a
refs/heads/master: 461a9afff5e731d6337c0f5b08a1e727ccd57e0a
5 changes: 5 additions & 0 deletions trunk/Documentation/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1363,6 +1363,11 @@ running once the system is up.

reserve= [KNL,BUGS] Force the kernel to ignore some iomem area

reservetop= [IA-32]
Format: nn[KMG]
Reserves a hole at the top of the kernel virtual
address space.

resume= [SWSUSP]
Specify the partition device for software suspend

Expand Down
18 changes: 18 additions & 0 deletions trunk/arch/i386/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -934,6 +934,24 @@ static void __init parse_cmdline_early (char ** cmdline_p)
}
}

/*
* reservetop=size reserves a hole at the top of the kernel address space which
* a hypervisor can load into later. Needed for dynamically loaded hypervisors,
* so relocating the fixmap can be done before paging initialization.
*/
static int __init parse_reservetop(char *arg)
{
unsigned long address;

if (!arg)
return -EINVAL;

address = memparse(arg, &arg);
reserve_top_address(address);
return 0;
}
early_param("reservetop", parse_reservetop);

/*
* Callback for efi_memory_walk.
*/
Expand Down

0 comments on commit 7f87bc7

Please sign in to comment.