> For the complete documentation index, see [llms.txt](https://pkuflyingpig.gitbook.io/pintos/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pkuflyingpig.gitbook.io/pintos/appendix/reference-guide.md).

# Code Guide

**This chapter is a reference for the Pintos code.**

* The reference guide does not cover all of the code in Pintos, but it does cover those pieces that students most often find troublesome.
* You may find that you want to read each part of the reference guide as you work on the project where it becomes important.

**Here are the sections in the chapter:**

{% content-ref url="/pages/KKjcEBddv8yOCYarCXqA" %}
[Loading](/pintos/appendix/reference-guide/loading.md)
{% endcontent-ref %}

{% content-ref url="/pages/AAch6S37wOdbW5K63Cwg" %}
[Threads](/pintos/appendix/reference-guide/threads.md)
{% endcontent-ref %}

{% content-ref url="/pages/0NsypwquzUjHNrXupEQz" %}
[Synchronization](/pintos/appendix/reference-guide/synchronization.md)
{% endcontent-ref %}

{% content-ref url="/pages/PhifUok0MuATEww2dR8T" %}
[Interrupt Handling](/pintos/appendix/reference-guide/interrupt-handling.md)
{% endcontent-ref %}

{% content-ref url="/pages/Bvo2n3vqrDhze7ED9SF1" %}
[Memory Allocation](/pintos/appendix/reference-guide/memory-allocation.md)
{% endcontent-ref %}

{% content-ref url="/pages/GfClUU8rfFJMJi0XH2Qs" %}
[Virtual Addresses](/pintos/appendix/reference-guide/virtual-addresses.md)
{% endcontent-ref %}

{% content-ref url="/pages/Lb5FKiYHcNU446GNiIGB" %}
[Page Table](/pintos/appendix/reference-guide/page-table.md)
{% endcontent-ref %}

{% content-ref url="/pages/vGgRYMZRjTd9DslV2fmz" %}
[Hash Table](/pintos/appendix/reference-guide/hash-table.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://pkuflyingpig.gitbook.io/pintos/appendix/reference-guide.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
