# Developing the kernel

_Peios Kernel / Kernel development / Start here_

> Find build, programming, testing and maintenance guidance.

Use this section when changing the kernel or investigating its behaviour.

1. **Build and program:** start with [Building Peios](</kernel/development/start-here/building-peios.md>), then the [Build system](</kernel/development/kbuild/index.md>),
   [Kernel programming](</kernel/development/kernel-hacking/index.md>) and
   [Rust](</kernel/development/rust/index.md>) guidance.
2. **Test the change:** the [Development tools](</kernel/development/dev-tools/index.md>)
   collection includes KUnit, selftests, sanitizers and static analysis.
   [Fault injection](</kernel/development/fault-injection/index.md>) exercises error paths.
3. **Observe the result:** use [Tracing](</kernel/development/trace/index.md>) for runtime
   behaviour and [Livepatch](</kernel/development/livepatch/index.md>) for live code changes.
4. **Prepare and maintain the work:** consult the [Development process](</kernel/development/process/index.md>),
   [Maintainer guidance](</kernel/development/maintainer/index.md>) and
   [Documentation workflow](</kernel/development/doc-guide/maintaining-peios-documentation.md>).

The inherited process material describes Linux upstream contribution practices.
For work in the Peios repositories, also follow [Peios Standards and Conventions](https://learn.peios.org/psc/)
and the instructions in the repository you are changing.

## Peios build and tooling guides

- [Building Peios](</kernel/development/start-here/building-peios.md>): pinned tools,
  controlled builds, incremental builds and output artifacts.
- [Style tooling](</kernel/development/build-tools/style.md>): formatter and linter
  setup, scope and CI checks.
- [Data generators](</kernel/development/build-tools/generators.md>): event tables,
  registry seeds, Unicode tables and signing fixtures.
- [Shared Rust core tests](</kernel/development/native-subsystems/rust-tests.md>) and
  [ABI regeneration](</kernel/development/native-subsystems/abi-generation.md>).
- [KUnit](</kernel/development/native-subsystems/kunit.md>) and
  [guest qualification](</kernel/development/native-subsystems/guest-qualification.md>):
  kernel execution, logs, signed inputs and result interpretation.
