Commit graph

7 commits

Author SHA1 Message Date
Abdelkader Boudih
127eb3863c refactor: adopt current style(9) license header order (copyright before SPDX)
Update all example sources, man pages, and chapter code blocks to the
current FreeBSD header convention: plain /* opening, copyright lines
first, SPDX-License-Identifier after them. Add missing headers to
ch21/ch22 example files and missing copyright lines in ch08/ch16/ch36.
Rewrite chapter 37 prose (en, pt_BR, es_ES, zh_CN) and the submission
checklist, which previously taught the /*- marker and SPDX-first order.
2026-08-26 02:32:55 +01:00
Le Baron de Charlus
6e8bac9f5c
Change command prompt from '#' to '%'
Updated the command format for cloning FreeBSD source code.
2026-07-13 10:16:47 +02:00
LeBaronDeCharlus
af44b276c2 Fixing git command leading to an error and adjust commands where sudo
was not present.

git clone --branch releng/15.0 --depth 1 https://git.FreeBSD.org/src.git src /usr/src
fatal: Too many arguments.

to

sudo git clone --branch releng/15.0 --depth 1 https://git.FreeBSD.org/src.git /usr/src
2026-07-09 14:11:53 +02:00
Kidd Lee
4e0b53ccb0
chapter-04: add the missing S of SYSCTL_INT
Signed-off-by: Kidd Lee <LeeXiaolan@gmail.com>
2026-06-05 22:25:03 +08:00
Edson Brandi
526a42cec4 feat(i18n): add initial AI-generated Spanish translation
Introduce a preliminary Spanish version of the book, translated
with AI assistance using the qwen3.6:35b-a3b-bf16 model.

Note: This content has not been fully human-reviewed and may
contain errors or inconsistencies. The English version remains
the primary source of truth.

Update: scripts/book-build.sh to generate pt_BR and es_ES files

fix(docs): correct typo in chapter 6 crashing PDF workflow
2026-04-24 23:02:00 +00:00
Edson Brandi
e4d0735183 Add Brazilian Portuguese translation generated with qwen3.6:35b-a3b-bf16
Introduce an initial Brazilian Portuguese version of the book, translated
with AI assistance using the qwen3.6:35b-a3b-bf16 model.

This translated content has not yet been fully reviewed and may still contain
translation errors, terminology inconsistencies, or passages that sound
unnatural in Portuguese. If any part of the translation is unclear or seems
incorrect, readers should refer to the original English version as the source
of truth.
2026-04-23 20:05:09 +00:00
Edson Brandi
539ef021f8 feat: Initial upload of FreeBSD Device Drivers Book structure
This commit establishes the complete foundation for the FreeBSD Device Drivers Book project.

## 📚 Book Structure
- **7 Parts** covering the complete driver development journey
- **38 Chapters** with detailed metadata and placeholders
- **5 Appendices** for reference materials
- **Portuguese (Brazil) translation** structure ready

## 🗂️ Directory Organization
-  - Main book content with chapters and appendices
-  - Source code examples with comprehensive README
-  - Utility scripts for content management
-  - Multi-language support structure

## 🛠️ Key Features Added
- **Content Management Scripts**:
  -  - Sync content to website directory
  -  - Set up new language translations
- **Examples Documentation** - Complete README with build instructions
- **Translation Infrastructure** - Ready for multiple languages

## 📖 Content Overview
- **Part 1**: Foundations (FreeBSD, C, Kernel basics)
- **Part 2**: Basic Driver Development
- **Part 3**: Concurrency and Synchronization
- **Part 4**: Hardware and Platform Integration
- **Part 5**: Debugging, Tools, and Real-World Practices
- **Part 6**: Transport-Specific Drivers
- **Part 7**: Mastery Topics and Edge Cases
2025-08-04 09:14:49 -03:00