summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2 daysusr.bin: kfgwm: Ensure x/y does not overflowIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayslibc: malloc: Add HEAP_ALIGN defineIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayslibc: malloc: Fix typos in commentIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 daysusr: libc: Implement initial malloc() and free()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskernel: mman: Make MAP_ANON 0x0000Ian Moffett
MAP_ANON does not need to be treated as any specific flag bits as it isn't even checked with mmap() Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayssys: param: Add PTR_NOFFSET define to sub pointersIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskernel: Fix base-16 style in endian.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayskernel: e1000: Reset the controller before initIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayskernel: e1000: Read MAC address into `netif'Ian Moffett
This commit implements EEPROM reading logic as well as some code to read the ethernet address into a `netif' structure. Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayskernel/amd64: Only print SIMD logs on BSP initIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayskernel: e1000: Grant NIC PCI MMIO/DMA capabilitiesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayskernel: e1000: Use raw register VAP offsetsIan Moffett
The E1000 may add padding in-between registers and for the sake of simplicity, we will deal with raw offsets instead of a silly structure. Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayskernel: phy: Add initial E1000 sourcesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayskernel/amd64: Add SIMD (SSE + AVX) supportIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 daysbuild: Remove automatic installer warningIan Moffett
The Hyra installer now exists in usr.sbin/installer and is no longer automatic as it relies on user input for confirmation Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayskernel: ctlfs: Do not reclaim ctlfs entriesIan Moffett
There will likely be multiple times the reference count of a ctlfs entry will hit zero. Several programs may open and close a ctlfs node more than once and as these are hardwired kernel objects, they must always stay present. At the most we may set the vp->data field to NULL, indicating that it is currently unused. Signed-off-by: Ian Moffett <ian@osmora.org>
4 daysusr.bin: date: Print month and day of the weekIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 dayskernel/amd64: mc1468xx: Add year, month and dayIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 daysusr: usr.bin/time -> usr.bin/dateIan Moffett
Change the 'time' binary to be called 'date' as it is more fitting for the type of program it is. Signed-off-by: Ian Moffett <ian@osmora.org>
4 daysusr.bin: mrow: Set max mouse speed at 2Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 daysusr.bin: mrow: Add stdbool.h includeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 daysusr.bin: mrow: Update mouse speed per hitIan Moffett
Every time the kitty catches the squeaky thing, the next one is faster making it even more fun! Signed-off-by: Ian Moffett <ian@osmora.org>
5 daysusr.bin: mrow: Log final score on exitIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 daysusr.bin: Add 'mrow' gameIan Moffett
Add fun mrow game with the goal of catching little mice like a silly kitty!!! Signed-off-by: Ian Moffett <ian@osmora.org>
5 daysusr.bin: beep: Fix payload orderIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 daysusr: libc: Add rand() and srand()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskernel/amd64: intr: Add driver specific intr dataIan Moffett
Allow the intr_hand structure to carry driver specific and interrupt related data so that it can be passed to an interrupt handler when it is invoked. Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskernel/amd64: intr: Ensure intr_hand.name has '\0'Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskernel/amd64: Remove unused 'intr_entry' structIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskernel/aarch64: pmap: Handle PROT_EXEC prot flagIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskernel/aarch64: Implement vas and map/unmap stubsIan Moffett
- Implement pmap_map() - Implement pmap_unmap() - Implement pmap_read_vas() - Implement pmap_switch_vas() Signed-off-by: Ian Moffett <ian@osmora.org>
7 dayskernel: pmap: Add arch-shared pmap_init() routineIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 daysusr: libc: Add AARCH64 stubsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 daysbuild: Define AARCH64 specific flags in configureIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 daysusr: libc: Look in src/arch/$(ARCH) for asm filesIan Moffett
This allows seperation of different architectures Signed-off-by: Ian Moffett <ian@osmora.org>
7 daysbuild: Pass "CC" makevar to user makefilesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 dayskernel/aarch64: Add exception code + frame fixupsIan Moffett
- Add handle_exception() as higher level logic to handle the exceptions - Simplify frame.h - Call C handler in vector.S - Clean up stack after creating frame - Add register dump on exception Signed-off-by: Ian Moffett <ian@osmora.org>
7 dayskernel: Add __aligned(n) attributeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 dayskernel/aarch64: frame: Remove extra whitespaceIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 dayskernel/aarch64: Remove stray alignment directiveIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 dayskernel/aarch64: Implement initial vector stubsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 dayskernel/aarch64: Add intr_register() stubIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 dayskernel/aarch64: Make stubs up to dateIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 dayskernel/aarch64: cdefs: Make halt macro properIan Moffett
- md_halt() -> md_hlt() - Pass dummy operand Signed-off-by: Ian Moffett <ian@osmora.org>
9 daysusr: libc: Add sleep() in time.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
9 dayskernel: time: Introduce SYS_sleepIan Moffett
Add SYS_sleep to put a thread to sleep for some time through a timespec Signed-off-by: Ian Moffett <ian@osmora.org>
9 dayskernel: Introduce timespec structIan Moffett
- Introduce timespec structure for nanosecond/second precision Signed-off-by: Ian Moffett <ian@osmora.org>
9 dayskernel: Remove deprecated func declarationIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
9 dayskernel: netinet: Implement ARP reply logicIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
9 dayskernel: netinet: Simply memcpy ether_saddrIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>