Commit Graph

596 Commits

Author SHA1 Message Date
Vincent Ollivier c2f0edd9ab
Add Intel PRO/1000 PT (#612) 2024-04-14 09:04:07 +02:00
dependabot[bot] 40516fcaa8
Bump object from 0.34.0 to 0.35.0 (#611) 2024-04-11 06:47:40 +00:00
Vincent Ollivier 577455970f Update changelog 2024-04-08 15:24:29 +02:00
Vincent Ollivier 2b91c9ccc7
Add e1000 driver (#337)
* Add e1000 network card support

* Read MAC from EEPROM

* Read MAC without EEPROM

* Add device id for ThinkPad X200

* Fix makefile merge

* Add todo list

* Add WIP implementation

* Add qemu trace to makefile

* Rewrite parts of the implementation

* Fix descriptor cloning

* Return received buffer

* Break from loop when transmitted

* Comment out debug code

* Comment out more code

* Rename allocator variables

* Fix debug issue

* Add more device ids

* Reset RxDesc status when done

* Process packet even if ICR_RXT0 is set

* Remove debug output

* Refactor code

* Fix typo

* Fix RDT updates

* Update documentation

* Update makefile to match doc

* Group network cards in readme

* Refactor code

* Avoid using ICR to check for new packets

* Fix panic on invalid datagram size

* Refactor code to stay below 80 chars

* Increase buffer size

* Add FIXME to test for EOP

* Clean up code

* Add PCI id for I217-LM

* Update hardware page

* Add PCI id for the Intel PRO/1000 GT

* Update hardware page

* Fix init_tx for Intel I217-LM

* Refactor comments

* Update website

* Fix whitespace

* Update doc for VirtualBox

* Reorder cards in doc

* Reorder cards in doc

* Restore signal

* Move makefile trace option to qemu

* Add ThinkCentre M83 to hardware list

* Increase receive buffer back to 64

* Refactor reset

* Print MAC address in uppercase

* Disable interrupts

* Add TODO comment
2024-04-08 15:23:40 +02:00
Vincent Ollivier 18ba564a1e
Reduce DHCP sleep time (#610)
* Redure DHCP sleep time

* Rename delay variable
2024-04-08 12:53:13 +02:00
Vincent Ollivier 348b2b6d63
Allow copying file to dir (#607)
* Allow copying file to dir

* Add error when trying to copy dir

* Fix root case

* Using --help is not an error

* Add check for empty destination

* Rename test
2024-04-05 09:42:05 +02:00
Vincent Ollivier d04d1a0539
Fix HTTP server (#609)
* Refactor index code

* Fix chunked receive buffer

* Fix join_path

* Fix relative path
2024-04-05 09:40:26 +02:00
Vincent Ollivier 6ab9ad713b
Fix HTTP server content type (#608) 2024-04-02 20:45:53 +02:00
Vincent Ollivier 3862a01513 Update changelog 2024-03-23 08:52:09 +01:00
Vincent Ollivier 1ff8d5d39c
Improve RNG (#602)
* Fix RNG without RDRAND

* Add RDRAND retry

* Rename random to rng

* Display warning when RDRAND is not available

* Change debug wording

* Optimize FileIO for Random

* Refactor RdRand code

* Use hash function

* Seed RNG only once
2024-03-23 08:51:06 +01:00
Vincent Ollivier ed945d585d
Fix invalid VGA palette reset (#605) 2024-03-22 15:50:52 +01:00
Vincent Ollivier 9143355cc4
Improve VGA palette parser (#604)
* Improve VGA palette parser

* Refactor code with test

* Rewrite test
2024-03-22 14:45:33 +01:00
Vincent Ollivier 3895f4618c
Fix underflow errors in VGA driver (#603) 2024-03-22 11:13:26 +01:00
Vincent Ollivier f6b8946b37
Publish version 0.10.2 (#599)
* Update changelog

* Update version number

* Update copyright year

* Update website

* Reorder changelog

* Recompile userspace binaries

* Update changelog

* Update screenshot
2024-03-20 15:44:46 +01:00
dependabot[bot] e314c6f42c
Bump x86_64 from 0.15.0 to 0.15.1 (#600) 2024-03-20 05:32:47 +00:00
Vincent Ollivier 47728432a1 Update changelog 2024-03-16 14:13:11 +01:00
Vincent Ollivier 6175fae3f0
Update Rust from nightly-2023-12-01 to nightly-2024-03-01 (#598)
* Update Rust from nightly-2023-12-01 to nightly-2024-03-01

* Run clippy

* Update binaries
2024-03-16 14:12:21 +01:00
Vincent Ollivier 4d0c956a0e
Update unit conversions (#597)
* Refactor Dir

* Update unit conversions
2024-03-16 11:00:45 +01:00
Vincent Ollivier 5ca0894241
Update documentation (#592)
* Add ntp to manual

* Refactor ntp script

* Update website

* Update install output

* Move ntp to the bottom of the manual

* Update light palette screenshot

* Update manual install output

* Update changelog

* Refactor net code

* Update website

* Update binaries

* Refactor long lines

* Update changelog

* Refactor device try_from

* Update doc
2024-03-15 19:08:10 +01:00
Vincent Ollivier 4922b2efa8
Improve setup process (#596)
* Use error and warning for late boot messages

* Remove diskless mode message

* Add option to install system in memory
2024-03-13 19:09:36 +01:00
Kidhar Bachan f29b7b1f9f
Adds a helpful println when MFS is not mounted (#595)
* Adds a helpful println when MFS is not mounted

* Addresses review comments

* Merges 2 printlns into 1 with more concise wording
2024-03-13 11:42:25 +01:00
dependabot[bot] 09497880d0
Bump pic8259 from 0.10.4 to 0.11.0 (#594) 2024-03-12 07:18:07 +00:00
dependabot[bot] a3074db1b6
Bump object from 0.33.0 to 0.34.0 (#593) 2024-03-12 07:14:20 +00:00
Vincent Ollivier 6f1de4edf4
Add drive device (#555)
* Add drive device

* Add TODO comments

* Add specific information to device files

* Handle invalid drive

* Create device file for each possible drive

* Change error messages on read failures

* Replace From with TryFrom for Device

* Refactor Device::try_from

* Add TODO comment

* Handle drive end of file

* Fix merge issue
2024-03-11 12:29:25 +01:00
Vincent Ollivier 10d9ba5833
Add memory dump command (#574)
* Add memory dump command

* Refactor disk help

* Display binary size option in list help
2024-03-11 12:27:53 +01:00
Vincent Ollivier 521b30f63e Update changelog 2024-03-10 19:21:31 +01:00
Vincent Ollivier 6652df77e8
Fix shell autocomplete (#591) 2024-03-09 13:24:06 +01:00
Vincent Ollivier 84d4d2edf4
Update x86_64 crate from 0.14.12 to 0.15.0 (#590)
* Bump x86_64 crate from 0.14.12 to 0.15.0

* Update VirtAddr offset type

* Replace GDT add_entry by append

* Update IDT index type

* Update CR2 read type

* Use Option<InterruptStackFrameValue> for process stack frame
2024-03-06 09:00:20 +01:00
Vincent Ollivier f2f64c4512 Fix typo in readme 2024-03-06 08:59:42 +01:00
dependabot[bot] f179301fe1
Bump object from 0.32.2 to 0.33.0 (#589) 2024-03-05 10:03:19 +00:00
Vincent Ollivier d9e3702df0
Add env vars to customize screen size (#585) 2024-02-28 13:42:28 +01:00
dependabot[bot] fa1fbcd29c
Bump bootloader from 0.9.24 to 0.9.28 (#586) 2024-02-28 09:56:07 +00:00
Vincent Ollivier acd213b5cc
Add timeout to socket accept (#584)
* Add timeout to socket accept

* Fix doc
2024-02-25 09:48:35 +01:00
Vincent Ollivier c923c4c6ff Update changelog 2024-02-24 14:44:26 +01:00
Vincent Ollivier 86e43e0999
Skip ATA drive selection when not needed (#576)
* Skip select drive when not needed

* Add comments
2024-02-24 14:42:49 +01:00
Vincent Ollivier aff91aefcf
Initialize ACPI module at boot time (#583) 2024-02-24 10:09:20 +01:00
Vincent Ollivier e06d068f9f
Display non printable ascii chars with a dark dot (#580)
* Display non printable ascii chars with a dark dot

* Revert into_iter
2024-02-21 08:49:44 +01:00
Vincent Ollivier 699ddf0ad8
Add time synchronisation with NTP (#579)
* Add api::time::from_timestamp_utc function

* Add date function to lisp

* Add file/exists? function to lisp

* Rewrite lisp ntp client

* Update NTP packet to work with more servers

* Fix userspace binaries build
2024-02-18 21:41:03 +01:00
Vincent Ollivier 5e92dcb2d0
Run clippy (#581) 2024-02-18 21:34:32 +01:00
Vincent Ollivier 6c8ffb2c98
Add kernel log to buffer in memory (#578)
* Add LogBuffer struct

* Store logs to buffer

* Refactor macros

* Create log dir

* Add log command to print logs

* Refactor line endings

* Hide CPU frequency when zero

* Log RTC updates
2024-02-13 19:28:23 +01:00
dependabot[bot] d1be3b7b40
Bump x86_64 from 0.14.11 to 0.14.12 (#577) 2024-02-13 08:38:21 +00:00
Vincent Ollivier c3cf72bbbe
Fix socket status reading (#575) 2024-02-11 09:27:47 +01:00
dependabot[bot] 69ab9ebf17
Bump num-traits from 0.2.17 to 0.2.18 (#572) 2024-02-10 10:16:47 +00:00
Vincent Ollivier 13aeaeb8aa
Fix random memory issues (#573)
* Move AmlContext

* Add more information for already mapped pages

* Increase stack size for ACPI shutdown

* Refactor phys_to_virt
2024-02-08 21:25:16 +01:00
dependabot[bot] a511647bad
Bump bootloader from 0.9.23 to 0.9.24 (#571) 2024-01-29 21:47:23 +00:00
Vincent Ollivier 0555e2f1ee Update changelog 2024-01-26 09:36:00 +01:00
Vincent Ollivier 0ba87525cc
Add hashbang support to execute scripts (#570)
* Add shebang support to execute scripts

* Trim interpreter string
2024-01-26 09:22:49 +01:00
Vincent Ollivier 334425b925 Fix typo 2024-01-23 21:23:02 +01:00
Vincent Ollivier c5dc33dafb Fix palette init 2024-01-18 22:19:50 +01:00
Vincent Ollivier aada07a3ef
Refactor everything to stay below 80 chars per line (#567)
* Refactor everything to stay below 80 chars per line

* Refactor hash command

* Refactor code changed by cargo fmt

* Refactor code

* Realign syscall numbers

* Update readme
2024-01-17 20:27:06 +01:00