forked from ESALP/ESALP-1
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix compilation and generally improve things
This project hasn't had a commit in awhile, so this is more of a messy sweep-up job than anything else. Months of negligence on a "nightly" versioned project leads to several compilation failures, which have now been fixed. These include the merging of `collections` and `alloc` crates. The change of the `Unique` struct. And a new target option has been added, which made cross cross compilation fail. There have been also several general improvements. These include the new use of the `x86_64` crate, instead of x86, which simplifies code (but also requires a quite larger stack). This enables interrupt handling to be greatly simplified when paired with the new "x86-interrupt" abi. Also there is a small change to printing that allows for waiting for the writer to flush. This is very useful for color switching. Finally there have been a few minor changes, including changing the name of the ugly `(ARCH)-unknown-none-gnu` to `(ARCH)-ESALP`. And a small .gdbinit file has been added which should simplify debugging with qemu. Many of these changes are better shown my themselves in Blog-OS. Please see phil-opp/blog_os#289 phil-opp/blog_os#325 and phil-opp/blog_os#333 for more details.
- Loading branch information
Calvin Lee
committed
Jun 27, 2017
1 parent
3f05746
commit eb7303a
Showing
16 changed files
with
99 additions
and
365 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
file ./build/kernel-x86_64.bin | ||
target remote localhost:1234 | ||
set architecture i386:x86-64 | ||
set disassembly-flavor intel | ||
|
||
display /i $pc | ||
|
||
define longfix | ||
disconnect | ||
set architecture i386:x86-64:intel | ||
target remote localhost:1234 | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[target.x86_64-ESALP.dependencies] | ||
alloc = {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -351,5 +351,5 @@ kernel_table: | |
; undefined behavior. | ||
align 16 | ||
stack_bottom: | ||
resb 4096 * 2 | ||
resb 4096 * 6 | ||
stack_top: |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.