Commit Graph

1009 Commits

Author SHA1 Message Date
Philipp Oppermann
5e6a8cb69b Link gitter chat 2016-08-03 20:48:24 +02:00
Philipp Oppermann
88fe633b87 Merge pull request #194 from phil-opp/better-exception-messages
New post: Better Exception Messages
2016-08-03 17:03:13 +02:00
Philipp Oppermann
3312478f71 Include “Better Exception Messages” in README 2016-08-03 17:00:18 +02:00
Philipp Oppermann
60a58a8c9c Fix github tag link 2016-08-03 17:00:18 +02:00
Philipp Oppermann
2b629415a4 Final improvements 2016-08-03 17:00:18 +02:00
Philipp Oppermann
d13460812d Run rustfmt 2016-08-03 17:00:18 +02:00
Philipp Oppermann
a9319ea83e Translate error code and print cr2 register 2016-08-03 17:00:18 +02:00
Philipp Oppermann
69f1b58bb0 Add and test a handler_with_error_code macro and a page fault handler 2016-08-03 17:00:18 +02:00
Philipp Oppermann
df1e39edb2 Add and test an invalid opcode handler function 2016-08-03 17:00:18 +02:00
Philipp Oppermann
71ebb23ec3 Add a handler macro that creates wrapper functions 2016-08-03 17:00:18 +02:00
Philipp Oppermann
e7ee1faaba Add a wrapper function and print the exception stack frame 2016-08-03 17:00:18 +02:00
Philipp Oppermann
d97a8a3210 Silence dead code warnings 2016-08-03 17:00:18 +02:00
Philipp Oppermann
297f8442b9 Reset src to master to be able to follow step-by-step 2016-08-03 17:00:18 +02:00
Philipp Oppermann
398ba7a424 Provoke a page fault 2016-08-03 17:00:18 +02:00
Philipp Oppermann
261f92e2e5 Print cr2 in page_fault_handler 2016-08-03 17:00:18 +02:00
Philipp Oppermann
1ba595aab3 Rename to better-exception-messages 2016-08-03 17:00:18 +02:00
Philipp Oppermann
710cebe695 Finish exceptions diagnostics post 2016-08-03 17:00:18 +02:00
Philipp Oppermann
e9d2d594ab Add handler! macros 2016-08-03 17:00:18 +02:00
Philipp Oppermann
f14876dfff Next section: Debug the failure on real hardware 2016-08-03 17:00:18 +02:00
Philipp Oppermann
b1de7a9100 Add a ToC 2016-08-03 17:00:18 +02:00
Philipp Oppermann
40b565947b Test the two-stage exception handler in code 2016-08-03 17:00:18 +02:00
Philipp Oppermann
e8220b3781 Describe the two-stage exception handler 2016-08-03 17:00:18 +02:00
Philipp Oppermann
2e0f4f9161 Begin code for upcoming post 2016-08-03 17:00:11 +02:00
Philipp Oppermann
8d27acd15a Add images for “Better Exception Messages” post 2016-08-03 16:45:32 +02:00
Philipp Oppermann
95c0452bcb Begin new post 2016-08-03 14:44:52 +02:00
Philipp Oppermann
68e2495d9c Rename modifying-page-tables.md to page-tables.md 2016-08-03 14:43:01 +02:00
Philipp Oppermann
3b515229bb Center images 2016-07-30 15:07:22 +02:00
Philipp Oppermann
439aa861e7 Merge pull request #191 from phil-opp/hugo-toc
Display a Table of Contents on large displays
2016-07-28 20:18:28 +02:00
Philipp Oppermann
35c083122e Add function to automatically add/rm the coarse class
Based on viewport height. Automatically adjusted onresize.
2016-07-28 19:53:27 +02:00
Philipp Oppermann
46bb485621 Don't do anything if there's no #toc 2016-07-28 19:52:43 +02:00
Philipp Oppermann
226c0ccdfc Hide sublists of coarse in CSS instead of JS 2016-07-28 19:52:43 +02:00
Philipp Oppermann
fda5851e7c Fade out ToC when it's not hovered 2016-07-28 19:52:43 +02:00
Philipp Oppermann
7e2878aba7 Reposition Toc and tweak width and line-height 2016-07-28 19:52:43 +02:00
Philipp Oppermann
9469dc5891 Remove coarse class from ToCs
We will add it dynamically via javascript when the Toc is higher than the viewport.
2016-07-28 19:42:37 +02:00
Anton Strömkvist
6b2f1281ae Fix hex constant (#193)
I assume these were in the wrong order since all the others looked this way :)
2016-07-28 18:01:42 +02:00
Philipp Oppermann
826e303ed0 Merge pull request #192 from phil-opp/post-toc
Add tables of contents to all blog posts
2016-07-17 17:14:50 +02:00
Philipp Oppermann
d4e82b0aa4 Improve heading levels 2016-07-17 17:10:42 +02:00
Philipp Oppermann
bc6f496eb5 Add tables of contents to all blog posts 2016-07-17 17:10:23 +02:00
Philipp Oppermann
05d74786f9 Move ToC initialization code into own js file 2016-07-17 16:44:45 +02:00
Philipp Oppermann
0f72384ed9 Create the “Table of Contents” heading in javascript 2016-07-17 16:42:21 +02:00
Philipp Oppermann
f4b84d55e2 Fixate the ToC on the left side and show only on wide screens 2016-07-17 16:23:42 +02:00
Philipp Oppermann
4000c990f0 Add and initialize toc.js 2016-07-17 16:23:13 +02:00
Philipp Oppermann
62dd13b2e7 Merge pull request #190 from phil-opp/p1
Add aligned .got and .got.plt sections to linker script
2016-07-16 17:22:25 +02:00
Philipp Oppermann
68c1e42356 Update linker script in post (add .got and .got.plt) 2016-07-14 18:11:58 +02:00
Philipp Oppermann
2445b47661 Add aligned .got and .got.plt sections to linker script 2016-07-14 18:07:26 +02:00
Philipp Oppermann
a8534a7bd7 Remove additional-resource page and feed as well 2016-07-14 11:47:36 +02:00
Philipp Oppermann
03bdf35dd3 Add section page template because hugo requires it
We don't want these pages and delete them in our update script anyway. We just use the error 404 template in case the deletion doesn't work.
2016-07-14 11:37:20 +02:00
Philipp Oppermann
d64e4ba2fc Update x86 crate to 0.7.1 (#189) 2016-07-14 11:21:04 +02:00
Aaron Hill
48e7faa521 Add ENTRY(start) to 'Allocating Frames' blog post linker script (#188) 2016-06-29 09:19:08 +02:00
Philipp Oppermann
8ca12286f6 Replace page fault screenshots with divide-by-zero error screenshots 2016-06-25 17:30:26 +02:00