Vincent Ollivier
e10c2f8a2d
Upgrade vte crate ( #145 )
...
* Upgrade vte crate
* Remove optional methods
2021-01-28 18:10:33 +01:00
Vincent Ollivier
9a4da6da1b
Fix warnings
2021-01-28 18:03:41 +01:00
dependabot-preview[bot]
c10479ac42
Bump linked_list_allocator from 0.8.8 to 0.8.9 ( #136 )
...
Bumps [linked_list_allocator](https://github.com/phil-opp/linked-list-allocator ) from 0.8.8 to 0.8.9.
- [Release notes](https://github.com/phil-opp/linked-list-allocator/releases )
- [Changelog](https://github.com/phil-opp/linked-list-allocator/blob/master/Changelog.md )
- [Commits](https://github.com/phil-opp/linked-list-allocator/compare/v0.8.8...v0.8.9 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-28 18:08:19 +01:00
dependabot-preview[bot]
6f0633cf17
Bump rand_core from 0.5.1 to 0.6.0 ( #133 )
...
Bumps [rand_core](https://github.com/rust-random/rand ) from 0.5.1 to 0.6.0.
- [Release notes](https://github.com/rust-random/rand/releases )
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/rand/compare/rand_core-0.5.1...rand_core-0.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-24 10:29:19 +01:00
dependabot-preview[bot]
a0ea9e4397
Bump rand from 0.7.3 to 0.8.0 ( #132 )
...
Bumps [rand](https://github.com/rust-random/rand ) from 0.7.3 to 0.8.0.
- [Release notes](https://github.com/rust-random/rand/releases )
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/rand/compare/0.7.3...0.8.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-22 12:02:16 +01:00
dependabot-preview[bot]
2a8dc673d8
Bump aml from 0.9.0 to 0.10.0 ( #126 )
...
Bumps [aml](https://github.com/rust-osdev/acpi ) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/rust-osdev/acpi/releases )
- [Commits](https://github.com/rust-osdev/acpi/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-21 12:11:56 +01:00
dependabot-preview[bot]
5cc4d450a7
Bump time from 0.2.22 to 0.2.23 ( #123 )
...
Bumps [time](https://github.com/time-rs/time ) from 0.2.22 to 0.2.23.
- [Release notes](https://github.com/time-rs/time/releases )
- [Changelog](https://github.com/time-rs/time/blob/v0.2.23/CHANGELOG.md )
- [Commits](https://github.com/time-rs/time/compare/v0.2.22...v0.2.23 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-21 12:08:14 +01:00
Vincent Ollivier
91c755b6b0
Add missing rx stats to pcnet driver ( #124 )
...
* Add missing rx stats to pcnet driver
* Update changelog
2020-12-21 12:03:39 +01:00
dependabot-preview[bot]
40f226ee9c
Bump acpi from 2.0.0 to 2.1.0 ( #127 )
...
Bumps [acpi](https://github.com/rust-osdev/acpi ) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/rust-osdev/acpi/releases )
- [Commits](https://github.com/rust-osdev/acpi/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-21 12:02:51 +01:00
dependabot-preview[bot]
8adc8d142e
Bump rand_chacha from 0.2.2 to 0.3.0 ( #129 )
...
Bumps [rand_chacha](https://github.com/rust-random/rand ) from 0.2.2 to 0.3.0.
- [Release notes](https://github.com/rust-random/rand/releases )
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/rand/compare/rand_chacha-0.2.2...rand_chacha-0.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-21 12:02:21 +01:00
dependabot-preview[bot]
530b6bb19a
Bump linked_list_allocator from 0.8.6 to 0.8.8 ( #130 )
...
Bumps [linked_list_allocator](https://github.com/phil-opp/linked-list-allocator ) from 0.8.6 to 0.8.8.
- [Release notes](https://github.com/phil-opp/linked-list-allocator/releases )
- [Changelog](https://github.com/phil-opp/linked-list-allocator/blob/master/Changelog.md )
- [Commits](https://github.com/phil-opp/linked-list-allocator/compare/v0.8.6...v0.8.8 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-21 12:02:01 +01:00
Vincent Ollivier
a909fb322d
Upgrade vte to 0.9.0 ( #125 )
2020-12-21 12:01:18 +01:00
Vincent Ollivier
d3e68aa387
Migrate from TravisCI to GitHub Actions ( #131 )
...
* Create rust.yml
* Delete .travis.yml
* Update rust.yml
* Update rust.yml
* Add cache
* Update CHANGELOG.md
2020-12-21 11:58:36 +01:00
Vincent Ollivier
9f46e0dd52
Fix PCNET BCNT computation ( #122 )
2020-11-16 10:35:39 +01:00
Vincent Ollivier
60ab58c292
Update changelog
2020-11-15 10:38:30 +01:00
Vincent Ollivier
5635dab19c
Disable rand_chacha with debug_assertions ( #120 )
2020-11-15 10:37:01 +01:00
Vincent Ollivier
2df0be9c42
Bump version to 0.5.0
2020-11-15 10:07:46 +01:00
Vincent Ollivier
0c50dce156
Add trailing slash when autocompleting dirs
2020-11-15 09:58:50 +01:00
Vincent Ollivier
b640623219
Update changelog
2020-11-15 09:45:34 +01:00
Vincent Ollivier
9d09d1b2ed
Add a web server ( #114 )
...
* Add HTTP server
* Update server code
* Support PUT method to update files
* Support DELETE method to delete files
* Add kernel::console::abort() to detect ^C
* Update network monitoring
* Drain console input after a program stopped
* Refactor loop exits
* Remove mut keyword
* Use MTU for TCP sockets buffer size
* Fix empty lines
* Support directory creation
* Use mtu for chunk size
2020-11-15 09:44:10 +01:00
dependabot-preview[bot]
119f01e424
Bump base64 from 0.12.3 to 0.13.0 ( #103 )
...
Bumps [base64](https://github.com/marshallpierce/rust-base64 ) from 0.12.3 to 0.13.0.
- [Release notes](https://github.com/marshallpierce/rust-base64/releases )
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md )
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.12.3...v0.13.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-14 22:38:05 +01:00
Vincent Ollivier
b9ccfb894b
Add badges to readme
2020-11-14 22:09:08 +01:00
dependabot-preview[bot]
fc5f3b3634
Bump x86_64 from 0.12.2 to 0.12.3 ( #117 )
...
Bumps [x86_64](https://github.com/rust-osdev/x86_64 ) from 0.12.2 to 0.12.3.
- [Release notes](https://github.com/rust-osdev/x86_64/releases )
- [Changelog](https://github.com/rust-osdev/x86_64/blob/master/Changelog.md )
- [Commits](https://github.com/rust-osdev/x86_64/compare/v0.12.2...v0.12.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-14 22:06:57 +01:00
Vincent Ollivier
d2f277fa01
Update readme
2020-11-14 22:05:05 +01:00
Vincent Ollivier
6009816108
Update changelog
2020-11-14 22:04:38 +01:00
Vincent Ollivier
77b18650a3
Add tests ( #118 )
...
* Add custom test framework
* Avoid compiling rand crate in test
* Hide logs in test
* Add test command to the makefile
* Add travis file
* Use QEMU isa-debug-exit device
* Update travis script
* Add more tests
* Merge box alloc tests
2020-11-14 21:52:07 +01:00
Vincent Ollivier
825f91c4a1
Use ChaCha20 RNG ( #116 )
...
* Add rand crates
* Use ChaCha RNG
* Add /dev/random
2020-11-13 00:01:08 +01:00
Vincent Ollivier
00fcfa7e08
Remove dependency on rlibc ( #115 )
2020-11-12 23:07:02 +01:00
Vincent Ollivier
2cb0b83dee
Add new `mem` command ( #113 )
...
* Add mem command
* Increase heap size to 1MB
* Refactor hex formatting
* Rename variable in memory count
* Update changelog
2020-11-10 22:11:33 +01:00
Vincent Ollivier
7839f44438
Add links to changelog
2020-11-10 08:43:49 +01:00
Vincent Ollivier
ea705f5e55
Add new date command ( #112 )
...
* Add time crate
* Rewrite date command
* Add nanoseconds precision
* Add help
* Change default date format
* Add env command
* Add TZ env var with UTC offset in seconds
* Update changelog
2020-11-10 08:39:26 +01:00
Vincent Ollivier
3fd02db036
Add ACPI shutdown ( #111 )
...
* Implement ACPI poweroff
* Rename poweroff to shutdown
* Improve logging
* Add phys_to_virt and virt_to_phys functions
* Update docs
* Refactor code
* Use hardcoded slp_typa in VirtualBox
* Fix typo
2020-11-08 18:51:09 +01:00
Vincent Ollivier
1f58f48334
Update changelog
2020-11-05 21:53:04 +01:00
Vincent Ollivier
a49670138f
Update spin crate
2020-11-05 21:51:35 +01:00
Vincent Ollivier
0d2c5343a9
Improve text editor ( #109 )
...
* Rename offset_y to dy
* Add truncated line indicator
* Render tab as spaces
* Fix insertion
* Update help
* Add horizontal screen offset
* Support delete key in editor
* Support delete key in shell
2020-11-05 21:36:16 +01:00
Vincent Ollivier
2a584af6a8
Update crates
2020-11-01 00:11:13 +01:00
Vincent Ollivier
07b58189aa
Add pcnet driver ( #82 )
...
* Update crates
* Move kernel::rtl8139 to kernel::net::rtl8139
* Refactor rtl8139 driver
* Add draft PCNET driver
* Add compilation option nic
* Add module file
* Move State to net
* Add draft implementation of smoltcp::phy::Device
* Rewrite RTL8139 to be shared between threads
* Copy buffer for RxToken
* Use only Device inside TxToken
* Fix error in packet transmission
* Update driver code
* Refactor driver
* Fix transmit packet length
* Fix number of descriptor entries setup
* Loop through owned receiver buffers
* Add ip set subcommand
* Fix MTU
* Refactor drivers
* Update readme
2020-10-31 23:20:41 +01:00
Vincent Ollivier
f97191b272
Remove cargo xbuild ( #83 )
...
* Add nanowait based on calibrated rdtsc
* Add spin_loop_hint
* Update dependencies
* Update cargo config
* Add rlibc dependency to fix compilation bug
* Remove cargo xbuild
* Update crates
* Update readme
2020-07-31 10:31:59 +02:00
Vincent Ollivier
51a1b777b6
Add nanowait busy loop with nanoseconds precision ( #78 )
...
* Add nanowait based on calibrated rdtsc
* Add spin_loop_hint
2020-07-29 23:05:57 +02:00
Vincent Ollivier
32a6d3fb9f
Bump version to 0.4.0
2020-07-29 22:09:57 +02:00
Vincent Ollivier
41d0fd7d63
Update changelog
2020-07-29 22:04:14 +02:00
Vincent Ollivier
b35f79a300
Use pc-keyboard from crates.io
2020-07-29 21:59:45 +02:00
Vincent Ollivier
fd0ffd0ed9
Rename screenshot
2020-07-27 07:23:23 +02:00
Vincent Ollivier
b0266744c2
Improve editor ( #77 )
...
* Show write status in editor
* Add 'help edit' command
* Show pathname in status bar
* Update status bar colors
* Avoid clearing before printing by overwriting whole lines
2020-07-14 11:34:38 +02:00
Vincent Ollivier
1f86f6ba7f
Add ANSI Style type ( #76 )
...
* Replace console::color() by console::Style
* Remove write_string from writers
* Keep ansi parser alive between writes
2020-07-12 18:55:29 +02:00
Vincent Ollivier
e61db9e935
Skip handling unknown keys
2020-07-12 09:58:11 +02:00
Vincent Ollivier
c91d7a95cf
Fix detection of magic superblock
2020-07-12 09:56:49 +02:00
Vincent Ollivier
672b89fd49
Fix ATA busy loop hang
2020-07-12 09:56:13 +02:00
Vincent Ollivier
da83646738
Improve ATA reset
2020-07-12 09:55:05 +02:00
Vincent Ollivier
c4daf3a88c
Run rustfmt
2020-07-11 20:33:55 +02:00