Skip to content

Commit

Permalink
servers: added CPU model to sysinfo message
Browse files Browse the repository at this point in the history
  • Loading branch information
jewelcodes committed Oct 6, 2024
1 parent d225f1a commit d0e96f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/include/kernel/servers.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,13 @@ typedef struct {
/* sysinfo command */
typedef struct {
MessageHeader header;
char kernel[64]; // version string
uint64_t uptime;
int maxPid, maxSockets, maxFiles;
int processes, threads;
int pageSize;
int memorySize, memoryUsage; // in pages
char kernel[64]; // version string
char cpu[64]; // CPU model
} SysInfoResponse;

/* framebuffer access command */
Expand Down

0 comments on commit d0e96f3

Please sign in to comment.