Skip to content

Kernel#20

Merged
Poprdi merged 12 commits into
masterfrom
kernel
Mar 12, 2026
Merged

Kernel#20
Poprdi merged 12 commits into
masterfrom
kernel

Conversation

@Poprdi
Copy link
Copy Markdown
Owner

@Poprdi Poprdi commented Mar 12, 2026

No description provided.

adrerl and others added 12 commits March 11, 2026 08:29
- Added per-CPU reboot ownership tracking in per_cpu.rs
- Enhanced reset_machine_now function to respect reboot ownership
- Introduced shutdown handlers for PCI bus mastering and display ownership release
- Created prepare handlers for shutdown processes
- Updated syscall handlers to integrate new shutdown functionality
- Registered built-in shutdown handlers in mod.rs
- Added support for activating networking from userspace via the `netup` command.
- Introduced `MouseSpatialMsg` and `MouseZRouteMsg` for improved mouse input handling.
- Enhanced `CompState` to manage mouse state and routing more effectively.
- Updated `hwinit` to register a network activation callback, allowing the kernel to remain offline by default.
- Modified various chambers in the settings to support new networking features and improve user experience.
- Improved error handling and user feedback for network activation and configuration.
- Updated the sys_net_cfg function to provide more specific error codes for network activation failures.
- Enhanced the VirtioNetDriver initialization to prefer PCI modern transport, falling back to legacy MMIO if necessary.
- Modified embedded relocation data to reflect updated values and sizes.
- Refactored net_obs.rs to introduce a mode selector for DHCP and static IP configurations, improving user interaction.
- Added detailed logging for DHCP requests and network activation status in the shell commands.
- Improved error handling and user feedback in the networking settings and commands.
- Added `stack_available` field to `NetObsChamber` to track network stack status.
- Improved DHCP request handling in `run_dhcp_request` function, including better error handling for NIC registration.
- Refactored DHCP request logic in `activate` and `apply` functions to use the new `run_dhcp_request` function.
- Introduced new network activation module in the bootloader, including functions for network configuration, TCP, and UDP operations.
- Implemented user-space network activation with probing for NIC drivers and registering network stack operations.
- Added functions for managing TCP and UDP sockets, including sending, receiving, and DNS query handling.
- Enhanced state management for network operations, including dynamic allocation of socket handles and DNS queries.
- Updated mouse input handling in `state.rs` to detect button changes more accurately.
- Update `NetObsChamber` to prevent clobbering in-progress typing during periodic refresh.
- Prefer NIC hardware counters when available for network statistics.
- Enhance `SettingsApp` initialization to sync global settings.
- Introduce network mode selection in `setup-dev.sh` with support for bridge and user NAT modes.
- Implement bridge ACL checks and helper availability in `setup-dev.sh`.
- Add `netcheck` application for network diagnostics, including DHCP lease acquisition and DNS resolution.
- Refactor appearance management in `shelld` to use a shared `DesktopAppearance` struct for consistent theming.
- Update various islands in `shelld` to utilize dynamic color settings from `ShellState`.
- Introduce persistence for desktop appearance settings in `libmorpheus`.
@Poprdi Poprdi merged commit ce6d6ca into master Mar 12, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant