Commit Graph

2855 Commits

Author SHA1 Message Date
Philipp Oppermann
bc30771243 Use correct exception number 2015-10-06 00:30:14 +02:00
Philipp Oppermann
427ad8dcf1 Tweak latest post highlight
Tweak JS to work on a 2nd click, too. Tweak CSS for shorter highlight and linear transition.
2015-10-06 00:17:22 +02:00
Philipp Oppermann
e24f30d86c Highlight latest post when link is clicked 2015-10-04 20:21:26 +02:00
Philipp Oppermann
445b50ce77 Update title and tagline 2015-10-04 20:20:25 +02:00
Philipp Oppermann
0c7100ca7d Add subsection for stack creation 2015-10-03 19:05:48 +02:00
Philipp Oppermann
0324241ea1 Merge pull request phil-opp/phil-opp.github.io#2 from phil-opp/better_hello_world
Rewrite Hello World section and update its code
2015-10-03 19:01:26 +02:00
Philipp Oppermann
5c4bb91592 Use new Hello World! code and rewrite its section
See phil-opp/blogOS#4 for the new `Hello World!`.
2015-10-03 18:52:51 +02:00
Philipp Oppermann
4bfd933522 Improve phrasing 2015-10-03 18:50:48 +02:00
Philipp Oppermann
3e7fd1b433 Merge pull request #4 from phil-opp/better_hello_world
Improve `Hello World!` code
2015-10-03 17:40:14 +02:00
Philipp Oppermann
5bcd6d2c2d Improve Hello World! code
Avoid special core features and complicated iterator chaining to make the code simpler overall.
2015-10-03 17:38:41 +02:00
Philipp Oppermann
93a7bb6333 many improvements 2015-09-27 18:05:43 +02:00
Philipp Oppermann
517c5eab0d Some wording improvements 2015-09-26 13:25:33 +02:00
Philipp Oppermann
9d34da7c13 WIP 2015-09-15 15:26:31 +02:00
Philipp Oppermann
6b29a31ae9 Rename main to rust_main
See phil-opp/blogOS#1.
2015-09-15 15:21:18 +02:00
Philipp Oppermann
4523352e05 Add missing links 2015-09-15 15:11:38 +02:00
Philipp Oppermann
893d720ae8 Merge pull request #1 from phil-opp/cargo_test_support
Fix testing
2015-09-15 14:54:58 +02:00
Philipp Oppermann
9c4d057e3d Don't implement lang items on testing
The `std` library is imported on testing. It already implements all lang items.
2015-09-15 14:51:38 +02:00
Philipp Oppermann
5db8977495 Rename main to rust_main to support testing
On testing, `std` is imported, which defines an own `main` function. Thus `cargo test` fails if there alread exists one non-mangled main.
2015-09-15 14:51:07 +02:00
Philipp Oppermann
d34c7a5730 Rename file for setup rust post 2015-09-10 15:35:34 +02:00
Philipp Oppermann
faf04f65c6 Many wording improvements 2015-09-10 15:34:43 +02:00
Philipp Oppermann
76d21f0e99 replace wrong uses of like 2015-09-10 14:48:09 +02:00
Philipp Oppermann
b021fe49bf replace e.g. with for example 2015-09-10 14:47:39 +02:00
Philipp Oppermann
5aabcfa38d Many wording improvements 2015-09-10 14:19:14 +02:00
Philipp Oppermann
d0c7d4d3d1 Wording: replace check with test 2015-09-10 12:50:00 +02:00
Philipp Oppermann
47b21253ec Add newline code and println! section 2015-08-30 10:36:19 +02:00
Philipp Oppermann
73377ca504 Improve code and fix headings 2015-08-30 10:35:02 +02:00
Philipp Oppermann
ce16d32e81 Add draft about printing to screen 2015-08-26 18:11:50 +02:00
Philipp Oppermann
a4bcdefbd5 Pre-publish rust setup post 2015-08-25 17:40:49 +02:00
Philipp Oppermann
41d04687d9 Shorten titles 2015-08-25 17:39:43 +02:00
Philipp Oppermann
d83a2eb130 Redesign index page to show posts in chronological order 2015-08-25 17:22:07 +02:00
Philipp Oppermann
589f540b28 Add posts to rust-os category 2015-08-25 17:09:14 +02:00
Philipp Oppermann
87f36584c2 Use jekyll features to link to next/previous posts 2015-08-25 17:07:40 +02:00
Philipp Oppermann
1e831e2266 Publish long mode post 2015-08-25 15:43:15 +02:00
Philipp Oppermann
79ac1effd6 Add hello world section 2015-08-25 15:35:33 +02:00
Philipp Oppermann
2a58061641 Many small improvements 2015-08-25 15:35:05 +02:00
Philipp Oppermann
ce26218d1f Add section about the _Unwind_Resume issue 2015-08-25 15:33:54 +02:00
Philipp Oppermann
997c8ef8f9 Create an introduction and the rust setup section 2015-08-25 15:31:51 +02:00
Philipp Oppermann
3030b1c862 Print Hello World! 2015-08-25 14:54:06 +02:00
Philipp Oppermann
03a46b4141 Print OS returned! instead of OKAY 2015-08-25 14:54:06 +02:00
Philipp Oppermann
e09ae042a3 Setup SSE because rust needs it 2015-08-25 14:54:06 +02:00
Philipp Oppermann
c65797d89f Add an 64-bit error function 2015-08-25 14:54:06 +02:00
Philipp Oppermann
c6223ed48f Omit unwinding landing pads (we don't support panics atm) 2015-08-25 14:54:06 +02:00
Philipp Oppermann
fcf69dcc53 Remove unused sections to avoid float issues
Avoids a linker error for `fmod` and `fmodf`. These functions are refenced in libcore. The KEEP ensures that the Multiboot section isn't removed.
2015-08-25 14:54:06 +02:00
Philipp Oppermann
4c793e6dd9 Add rlibc dependency for memset, memcpy, etc. 2015-08-25 14:54:06 +02:00
Philipp Oppermann
3c08203437 Call rust main function 2015-08-25 14:54:06 +02:00
Philipp Oppermann
d9ce36be11 Compile rust project in Makefile 2015-08-25 14:54:06 +02:00
Philipp Oppermann
66cc22608c Add a rust project 2015-08-25 14:54:06 +02:00
Philipp Oppermann
7e898e6a4c Reload selector registers and print OKAY 2015-08-25 14:54:06 +02:00
Philipp Oppermann
9c4b8fef9d Add and load a 64-bit GDT 2015-08-25 14:54:06 +02:00
Philipp Oppermann
457a61341a Enable paging 2015-08-25 14:54:06 +02:00