WIP: Shell: improve cpuid - view full brand string #304

Draft
rgimad wants to merge 1 commits from shell-improve-cpuid into main
Owner
No description provided.
rgimad added 1 commit 2025-12-31 14:10:34 +00:00
Shell: improve cpuid - view full brand string
All checks were successful
Build system / Check kernel codestyle (pull_request) Successful in 1m21s
Build system / Build (pull_request) Successful in 16m21s
bb075099b6
rgimad requested review from Burer 2025-12-31 14:14:40 +00:00
rgimad requested review from dunkaist 2025-12-31 14:15:27 +00:00
mxlgv requested changes 2026-01-02 19:20:17 +00:00
@@ -1,170 +1,170 @@
Owner

You changed either the file encoding or its EOL format.

You changed either the file encoding or its EOL format.
Member

The original file had CFRLF eol, and some trailing whitespaces... I'd guess both are fixed automatically in vscode, etc.

@mxlgv - since the only change is whitespace, are you proposing it is excluded from the PR? -Or- a separate Commit for 'white space cleanup' ...?

The original file had `CFRLF` eol, and some trailing whitespaces... I'd guess both are fixed automatically in vscode, etc. @mxlgv - since the only change is whitespace, are you proposing it is excluded from the PR? -Or- a separate Commit for 'white space cleanup' ...?
Owner

@ace-dent Hi. I am of the opinion that the fewer changes the better). Spaces may need to be removed, but EOL should be left alone...

It can be changed to “more modern” but not specifically mixed with these changes

@ace-dent Hi. I am of the opinion that the fewer changes the better). Spaces may need to be removed, but EOL should be left alone... It can be changed to “more modern” but not specifically mixed with these changes
Sweetbread reviewed 2026-01-04 20:28:26 +00:00
@@ -28,3 +28,2 @@
sprintf(str_resolution, "%u x %u", resol.x + 1, resol.y + 1);
char str_cpu_info[16];
get_str_cpu_info(str_cpu_info);
char str_cpu_info[50];
Owner

Magic number

Magic number
@@ -66,0 +49,4 @@
memcpy(out_buffer + (leaf - 0x80000002) * 16, regs, 16);
}
out_buffer[48] = '\0';
Owner

Magic number

Magic number
@@ -66,0 +60,4 @@
}
if (!strcmp(param, "cpu")) {
char str[49];
Owner

Magic number

Magic number
Owner

As I understand it, there are problems with transferring long cpu brand strings.

As I understand it, there are problems with transferring long cpu brand strings.
mxlgv changed title from Shell: improve cpuid - view full brand string to WIP: Shell: improve cpuid - view full brand string 2026-01-28 14:33:28 +00:00
All checks were successful
Build system / Check kernel codestyle (pull_request) Successful in 1m21s
Required
Details
Build system / Build (pull_request) Successful in 16m21s
Required
Details
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin shell-improve-cpuid:shell-improve-cpuid
git checkout shell-improve-cpuid
Sign in to join this conversation.
4 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KolibriOS/kolibrios#304