Commit Graph

343 Commits

Author SHA1 Message Date
Philipp Oppermann
6470e2f56d Add page about GDB support 2015-12-24 03:02:58 +01: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
Philipp Oppermann
c19d176aa0 Merge pull request #81 from 'rafalmiel-master'
Fix HierachicalLevel typo
2015-12-20 15:58:54 +01:00
Rafal Mielniczuk
337799599a Fix HierachicalLevel typo 2015-12-20 15:52:14 +01:00
Philipp Oppermann
74e84c7ea4 The core_str_ext feature is no longer needed 2015-12-20 15:47:51 +01:00
Philipp Oppermann
14166b3a35 Remove old features 2015-12-20 15:40:43 +01:00
Philipp Oppermann
dced423588 Improve tag update script 2015-12-20 15:32:26 +01:00
Philipp Oppermann
60eb7ed4a7 Merge pull request #79 from phil-opp/rustfmt
Run rustfmt
2015-12-20 15:09:39 +01:00
Philipp Oppermann
165e6ebff8 Run rustfmt 2015-12-20 15:05:08 +01:00
Philipp Oppermann
52f239e5b4 Add a link to the x86 crate
Also, fix some formatting.
2015-12-16 14:01:13 +01:00
Philipp Oppermann
f00366d09f Merge pull request #75 from phil-opp/rename-paging-post
Change title to `Page Tables`
2015-12-16 12:35:58 +01:00
Philipp Oppermann
de50b37443 Change title to Page Tables 2015-12-16 12:26:53 +01:00
Philipp Oppermann
bb0bd73584 Merge pull request #72 from phil-opp/fix-1
Rename `test_*` functions to `check_*` again
2015-12-14 01:08:28 +01:00
Philipp Oppermann
6e60552e87 Rename test_* functions to check_* 2015-12-14 01:03:55 +01:00
Philipp Oppermann
3c6057dd76 Merge pull request #71 from phil-opp/rename-min_by
The `Iterator::min_by` was renamed to `min_by_key`
2015-12-14 00:14:13 +01:00
Philipp Oppermann
7e83931746 The Iterator::min_by was renamed to min_by_key 2015-12-14 00:08:54 +01:00
Philipp Oppermann
7675a08ebe Merge pull request #70 from phil-opp/stable-no_std
The `no_std` attribute is stable now
2015-12-14 00:08:30 +01:00
Philipp Oppermann
22014eb38d The no_std attribute is stable now 2015-12-14 00:03:55 +01:00
Philipp Oppermann
87b8fc6a29 Merge pull request #68 from phil-opp/update_tag
Rename tag to `modifying_page_tables`
2015-12-14 00:03:03 +01:00
Philipp Oppermann
ce5c4b970a Rename tag to modifying_page_tables 2015-12-14 00:00:32 +01:00
Philipp Oppermann
807e8110be Merge pull request #67 from phil-opp/grammar-set_up
Fix grammar: `set up` instead of `setup`
2015-12-13 19:36:00 +01:00
Philipp Oppermann
c0439cf194 Fix Grammar
`set up` not `setup`
2015-12-13 18:53:15 +01:00
Philipp Oppermann
26fc76fbda Merge pull request #65 from phil-opp/move-setup-SSE
Move `setup_SSE` to boot.asm
2015-12-12 15:03:13 +01:00
Philipp Oppermann
953704f103 Move setup_SSE to boot.asm 2015-12-12 15:00:14 +01:00
Philipp Oppermann
e272cc9257 Merge pull request #62 from phil-opp/fix-1
Use a more expressive variable name
2015-12-10 16:59:18 +01:00
Philipp Oppermann
617c92d017 Use a more expressive variable name 2015-12-10 16:55:54 +01:00
Philipp Oppermann
5cc6f9ec4b Merge pull request #61 from phil-opp/paging-module
New post about accessing and modifying page tables
2015-12-09 16:23:27 +01:00
Philipp Oppermann
3a82ca32cd Publish Accessing and Modifying Page Tables post 2015-12-09 16:18:16 +01:00
Philipp Oppermann
9366db272c Finish introduction and other TODOs 2015-12-09 16:14:25 +01:00
Philipp Oppermann
b3cb09ba8d Add short conclusion 2015-12-09 15:46:15 +01:00
Philipp Oppermann
329a64c9a1 Some small improvements 2015-12-09 15:46:15 +01:00
Philipp Oppermann
75264e7cac Fix unmap function by flushing the TLB 2015-12-09 15:46:15 +01:00
Philipp Oppermann
8bb09f47f8 Test unmap function 2015-12-09 15:46:15 +01:00
Philipp Oppermann
cf5ea7664e Test map_to function 2015-12-09 15:46:15 +01:00
Philipp Oppermann
5b4e457439 Double stack size to avoid stack overflow 2015-12-09 15:46:14 +01:00
Philipp Oppermann
786e1d5cab Test translate function 2015-12-09 15:46:14 +01:00
Philipp Oppermann
d8c6b6f5b7 Add and call test_paging function 2015-12-09 15:46:14 +01:00
Philipp Oppermann
4fd8891aff Add (buggy) unmap function 2015-12-09 15:46:14 +01:00
Philipp Oppermann
d52c79b106 Add map and identity_map functions 2015-12-09 15:46:14 +01:00
Philipp Oppermann
86d8e99271 Make translate and map_to safe by making them RecursivePageTable methods 2015-12-09 15:46:14 +01:00
Philipp Oppermann
fb7d2d22b6 Add RecursivePageTable as an owner for the P4 table 2015-12-09 15:46:14 +01:00
Philipp Oppermann
46b93e0650 Add unsafe map_to function and make translate unsafe, too
These functions are unsafe because it's possible to get aliased &mut references.
2015-12-09 15:46:14 +01:00
Philipp Oppermann
e84344f59a Add function to translate virtual to physical address 2015-12-09 15:46:14 +01:00
Philipp Oppermann
d267ac1c98 Define the next_table methods only for P4, P3, and P2 tables 2015-12-09 15:46:14 +01:00
Philipp Oppermann
e5a4114262 Add unsafe next_table methods 2015-12-09 15:46:14 +01:00
Philipp Oppermann
e071c24680 Recursive map the P4 table 2015-12-09 15:46:14 +01:00
Philipp Oppermann
96b0dc0c66 Model page tables 2015-12-09 15:46:14 +01:00
Philipp Oppermann
14384fb27f Model page table entries 2015-12-09 15:46:14 +01:00
Philipp Oppermann
d827f51bb6 Create basic paging module 2015-12-09 15:46:14 +01:00