summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
28 hoursdocs: Add more docs information in READMEmainIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
28 hoursdocs: Fix typo in READMEIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
29 hoursdocs: ctlfs: Add author headerIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
29 hoursdocs: Add kernel documentationIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
29 hourskernel: ctlfs: Keep comment up to dateIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
30 hoursdocs: man: Add osh(1)Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
30 hoursdocs: Update READMEIan Moffett
- Clean up punctation - Add libs section and more programs - Add extra project information Signed-off-by: Ian Moffett <ian@osmora.org>
31 hoursproject: Bump version to 2.5Ian Moffett
- [oasm]: Add support for ADD, SUB, DIV, MUL and HLT [0 ... 4] - [oemu: cpu]: Add register dump [5] - [oasm]: Add support for '!' comments [6] - [oasm]: Implement MRO type instructions [7] - [kernel/amd64]: Keep track of online cores [8] - [kernel: accnt]: Report number of halted cores [9] - [osh]: Add banner to /etc/motd [10] - [kernel: signal]: Add SIGTERM [11] - [kernel: osh]: Add '!!' to repeat last command [12] - [kernel: termios]: Add c_oflag defines [13] - [kernel]: Introduce initial virtual system resources [14] - [kernel]: Implement POSIX uio [15, 16] - [kernel]: Add initial support for sockets [17, 18, 19, 20] - [kernel: uio]: Add iovec copyin/copyout routines [21] Commits referenced: [0]: 3ab5f07bac34bc9de5b9038407353c707f3f4c2f [1]: df9f396017f92ad4647697d461bb5475d6596cfb [2]: fa2bb7b2a5cc01c3c28c9dcd34cf65a499321b9c [3]: ea521725a7739ec568eb6961edabf71d8169ef9e [4]: 3ab5f07bac34bc9de5b9038407353c707f3f4c2f [5]: cf3b1238d3ebdf6184a9977ee6e0d3057313444c ... truncated - decoding logic added to OEMU [6]: fd0c31d4cfd6e220271e43102fb69301d7ffc664 [7]: 6bd0f17304d78e2b7e37684a672f59c9cc2444d0 ... some entries truncated [8]: cf1bb5e566ad0e346af810b399d871a74031feb2 [9]: 48587c836af7a008eff4964094e97aa1c94a34b0 [10]: 71cb1ceaaa894f642e2d294684d6ac83e965137a [11]: 87f45183e415368e3a3e67c7a632269a0375cedc [12]: 967c7daef5c4259ff0a79e91a758db335872c25e [13]: 739fc515b53dcb835dd67fb1fd8da8c9aa3b2861 [14]: 15c4ee1321be918d8fcbc8d858ea90a4dabe54a5 [15]: 0b20b44c90ec4e2de0d5d2c8da99cb915eaf4a76 [16]: b3fb473977c6bfb5294f229336a23d2071d565f8 [17]: 275108db200f6303d84d5225b80081b58866fe22 [18]: 8b599e8c8d32bdbbfe5a5ca696d4d9cdff5d5350 [19]: 037787ec82f99e3015c423c1e9a09a76017f0203 [20]: 71decb670bd84630d3639623891e46f332d58084 [21]: b3fb473977c6bfb5294f229336a23d2071d565f8 Signed-off-by: Ian Moffett <ian@osmora.org>
31 hoursusr: mrow: Use 'libgfx' instead of bare fbdevIan Moffett
Instead of relying on mmap()'ing the framebuffer and doing shape math manually, this commit puts libgfx to use. Signed-off-by: Ian Moffett <ian@osmora.org>
31 hourslib: Introduce libgfxIan Moffett
This commit introduces libgfx which is a low-level graphics library and does not know anything about windows, display architecture, etc. The job of libgfx is soley to provide an API to draw shapes, graphical objects and perform operations on them. Signed-off-by: Ian Moffett <ian@osmora.org>
31 hoursbuild/lib: Add Makefile to libs/Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
32 hoursusr: Add 'dmidump' program for DMI infomationIan Moffett
Add dmidump utility that reports information from DMI (aka system management BIOS). Signed-off-by: Ian Moffett <ian@osmora.org>
32 hourskernel: dmi: Add '/ctl/dmi/board' ctl entryIan Moffett
Add ctlfs entry for DMI to allow for easy system information from userspace by reading '/ctl/dmi/*'. This commit implements a ctlfs node that reports information about the host board. Signed-off-by: Ian Moffett <ian@osmora.org>
32 hourskernel: dmi: Add dmi_prodfam()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
33 hourskernel: dmi: Add dmi_cpu_version()Ian Moffett
Add DMI helper to grab processor version string Signed-off-by: Ian Moffett <ian@osmora.org>
3 daysusr: libc: Implement additional socket routinesIan Moffett
Implements: - sendmsg() - recvmsg() - connect() Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskernel: Add SYS_connect syscallIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskernel: socket: Implement connect()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskernel: socket: Improve control message logicIan Moffett
- Zero new control buffer before usage - Block if the control message queue is empty Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskernel: socket: Block is recv queue is emptyIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskernel: socket: Block if cmsg queue is emptyIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskernel: socket: Log socket owner PID on SCM_RIGHTSIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskernel: socket: Create a socket file in /tmp/Ian Moffett
This commit adds logic to socket() that creates a temp file that represents it. Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskernel: socket: Keep track of socket ownerIan Moffett
Keep track of the process that created a socket. Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayssys: types: Use internal typenames for typedefsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskernel: descrip: Add 'td' parameter to fd routinesIan Moffett
Update the signature of 'fd_get()', 'fd_alloc()' and 'fd_dup()' to include a pointer to the process to target. This improves the flexibility of the file descriptor API. Signed-off-by: Ian Moffett <ian@osmora.org>
3 daysetc: oemu: Add examples for LSR and LSLIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 daysusr: libc: Add initial ctype.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 daysoemu: cpu: Add decoding for shiftinstructionIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 daysoasm: Introduce logical shift operationsIan Moffett
This commit introduces LSR/LSL which are used as bitwise shift operations. -- lsr x1, #1 !! x1 >>= 1 lsl x1, #1 !! x1 <<= 1 -- Signed-off-by: Ian Moffett <ian@osmora.org>
5 daysetc: oemu: Fix conflict in test-00.sIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskernel: socket: Ensure AF_UNIX in recvmsg()Ian Moffett
Ensure that the file descriptor represented by 'socket' is of type AF_UNIX before performing the rest of recvmsg() Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskernel: Add SYS_sendmsg and SYS_recvmsgIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskernel: socket: Add initial SCM + CMSG implIan Moffett
Introduce initial implementation for out-of-band socket control messages and an SCM_RIGHTS stub. Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskernel: uio: Add iovec copyin/copyout routinesIan Moffett
Introduce copyin() and copyout() type functions made for iovec/uio operation. Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskernel: posix: Add POSIX 'uio'Ian Moffett
See https://pubs.opengroup.org/onlinepubs/009695399/basedefs/sys/uio.h.html Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskernel: Introduce per-arch M_WORD_SIZEIan Moffett
The machine word size describes how many bytes of data can be processed at once. Add a per-arch M_WORD_SIZE constant to represent this platform specific characteristic. This commit also adds an MALIGN() helper macro to sys/param.h which can be used for optimization purposes in cases where you want data to be perfectly aligned on a machine word boundary. Signed-off-by: Ian Moffett <ian@osmora.org>
6 daysusr: libc: Add libc socket functionsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskernel: net: Add socket syscallsIan Moffett
Introduce the following syscalls: - SYS_socket - SYS_bind - SYS_recv - SYS_send Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskernel: net: Introduce initial socket implIan Moffett
Introduce initial support for POSIX sockets. This commit currently implements the AF_UNIX family for IPC. Signed-off-by: Ian Moffett <ian@osmora.org>
6 daysetc: oemu: Add XOR example to test-00.sIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 daysusr: cat: Remove extra newlineIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskernel: net: Add missing sys/types.h includeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 daysoemu: cpu: Add decoding for XOR instructionIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 daysoasm: Introduce XOR mnemonicIan Moffett
Implement mnemonic for the XOR instruction: -- xor x4, #1 ! x4 = x4 ^ 1 -- Signed-off-by: Ian Moffett <ian@osmora.org>
6 daysetc: oemu: Add example for 'OR' in test-00.sIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 daysoemu: cpu: Add decoding for OR instructionIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 daysoasm: Introduce OR mnemonicIan Moffett
Implement mnemonic for the OR instruction: -- or x2, #3 ! x2 = x2 | 3 -- Signed-off-by: Ian Moffett <ian@osmora.org>
6 daysoemu: cpu: Add decoding for AND instructionIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 daysoasm: Introduce AND mnemonicIan Moffett
Implement mnemonic for the AND instruction: -- and x1, #7 ! x1 = x1 & 7 -- Signed-off-by: Ian Moffett <ian@osmora.org>