Bran's Kernel Development Tutorial Known Bugs: Difference between revisions

Fix typographical error
[unchecked revision][unchecked revision]
(Add info about BF being abandoned)
(Fix typographical error)
 
(2 intermediate revisions by the same user not shown)
Line 1:
Several sources - including this Wiki - point to [http://osdever.net/bkerndev/Docs/basickernel.htm Bran's Kernel Development Tutorial] as a starting point. This is all well, but there are some issues with that tutorial that usually make people appear on the forum and asking all the same questions again. This article is meant to preempt those questions, like a "Bran's FAQ" if you like.
 
NOTE: osdever.net, the site that contains Bran's tutorial, haswent beendown abandonedfor an extended amount of time recently. You can still find it no matter what on the [http://web.archive.org/web/20190306175430/http://osdever.net/bkerndev/Docs/basickernel.htm Internet Archive].
 
===As soon as I add strings, things go wrong.===
Line 53:
 
===Does not properly set up PIT===
The tutorial says the PIT setup code snippet init provides is "optional", when in reality it isn't. Don't get tripped on this bug like I did.
 
===Does not use Cross-Compiler===
Line 70:
 
===Compiler error: unknown type name ‘size_t'===
GCC produces the following errors: ''unknown type name 'X'''. The tutorial source code doesn't include any standard definitions for types like ''size_t'' or ''uint_32uint32_t''. Including the following headers in each source file:
<syntaxhighlight lang="c">
#include <stdbool.h>
Anonymous user