Commit Graph

2694 Commits

Author SHA1 Message Date
Philipp Oppermann
1c2e6fca64 Remove unused imports 2016-01-01 18:05:16 +01:00
Philipp Oppermann
db928db0b5 Unmap the old P4 page to create a basic guard page for the kernel stack 2016-01-01 18:05:16 +01:00
Philipp Oppermann
e2b99ac8c1 Set the NXE and the WP bit 2016-01-01 18:05:16 +01:00
Philipp Oppermann
76d1c41e96 Use correct section flags (causes a page fault) 2016-01-01 18:05:16 +01:00
Philipp Oppermann
b64f980c34 Identity map the vga text buffer 2016-01-01 18:05:16 +01:00
Philipp Oppermann
051596d8f9 Try to switch tables, causes boot loop 2016-01-01 18:05:16 +01:00
Philipp Oppermann
33322ec49b Test it 2016-01-01 18:05:16 +01:00
Philipp Oppermann
8e65034643 Align sections in linker script 2016-01-01 18:05:16 +01:00
Philipp Oppermann
dd51bde9f9 Add remap_the_kernel function 2016-01-01 18:05:16 +01:00
Philipp Oppermann
fe8c81a531 Backup and restore original recursive mapping in with 2016-01-01 18:05:16 +01:00
Philipp Oppermann
c16b3059cf Add ActivePageTable::with draft 2016-01-01 18:05:16 +01:00
Philipp Oppermann
a100d5f63f Split mapping functions of ActivePageTable into mapper subtype 2016-01-01 18:05:16 +01:00
Philipp Oppermann
716e3f7359 Zero and recursive map inactive table on creation 2016-01-01 18:05:16 +01:00
Philipp Oppermann
7ce86b3a80 Add temporary_page submodule 2016-01-01 18:05:16 +01:00
Philipp Oppermann
a7000e537c Add InactivePageTableSkeleton 2016-01-01 18:05:16 +01:00
Philipp Oppermann
2198d09695 Add clone methods to Page(public) and Frame(private) 2016-01-01 18:05:16 +01:00
Philipp Oppermann
f378e6aed3 Set up GDB 2016-01-01 18:05:16 +01:00
Philipp Oppermann
295ae7ba89 Add new post about remapping the kernel 2016-01-01 18:05:16 +01:00
Philipp Oppermann
6ad00195f5 Add more images for upcoming post 2015-12-31 15:01:27 +01:00
travis-update-bot
262aec97ae Update blog to 9bad9020f6 2015-12-30 23:07:52 +00:00
Philipp Oppermann
9bad9020f6 Make Page::containing address public in post
This brings it in line with the code
2015-12-31 00:00:41 +01:00
travis-update-bot
66417a1b72 Update blog to b11ed7bd46 2015-12-30 01:23:26 +00:00
Philipp Oppermann
b11ed7bd46 Merge pull request #97 from phil-opp/gdb-update
Update the gdb overview
2015-12-30 02:21:39 +01:00
Philipp Oppermann
9c193d432c Add gdb tui screenshot 2015-12-30 02:20:01 +01:00
Philipp Oppermann
5c6630fa97 Add tui commands 2015-12-30 02:18:54 +01:00
Philipp Oppermann
b58bca6fe9 Link Beej's Quick guide
Recommended by Julia Evans on hackernews: https://news.ycombinator.com/item?id=10808362
2015-12-30 02:18:25 +01:00
Philipp Oppermann
350069fd44 Merge pull request #96 from phil-opp/dual-license
Dual license the code
2015-12-29 12:35:57 +01:00
Philipp Oppermann
a9e5b7fd28 Update license headers 2015-12-29 12:31:25 +01:00
Philipp Oppermann
543f202412 Dual license code under apache2/mit 2015-12-29 12:21:29 +01:00
Philipp Oppermann
4df4fab08f Add image for recursive mapping of inactive tables 2015-12-27 13:19:33 +01:00
Philipp Oppermann
30414dccf5 Highlight doc comments as well 2015-12-26 17:32:23 +01:00
Philipp Oppermann
b02b6144ac Add local config to disable disqus and analytics 2015-12-26 15:38:08 +01:00
travis-update-bot
0ba1cab5a0 Update blog to 6f3daa8a2a 2015-12-26 12:42:47 +00:00
Philipp Oppermann
6f3daa8a2a Merge pull request #91 from phil-opp/patch1
Use new example code to cause SSE failure
2015-12-26 13:41:01 +01:00
Philipp Oppermann
36cf22895a Use new example code to cause SSE failure 2015-12-26 13:38:27 +01:00
travis-update-bot
790717db9a Update blog to 97d381198b 2015-12-26 03:38:35 +00:00
Philipp Oppermann
97d381198b Merge pull request #90 from phil-opp/update-page-tables-post
Explain lifetime elision in `next_table` methods
2015-12-26 04:36:45 +01:00
Philipp Oppermann
049fc4d74d Explain lifetime elision in next_table methods
Also, improve headings and the ActivePageTable section a bit.
2015-12-26 04:33:02 +01:00
travis-update-bot
7bcd730c5f Update blog to 65d2f7e013 2015-12-25 12:19:31 +00:00
Philipp Oppermann
65d2f7e013 Merge pull request #88 from phil-opp/patch1
Rename RecursivePageTable to ActivePageTable
2015-12-25 13:17:49 +01:00
Philipp Oppermann
b39bb643dd Rename RecursivePageTable to ActivePageTable 2015-12-25 13:14:14 +01:00
travis-update-bot
af2897fe12 Update blog to d28548fa10 2015-12-24 02:28:28 +00:00
Philipp Oppermann
d28548fa10 Link next post 2015-12-24 03:15:09 +01:00
Philipp Oppermann
935126b14c Add new set up gdb post to archive 2015-12-24 03:08:37 +01:00
travis-update-bot
64f45b3743 Update blog to d9eff3e50a 2015-12-24 02:08:04 +00:00
Philipp Oppermann
d9eff3e50a Merge pull request #86 from phil-opp/gdb-support
Add page about GDB support
2015-12-24 03:06:18 +01:00
Philipp Oppermann
6470e2f56d Add page about GDB support 2015-12-24 03:02:58 +01:00
travis-update-bot
cf6b6ca787 Update blog to ad8e9da766 2015-12-23 11:52:19 +00:00
Philipp Oppermann
ad8e9da766 Merge pull request #85 from alicemaz/master
Add missing unsafe to Unique::new
2015-12-23 12:50:15 +01:00
Alice Maz
4aec3b3d78 Add unsafe to Unique::new
previously compile would fail with E0133
2015-12-23 01:35:53 -05:00