Skip to content
This repository was archived by the owner on Jan 14, 2026. It is now read-only.

Commit 9214a89

Browse files
committed
upd config.h
1 parent e70cff9 commit 9214a89

36 files changed

Lines changed: 38 additions & 38 deletions

docs/config.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
この章では、設定ファイルについて記述します。
2-
実装されているファイルは[config.h](../../src/include/config.h)です。
2+
実装されているファイルは[util/config.h](../../src/include/util/config.h)です。
33

44
## 概要
5-
config.hは、カーネル全体で使用されるグローバル設定と定数を定義するヘッダファイルです。バージョン情報、メモリレイアウト、VGA設定などが含まれます。
5+
util/config.hは、カーネル全体で使用されるグローバル設定と定数を定義するヘッダファイルです。バージョン情報、メモリレイアウト、VGA設定などが含まれます。
66

77
## 定数 / 定義
88

@@ -22,10 +22,10 @@ config.hは、カーネル全体で使用されるグローバル設定と定数
2222

2323
## 使用方法
2424

25-
すべてのソースファイルの先頭で`#include <config.h>`をインクルードすることで、これらの設定にアクセスできます。
25+
すべてのソースファイルの先頭で`#include <util/config.h>`をインクルードすることで、これらの設定にアクセスできます。
2626

2727
```c
28-
#include <config.h>
28+
#include <util/config.h>
2929

3030
void some_function() {
3131
uint8_t *video = (uint8_t *)VIDEO_MEMORY;

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ LiteCoreカーネルのドキュメントの目次
44

55
### カーネルコア
66
- [カーネルメイン関数とエントリポイント](./kernel/main)
7-
- [設定ファイル (config.h)](./config)
7+
- [設定ファイル (util/config.h)](./config)
88

99
### メモリ管理
1010
- [メモリ管理概要](./memory)

docs/tests/tests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ All tests completed!
9898
### テスト関数の形式
9999

100100
```c
101-
#include <config.h>
101+
#include <util/config.h>
102102
#include <tests/define.h>
103103
#include <util/console.h>
104104

src/include/device/acpi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef _DEVICE_ACPI_H
22
#define _DEVICE_ACPI_H
33

4-
#include <config.h>
4+
#include <util/config.h>
55
#include <stdint.h>
66

77
/**

src/include/driver/timer/apic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef _DRIVER_TIMER_APIC_H
22
#define _DRIVER_TIMER_APIC_H
33

4-
#include <config.h>
4+
#include <util/config.h>
55
#include <stdint.h>
66

77
/* APIC レジスタのベースアドレス (デフォルト) */

src/include/driver/timer/timer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef _TIMER_H
22
#define _TIMER_H
33

4-
#include <config.h>
4+
#include <util/config.h>
55

66
int kwait(uint32_t us);
77

src/include/interrupt/irq.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef _INTERRUPT_IRQ_H
22
#define _INTERRUPT_IRQ_H
33

4-
#include <config.h>
4+
#include <util/config.h>
55

66
uint32_t irq_save(void);
77
void irq_restore(uint32_t flags);

src/include/mem/manager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef _MEM_MANAGER_H
22
#define _MEM_MANAGER_H
33

4-
#include <config.h>
4+
#include <util/config.h>
55

66
/**
77
* @enum mem_type

src/include/mem/map.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef _MEM_MAP_H
22
#define _MEM_MAP_H
33

4-
#include <config.h>
4+
#include <util/config.h>
55

66
// 4KB
77
#define FRAME_SIZE 4096

src/include/sync/spinlock.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef _SYNC_SPINLOCK_H
22
#define _SYNC_SPINLOCK_H
33

4-
#include <config.h>
4+
#include <util/config.h>
55
#include <stdint.h>
66

77
typedef struct spinlock {

0 commit comments

Comments
 (0)