Commit Graph

582 Commits

Author SHA1 Message Date
0xAX
1dd337ed39 linux-bootstrap-2.md urls updated 2015-01-28 23:20:39 +06:00
0xAX
83214b4437 linux-bootstrap-1.md urls fixed 2015-01-28 23:19:24 +06:00
0xAX
2cd7c2b1cc boot dir created 2015-01-28 23:16:02 +06:00
0xAX
7060567758 LINKS.md 2015-01-28 23:12:16 +06:00
0xAX
1b0deb695e LINKS.md added 2015-01-25 18:11:08 +06:00
0xAX
aff1dc6a4c LINKS.md added 2015-01-24 17:23:01 +06:00
0xAX
ebeb05e67d contributors.md updated 2015-01-24 17:21:07 +06:00
0xAX
3d22b40825 Merge pull request #43 from leandromoreira/patch-1
Better description to how cpu starts
2015-01-21 13:54:52 +06:00
Leandro Moreira
f450c297a8 Better description to how cpu starts 2015-01-20 23:32:26 -02:00
0xAX
465f57d976 Merge pull request #40 from alx741/master
Just a pair of sentences corrected at Conclusion section (part 2)
2015-01-19 23:12:43 +06:00
Daniel Alejandro Campoverde Carrión [alx741]
47f3b8b9e2 Just a sentece corrected at Conclusion section
Future sentences corrected as past sentences.
2015-01-19 12:08:00 -05:00
0xAX
e523ea92c6 Merge pull request #39 from GuillaumeGomez/patch-1
Fixes the little typo
2015-01-19 19:47:10 +06:00
Guillaume Gomez
111058234d Fix the little typo
Yes, it made me feel unconfortable... By the way, I wrote some little articles but more about how to do some linux kernel stuff [here](https://github.com/GuillaumeGomez/howto-linux-kernel). Maybe you're interested to add them ?

Anyway, it was very interesting to read. Nice job !
2015-01-19 14:38:56 +01:00
0xAX
02424d3e91 Merge pull request #36 from alx741/master
Just one typo fixed and one sentece time corrected
2015-01-19 13:39:10 +06:00
0xAX
44d66e3be5 Merge pull request #38 from Huddayn/master
Fix typos
2015-01-19 13:38:35 +06:00
Hudd
1861926bac Fix typos 2015-01-19 05:28:04 +00:00
Daniel Alejandro Campoverde Carrión [alx741]
818aa3d5b3 A future sentece chage to past in a foot note at conclusions section
I guess that "If you will find any mistakes" should be better expresed
as a paste sentence "If you found any mistakes".
2015-01-18 18:01:40 -05:00
Daniel Alejandro Campoverde Carrión [alx741]
0ea66bb884 Just one typo corrected in a hex number at 'segment registers align' 2015-01-18 17:59:34 -05:00
0xAX
4da386613e Merge pull request #34 from gulyasm/typos
Fixed a typo and a grammar mistake.
2015-01-19 00:51:06 +06:00
gulyasm
89f812e01d Fixed a typo and a grammar mistake. 2015-01-18 19:45:29 +01:00
0xAX
1e8f255e44 Merge pull request #33 from codelitt/grammar-fixes
Fixed and clarified grammar/phrasing
2015-01-19 00:18:39 +06:00
Cody Littlewood
18b88cc9a8 Fixed and clarified grammar/phrasing 2015-01-18 13:01:46 -05:00
0xAX
edac22d99b Merge pull request #32 from zil/bootstrap-2_typo
fix a typo
2015-01-18 13:12:52 +06:00
zil
2ae394752d fix a typo 2015-01-18 14:59:04 +08:00
0xAX
7d33013aae Merge pull request #31 from akash0x53/linux-bootstrap-2-fix
Fixed a spelling mistake and decorated CONTRIBUTING.md
2015-01-18 12:22:24 +06:00
Akash Shende
deefd138dd Fixed a spelling mistake and decorated CONTRIBUTING.md 2015-01-18 09:43:25 +05:30
0xAX
73d966d7d9 Linux booting process. Part 2. Initial commit. 2015-01-18 00:19:38 +06:00
0xAX
97e490da34 Update linux-bootstrap-1.md 2015-01-07 23:06:05 +06:00
0xAX
27b1034889 @bogdanr added to contributors.md 2015-01-06 22:42:41 +06:00
0xAX
4d68a257af Merge pull request #28 from bogdanr/master
Minor grammar improvements
2015-01-06 22:41:59 +06:00
Bogdan Radulescu
574289a9a2 Minor grammar improvements 2015-01-06 14:14:15 +02:00
0xAX
9e7a548565 Merge pull request #26 from alexpana/linux-bootstrap-1-fix
Fixed the conversion from 2^16 to 64 kilobytes
2015-01-06 15:58:43 +06:00
Pana Alexandru
8d5ed1005b Fixed the conversion from 2^16 to 64 kilobytes 2015-01-06 09:50:40 +02:00
0xAX
b2b044345e Merge pull request #27 from andars/linux-bootstrap-1-fixes
Some grammar improvements and spelling fixes
2015-01-06 11:49:55 +06:00
andars
2f522be51e Add myself to contributors.md 2015-01-05 18:06:49 -08:00
andars
0b4662d23a Some grammar improvements and spelling fixes 2015-01-05 18:06:03 -08:00
0xAX
e8e180dbe8 Merge pull request #25 from fuzhli/segmented_address_fix
Segmented address presentation fix
2015-01-05 18:03:48 +06:00
Alex Fu
2ac540827b add myself to contributors.md 2015-01-05 17:03:24 +08:00
fuzhli
148226b922 correct the CS:IP presentation for reset vector in 80386
I think the author may need introduce the Intel processor's segment
register change from 16-bit processor to 32-bit processor. In 16-bit
processor, the CS register's value is the (segment offset)/16; while in the
32-bit processor, the CS register is still a 16-bit register, but its
value is just a index of the GDT.

In 32-bit mode, I think we can use 0xf000:0xfff0 to present the reset
vector because the CS's value is 0xf000 and IP's value is 0xfff0.

To keep with the 16-bit processor's presentation, we can also use the
0x0ffff000:0xfff0, because the CS segment offset is 0xffff000 and we can
calculate the segment's selector by (0xffff0000)/16.

In http://en.wikipedia.org/wiki/Reset_vector , it said that "The reset vector for the 80386 and later x86 processors is physical linear address FFFFFFF0h. The value of the selector portion of the CS register at reset is F000h, the value of the base portion of the CS register is FFFF0000h, and the value of the IP register at reset is FFF0h to form the segmented address FFFFF000h:FFF0h in real mode.", so it should be 0xffff000:0xfff0.

I also check the <<Intel® 64 and IA-32 Architectures Software Developer’s Manual Volume 3A: System Programming Guide, Part 1>>, in section 9.1.4 "First Instruction Excuted",  it said that "The first time the CS register is loaded with a new value after a hardware reset, the processor will follow the normal rule for address translation in real-address mode (that is, [CS base address = CS segment selector * 16]).". So in real mode, the CS base is 0xffff0000, the CS segment selector should be treated as (CS base)/16, which is 0x0ffff000.
2015-01-05 16:37:18 +08:00
0xAX
8622765cec Merge pull request #23 from akash0x53/linux-bootstrap-1-fix
Added new step :)
2015-01-05 13:08:29 +06:00
Akash Shende
76fe48f632 Added new step :) 2015-01-05 12:33:17 +05:30
0xAX
1090ca41c2 @akash0x53 added to contributors.md 2015-01-05 12:56:31 +06:00
0xAX
45eb43ed39 Merge pull request #22 from akash0x53/linux-bootstrap-1-fix
Tiny fix
2015-01-05 12:55:40 +06:00
Akash Shende
a06b040968 Tiny fix 2015-01-05 12:22:35 +05:30
0xAX
8e980ba39c contributors.md updated 2015-01-05 12:22:37 +06:00
0xAX
bf773eaf4e Merge pull request #21 from jkramarz/master
Few small fixes
2015-01-05 12:21:31 +06:00
Jakub Kramarz
94e2102d13 "Divide" spelling fix. 2015-01-05 07:11:55 +01:00
Jakub Kramarz
9141e0dbf7 Captialized all BIOS occurrences. 2015-01-05 07:11:00 +01:00
Jakub Kramarz
3fb6fc3cd9 Removed doubled colon 2015-01-05 07:09:34 +01:00
0xAX
823d25fe64 @RubanDeventhiran, @nathansoz and @Chris Costes added to contributors.md 2015-01-05 12:02:19 +06:00