Skip to content

Commit d9f2e75

Browse files
committed
Allow for larger than 255 byte commandline
1 parent 7bc42d2 commit d9f2e75

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Versioning information
22
#
3-
VERSION := v3.0.1
3+
VERSION := v3.0.2
44
WIMBOOT_VERSION := v2.8.0
55
SBAT_GENERATION := 1
66

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ menuentry "Boot Windows NT6+ VHD/VHDx" {
123123

124124
## Kernel parameters
125125

126+
The maximum size of the command line without the terminating zero is 4096 bytes.
126127
Boolean values can be expressed as `yes` and `no`, `true` and `false`, `on` and `off`, or `1` and `0`.
127128
Spaces in file paths should be replaced with `:`.
128129
Slashes in file paths are automatically converted to backslashes.

prefix.S

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ header:
9090

9191
.org 0x206
9292
version:
93-
.word 0x203 /* Version 2.03 */
93+
.word 0x206 /* Version 2.06 */
9494

9595
.org 0x20e
9696
kernel_version:
@@ -116,6 +116,10 @@ cmd_line_ptr:
116116
ramdisk_max:
117117
.long 0xffffffff
118118

119+
.org 0x238
120+
cmdline_size:
121+
.long 4096
122+
119123
version_string:
120124
.asciz VERSION
121125

0 commit comments

Comments
 (0)