Philipp Oppermann
18ec73ebf0
Merge branch 'post-05' into post-06
2025-09-03 17:58:33 +02:00
Philipp Oppermann
d788a21b40
Merge branch 'post-04' into post-05
2025-09-03 17:58:33 +02:00
Philipp Oppermann
bb5899e437
Merge branch 'post-03' into post-04
2025-09-03 17:58:33 +02:00
Philipp Oppermann
93d0daa1e0
Merge branch 'post-02' into post-03
2025-09-03 17:58:28 +02:00
Philipp Oppermann
83e6c0bc00
Merge pull request #1436 from phil-opp/post-02-fix-target
...
Fix: `target-pointer-width` field now expects an integer
2025-09-03 17:56:38 +02:00
Philipp Oppermann
2b11ad8397
Fix: target-pointer-width field now expects an integer
2025-09-03 17:53:14 +02:00
Philipp Oppermann
fa51f3adbf
Update to latest bootloader version
2025-09-03 17:52:56 +02:00
Philipp Oppermann
aaaa58d1ab
Merge branch 'post-05' into post-06
2025-08-26 16:41:45 +02:00
Philipp Oppermann
0b61e748fb
Merge branch 'post-04' into post-05
2025-08-26 16:41:45 +02:00
Philipp Oppermann
ceb91f955a
Merge pull request #1434 from phil-opp/post-04-test-true
...
Set `test=true` to enable `main.rs` testing again
2025-08-26 16:41:21 +02:00
Philipp Oppermann
3340babf51
Set test=true to enable main.rs testing again
...
We set `test=false` for previous posts in https://github.com/phil-opp/blog_os/pull/1412 to avoid errors e.g. in rust-analyzer. For this testing post, we want to set it back to `true`.
2025-08-26 16:21:28 +02:00
Philipp Oppermann
86352f9b8f
Merge branch 'post-05' into post-06
2025-08-18 09:44:29 +02:00
Philipp Oppermann
a862287880
Merge branch 'post-04' into post-05
2025-08-18 09:44:29 +02:00
Philipp Oppermann
37a0ae0097
Run cargo update
2025-08-18 09:44:27 +02:00
Philipp Oppermann
6fc9fbfb7d
Merge branch 'post-03' into post-04
2025-08-18 09:44:16 +02:00
Philipp Oppermann
1f097bba71
Run cargo update
2025-08-18 09:43:39 +02:00
Philipp Oppermann
99fbbad9b0
Merge branch 'post-02' into post-03
2025-08-18 09:43:25 +02:00
Philipp Oppermann
94d14d8d62
Run cargo update for bootloader crate
2025-08-18 09:42:41 +02:00
Philipp Oppermann
f4c35f7091
Merge branch 'post-05' into post-06
2025-08-07 13:09:45 +02:00
Philipp Oppermann
d46aef945f
Merge branch 'post-04' into post-05
2025-08-07 13:09:45 +02:00
Philipp Oppermann
ebfc7c5f7e
Merge branch 'post-03' into post-04
2025-08-07 13:09:45 +02:00
Philipp Oppermann
6f0be666f3
Merge branch 'post-02' into post-03
2025-08-07 13:09:45 +02:00
Philipp Oppermann
d9fa84edd6
Merge pull request #1425 from phil-opp/post-02-fix-target
...
Fix: `target-c-int-width` field now expects an integer
2025-08-07 13:09:35 +02:00
Philipp Oppermann
41f4b88041
Merge branch 'post-05' into post-06
2025-08-07 13:08:03 +02:00
Philipp Oppermann
e24e33f6ff
Merge branch 'post-04' into post-05
2025-08-07 13:08:03 +02:00
Philipp Oppermann
d1bf96108a
Merge branch 'post-03' into post-04
2025-08-07 13:08:00 +02:00
Philipp Oppermann
97de98df33
Merge branch 'post-02' into post-03
2025-08-07 13:07:41 +02:00
Philipp Oppermann
9684f75819
Merge branch 'post-01' into post-02
2025-08-07 13:07:09 +02:00
Philipp Oppermann
d6cc562907
Fix: target-c-int-width field now expects an integer
2025-08-07 12:25:03 +02:00
Philipp Oppermann
b44d8ab7fc
Merge pull request #1412 from tigeryant/post-01
...
Added [[bin]] section to Cargo.toml
2025-05-09 15:46:51 +02:00
John Davies
c551fec1ce
Added [[bin]] section to Cargo.toml with test and bench set to false to prevent duplicate definition of lang item
2025-05-02 00:35:50 +07:00
Philipp Oppermann
c407c26224
Run cargo fmt
2025-03-27 16:13:18 +01:00
Philipp Oppermann
5b088bffeb
Update stack_overflow test to use unsafe no_mangle attribute
...
Required since Rust 2024 edition
2025-03-27 15:51:13 +01:00
Philipp Oppermann
e9ca6b83c4
Merge branch 'post-05' into post-06
2025-03-27 15:50:40 +01:00
Philipp Oppermann
62b2c8a0b5
Merge branch 'post-04' into post-05
2025-03-27 15:50:18 +01:00
Philipp Oppermann
1d0aa17531
Update tests to make no_mangle attribute unsafe
...
Required since Rust 2024 edition
2025-03-27 15:50:07 +01:00
Philipp Oppermann
3d94346f43
Merge branch 'post-05' into post-06
2025-03-27 15:13:48 +01:00
Philipp Oppermann
f19372d58a
Merge branch 'post-04' into post-05
2025-03-27 15:13:48 +01:00
Philipp Oppermann
e4b3ed6d42
Fix: no_mangle is an unsafe attribute since Rust 2024
2025-03-27 15:13:34 +01:00
Philipp Oppermann
b1aec7eb66
Merge branch 'post-03' into post-04
2025-03-27 15:13:25 +01:00
Philipp Oppermann
e2a3e76a32
Merge branch 'post-02' into post-03
2025-03-27 15:07:41 +01:00
Philipp Oppermann
16bbb8f972
Merge branch 'post-01' into post-02
2025-03-27 15:07:24 +01:00
Philipp Oppermann
430e2143f8
Fix: no_mangle is an unsafe attribute since Rust 2024
2025-03-27 15:06:17 +01:00
Philipp Oppermann
86ffa24e8e
Update to Rust 2024 edition
2025-03-27 15:05:58 +01:00
Philipp Oppermann
caa829db01
Merge branch 'post-05' into post-06
2025-03-24 11:09:24 +01:00
Philipp Oppermann
168dc5c2be
Merge branch 'post-04' into post-05
2025-03-24 11:09:24 +01:00
Philipp Oppermann
a6141e8d2e
Merge branch 'post-03' into post-04
2025-03-24 11:09:24 +01:00
Philipp Oppermann
df0c0b5783
Merge branch 'post-02' into post-03
2025-03-24 11:09:21 +01:00
Philipp Oppermann
c27eb1da9c
Run cargo update for bootloader crate
2025-03-24 11:08:41 +01:00
Philipp Oppermann
90d1551665
Merge branch 'post-05' into post-06
2025-02-10 12:36:07 +01:00
Philipp Oppermann
e9f9035f89
Merge branch 'post-05' into post-06
2025-02-10 11:16:21 +01:00
Philipp Oppermann
aa9d0fff74
Code: Use new &raw const operator instead of unsafe {& _}
2025-01-15 19:58:23 +01:00
Philipp Oppermann
61fc3c65bc
Merge branch 'post-05' into post-06
2024-04-30 15:39:16 +02:00
Philipp Oppermann
27888e99b5
Merge branch 'post-05' into post-06
2024-02-16 15:59:40 +01:00
Philipp Oppermann
26222f866f
Merge branch 'post-05' into post-06
2024-02-16 13:22:06 +01:00
Philipp Oppermann
d61a13bbad
Merge branch 'post-05' into post-06
2024-02-16 13:14:09 +01:00
Philipp Oppermann
8b7d009ba5
Merge branch 'post-05' into post-06
2024-02-16 12:39:56 +01:00
Philipp Oppermann
431a956388
Merge branch 'post-05' into post-06
2024-01-28 11:45:38 +01:00
Philipp Oppermann
698ccaf6d7
Merge branch 'post-05' into post-06
2022-09-25 11:32:07 +02:00
ruhuang
b72c457481
Update post-06 to set CS register with non-deprecated function ( #1099 )
...
Set CS register with non-deprecated function
2022-04-08 10:05:21 +02:00
Philipp Oppermann
4a684a06b1
Merge branch 'post-05' into post-06
2022-01-18 10:06:44 +01:00
Philipp Oppermann
a9d6066fb7
Merge branch 'post-05' into post-06
2021-12-22 09:27:53 +01:00
Philipp Oppermann
8b6a53973b
Merge branch 'post-05' into post-06
2021-12-21 13:56:10 +01:00
Philipp Oppermann
f0ed4260e1
Merge branch 'post-05' into post-06
2021-08-22 14:44:44 +02:00
Philipp Oppermann
6c97986b38
Merge branch 'post-05' into post-06
2021-05-21 19:56:04 +02:00
Philipp Oppermann
1990d09e80
Merge branch 'post-05' into post-06
2021-05-20 14:33:10 +02:00
Philipp Oppermann
d55fa1ee24
Adjust post-06 to take InterruptStackFrame by value
2021-05-17 11:46:24 +02:00
Philipp Oppermann
5ae0f13fa4
Merge branch 'post-05' into post-06
2021-05-17 11:44:50 +02:00
Philipp Oppermann
91f75922ca
Merge branch 'post-05' into post-06
2021-05-17 11:41:30 +02:00
Philipp Oppermann
a7943b8d05
Merge branch 'post-05' into post-06
2021-05-17 11:30:02 +02:00
Philipp Oppermann
69c22017ce
Merge branch 'post-05' into post-06
2021-05-17 11:29:23 +02:00
Philipp Oppermann
9bc237ac70
Merge branch 'post-05' into post-06
2021-03-10 09:23:02 +01:00
Philipp Oppermann
4815290f89
Merge branch 'post-05' into post-06
2021-03-10 09:15:58 +01:00
Philipp Oppermann
79a05fb802
Merge branch 'post-05' into post-06
2021-03-10 09:13:39 +01:00
Philipp Oppermann
b74317b35a
Merge branch 'post-05' into post-06
2021-03-10 08:53:42 +01:00
Philipp Oppermann
4f9ec9427c
Merge branch 'post-05' into post-06
2021-02-02 11:06:37 +01:00
Philipp Oppermann
01701384f0
Merge branch 'post-05' into post-06
2021-02-02 10:52:06 +01:00
Philipp Oppermann
ab691c47d7
Merge branch 'post-05' into post-06
2020-11-22 13:46:58 +01:00
Philipp Oppermann
31c0412d0d
Merge branch 'post-05' into post-06
2020-10-02 23:35:26 +02:00
Philipp Oppermann
f7198d2b00
Merge branch 'post-05' into post-06
2020-09-29 12:22:06 +02:00
Philipp Oppermann
de8d1cb632
Merge branch 'post-05' into post-06
2020-09-29 12:19:54 +02:00
Philipp Oppermann
b471610fa3
Merge branch 'post-05' into post-06
2020-09-24 10:27:12 +02:00
Philipp Oppermann
9a7d089cf7
Merge branch 'post-05' into post-06
2020-09-24 09:09:39 +02:00
Philipp Oppermann
7056923ef7
Merge branch 'post-05' into post-06
2020-08-16 18:03:09 +02:00
Philipp Oppermann
817e36c064
Increase double fault stack size
2020-08-16 17:57:43 +02:00
Philipp Oppermann
18bc113726
Merge branch 'post-05' into post-06
2020-07-17 15:57:35 +02:00
Philipp Oppermann
70458b6f6f
Merge branch 'post-05' into post-06
2020-07-17 11:48:35 +02:00
Philipp Oppermann
51f8e413d5
Merge branch 'post-05' into post-06
2020-07-17 11:28:04 +02:00
Philipp Oppermann
1876a78058
Merge branch 'post-05' into post-06
2020-07-17 11:23:28 +02:00
Philipp Oppermann
0dd32e2680
Merge pull request #818 from phil-opp/post-06-prevent-tail-recursion
...
Do a volatile read in stack_overflow test to avoid tail recursion
2020-06-08 12:29:58 +02:00
Philipp Oppermann
5735cb8ec0
Do a volatile read in stack_overflow test to avoid tail recursion
...
This prevents the compiler from transforming the tail recursive function into a loop, which does not lead to a stack overflow. It also avoids the LLVM bug where functions with side-effect-free endless loops are removed. Thus, the test now also works in `--release` mode.
2020-06-08 12:17:06 +02:00
Philipp Oppermann
12d94fd2e9
Adjust stack_overflow test print message
2020-06-08 12:01:04 +02:00
Philipp Oppermann
8c10bbb096
Merge branch 'post-05' into post-06
2020-06-08 11:57:12 +02:00
Philipp Oppermann
f9446883e2
Merge branch 'post-05' into post-06
2020-05-20 14:56:19 +02:00
Philipp Oppermann
2bf84f60e9
Merge branch 'post-05' into post-06
2020-05-20 14:25:56 +02:00
Philipp Oppermann
bfed1f44e2
Merge branch 'post-05' into post-06
2020-05-20 14:06:06 +02:00
Philipp Oppermann
8a4f3ab2a8
Merge branch 'post-05' into post-06
2020-03-08 14:39:37 +01:00
Philipp Oppermann
dbe1353fd2
Merge branch 'post-05' into post-06
2020-03-08 14:27:42 +01:00
Philipp Oppermann
16afb268f8
Merge branch 'post-05' into post-06
2020-02-26 12:46:19 +01:00
Philipp Oppermann
c211412ce2
Update Github Actions badge for post-06
2019-12-12 09:30:51 +01:00
Philipp Oppermann
93d3de6feb
Merge branch 'post-05' into post-06
2019-12-12 09:30:37 +01:00
Philipp Oppermann
651c629ffd
Merge branch 'post-05' into post-06
2019-12-12 09:23:30 +01:00
Philipp Oppermann
8d8a7e0973
Merge branch 'post-05' into post-06
2019-12-10 17:31:24 +01:00
Philipp Oppermann
423b6e49cc
Merge pull request #702 from phil-opp/post-06-fix
...
Make double fault handlers diverging
2019-12-10 17:17:00 +01:00
Philipp Oppermann
d1cf8000a3
Make double fault handlers diverging
...
Required by x86_64 0.8.0.
2019-12-10 17:02:46 +01:00
Philipp Oppermann
16c499f966
Merge branch 'post-05' into post-06
2019-12-10 16:55:41 +01:00
Philipp Oppermann
9d6ba0d31e
Merge branch 'post-05' into post-06
2019-11-28 14:06:28 +01:00
Philipp Oppermann
590585da33
Merge branch 'post-05' into post-06
2019-11-25 13:24:09 +01:00
Philipp Oppermann
a604e1fa14
Merge branch 'post-06' of github.com:phil-opp/blog_os into post-06
2019-11-22 16:04:09 +01:00
Philipp Oppermann
05c3a17c49
Merge branch 'post-05' into post-06
2019-11-22 15:57:18 +01:00
Philipp Oppermann
3470636653
Use panic! instead of println! + loop in double fault handler ( #687 )
...
This avoids an endless loop when a double fault occurs while running `cargo xtest`.
2019-11-22 15:56:56 +01:00
Philipp Oppermann
1a1ce5120f
Merge branch 'post-05' into post-06
2019-10-08 19:44:38 +02:00
Philipp Oppermann
78fdba7606
Merge branch 'post-05' into post-06
2019-09-25 13:20:13 +02:00
Philipp Oppermann
8d6915beba
Merge branch 'post-05' into post-06
2019-09-13 17:43:25 +02:00
Philipp Oppermann
0eaaa3ff2b
Merge branch 'post-05' into post-06
2019-09-13 10:53:50 +02:00
Philipp Oppermann
086304c9c4
Merge branch 'post-05' into post-06
2019-09-11 13:18:19 +02:00
Philipp Oppermann
2e27b91220
Merge branch 'post-05' into post-06
2019-09-11 11:21:15 +02:00
Philipp Oppermann
cb77074476
Merge branch 'post-05' into post-06
2019-09-11 10:58:02 +02:00
Philipp Oppermann
d0afb95b50
Merge branch 'post-05' into post-06
2019-09-11 10:32:57 +02:00
Philipp Oppermann
1b0378f87e
Merge branch 'post-05' into post-06
2019-09-11 10:12:46 +02:00
Philipp Oppermann
b91f71784d
Merge branch 'post-05' into post-06
2019-09-11 10:11:25 +02:00
Philipp Oppermann
6316a0e1df
Merge branch 'post-05' into post-06
2019-09-11 10:02:41 +02:00
Philipp Oppermann
38cfb5e324
Merge branch 'post-05' into post-06
2019-09-10 11:12:54 +02:00
Philipp Oppermann
a9921e9448
Merge branch 'post-05' into post-06
2019-09-10 10:21:14 +02:00
Philipp Oppermann
9770d481f2
Merge branch 'post-05' into post-06
2019-08-07 12:40:04 +02:00
Philipp Oppermann
7baa3b0155
Merge branch 'post-05' into post-06
2019-07-22 10:36:23 +02:00
Philipp Oppermann
08bf4405a9
Merge branch 'post-05' into post-06
2019-07-18 10:17:05 +02:00
Philipp Oppermann
9d5b5f33f1
Merge branch 'post-05' into post-06
2019-06-23 18:07:34 +02:00
Philipp Oppermann
9b4b810bd3
Merge branch 'post-05' into post-06
2019-06-17 17:28:32 +02:00
Philipp Oppermann
7a45083975
Merge branch 'post-05' into post-06
2019-05-23 12:39:35 +02:00
Philipp Oppermann
01040fc643
Merge branch 'post-05' into post-06
2019-05-09 14:59:55 +02:00
Philipp Oppermann
5a68816b45
Merge branch 'post-05' into post-06
2019-05-03 18:36:45 +02:00
Philipp Oppermann
111c3e1029
Comment out stack_overflow() call to keep cargo xtest working
2019-04-26 15:48:59 +02:00
Philipp Oppermann
70d981e179
Simplify stack_overflow test
2019-04-26 15:14:38 +02:00
Philipp Oppermann
ee3d2219ab
Disable test harness for stack_overflow test
2019-04-26 15:14:38 +02:00
Philipp Oppermann
c5a39e0902
Add a stack overflow integration test
2019-04-26 15:14:38 +02:00
Philipp Oppermann
4774893a93
Call gdt::init from blog_os::init
2019-04-26 15:14:38 +02:00
Philipp Oppermann
3c59321b54
Remove old bootimage test integration test
2019-04-26 15:14:38 +02:00
Philipp Oppermann
f5345db3e6
Update post number for Readme badge
2019-04-26 15:11:49 +02:00
Philipp Oppermann
94622ebfd5
Merge branch 'post-05-new' into post-06-new-rebased
2019-04-26 15:11:24 +02:00
Philipp Oppermann
82014268da
Merge branch 'post-05-new' into post-06-new-rebased
2019-04-26 15:05:55 +02:00
Philipp Oppermann
e0d68fee24
Merge branch 'post-06' into post-07
2019-04-25 11:08:11 +02:00
Philipp Oppermann
6f623dc7b4
Merge branch 'post-06' into post-07
2019-04-11 15:32:21 +02:00
Philipp Oppermann
dc1f862177
Merge branch 'post-06' into post-07
2019-04-06 17:35:17 +02:00
Philipp Oppermann
fdf0fe617b
Merge branch 'post-06' into post-07
2019-04-06 17:31:13 +02:00
Philipp Oppermann
23fcb9f20b
Merge branch 'post-06' into post-07
2019-04-06 16:49:01 +02:00
Philipp Oppermann
ffb76038bc
Merge branch 'post-06' into post-07
...
# Conflicts:
# README.md
2019-04-03 10:46:46 +02:00
Philipp Oppermann
f42461b99b
Merge branch 'post-06' into post-07
2019-03-26 13:26:56 +01:00
Philipp Oppermann
701823742e
Merge branch 'post-06' into post-07
2019-03-14 11:18:22 +01:00
Philipp Oppermann
b533bf6596
Merge branch 'post-06' into post-07
2019-03-12 17:48:11 +01:00
Philipp Oppermann
1ed76411f7
Fix remaining use of ExceptionStackFrame in test
2019-03-09 14:21:03 +01:00
Philipp Oppermann
8e5b6a3e3f
Update post-07 code for changes in x86_64 0.5.0
2019-03-09 12:34:49 +01:00
Philipp Oppermann
be0ed3a54d
Merge branch 'post-06' into post-07
2019-03-09 12:32:03 +01:00
Philipp Oppermann
f5b6094521
Merge branch 'post-06' into post-07
2019-02-25 16:37:30 +01:00
Philipp Oppermann
38bd9a65b6
Merge branch 'post-06' into post-07
2019-02-07 18:46:32 +01:00
Philipp Oppermann
b3e94470e4
Merge branch 'post-06' into post-07
2019-02-07 16:15:10 +01:00
Philipp Oppermann
7b01e9c862
Merge branch 'post-06' into post-07
2019-02-05 15:23:49 +01:00
Philipp Oppermann
5452e0f455
Merge branch 'post-06' into post-07
2019-02-05 14:59:15 +01:00
Philipp Oppermann
202902f30d
Merge branch 'post-06' into post-07
2019-02-05 10:46:08 +01:00
Philipp Oppermann
3bb30fd1e8
Merge branch 'post-06' into post-07
2019-02-05 10:45:12 +01:00
Philipp Oppermann
41e36b4afa
Merge branch 'post-06' into post-07
2019-01-29 12:16:54 +01:00
Philipp Oppermann
f76ec1ae32
Only set double fault handler once
2019-01-28 11:50:59 +01:00
Philipp Oppermann
efe92e5004
Merge branch 'post-06' into post-07
2019-01-28 11:44:14 +01:00
Philipp Oppermann
233943310c
Update Readme for Double Faults post
2019-01-27 17:12:21 +01:00
Philipp Oppermann
ef6d69f82b
Merge branch 'post-06' into post-07
2019-01-27 17:11:38 +01:00
Philipp Oppermann
637b517f47
Merge branch 'post-06' into post-07
2019-01-27 16:33:54 +01:00
Philipp Oppermann
5802c97938
Merge branch 'z_post_06' into z_post_07
2019-01-27 15:46:59 +01:00
Philipp Oppermann
29ee6b15dd
Merge branch 'z_post_06' into z_post_07
2019-01-27 14:28:55 +01:00
Philipp Oppermann
90ad333e90
Merge branch 'z_post_06' into z_post_07
2019-01-25 14:46:29 +01:00
Philipp Oppermann
afe8dc3dcf
Add stack overflow integration test
2019-01-25 14:45:02 +01:00
Philipp Oppermann
8bb0187f35
Run rustfmt
2019-01-25 14:44:42 +01:00
Philipp Oppermann
d8edfccca4
Set the stack_index for the double fault handler
2019-01-25 14:01:29 +01:00
Philipp Oppermann
ff25a7d86c
Reload code and TSS selector registers
2019-01-25 13:59:09 +01:00
Philipp Oppermann
b5202e26a1
Load the GDT
2019-01-25 13:57:40 +01:00
Philipp Oppermann
ea1b031fd3
Create a static GDT
2019-01-25 13:57:08 +01:00
Philipp Oppermann
db4e879c34
Create a new GDT module and a static TSS
2019-01-25 13:56:40 +01:00
Philipp Oppermann
7fd29c9cbe
Trigger a double fault through a stack overflow -> triple fault
2019-01-25 13:55:42 +01:00
Philipp Oppermann
218cb9399e
Add a double fault handler and test it
2019-01-25 13:54:44 +01:00