summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
5 dayskern: vm: Add BYTES_TO_PAGES helper macroIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern: pci: Initialize PCI bus mastering + MMIOIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern: xhci: Fixup xHCI opregs field sizesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern: usb: Extract HCSPARAMS1 register fieldsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern: usb: Poll USBSTS.CNR after resetIan Moffett
The host needs to wait for the controller to be ready by polling the CNR bit as per section 4.2 of the spec Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern: xhci: Comment USBCMD bitsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern: xhci: Implement controller hard resetIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern: io: Add initial xHCI skeletonIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern/amd64: pci: Handle 64-bit BAR addressesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern/amd64: bus: Use higher half VA for MMIOIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern: pci: Support lookups via programming ifaceIan Moffett
Introduce programming interface based lookups for devices with different kinds of interfaces Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern: pci: Get programming interface from deviceIan Moffett
Some devices are identified by very specific programming interfaces, therefore this is important to have. Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern: pci: Use LU types instead of classrev fieldIan Moffett
Instead of using bitfields to say which kind identification we are doing, it is a better idea to just use the lookup type directly as it is more scalable Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern: proc: Remove redundant flag setIan Moffett
The PROC_EXITING flag is already set within the MI layer of the process management core Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern: proc: Add process lookups by PIDIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern: mac: Document the MAC border tableIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern: Bump version up to v0.0.4Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayslibc: stdio: Add vsnprintf() and printf() implIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayslibc: string: Add itoa() implementationIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern/amd64: proc: Mark process as exiting on killIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern: proc: Documented rest of structure fieldsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayslibc: Add stdarg.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayslibc: crt: Exit after main routineIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayscmd: hush: Handle backspace on inputIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 daysconf: Beautify default boot w/ console + log tweakIan Moffett
- Do not dump memory map by default - Use a gruvbox style theme for the console Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskern: cons: Implement console backspaceIan Moffett
Backspace is implemented by moving the text and cursor position back and overwriting the old characters with a '*' blending into the background. Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskern: proc: Add getargv system callIan Moffett
Introduce a getargv system call that allows one to fetch an argument string using an index into the argument vector. Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskern: systm: Add copyoutstr()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskern: proc: Add initial penv block supportIan Moffett
This commit introduces the initial support for the process environment block and implements argv and argc. Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskern: conf: Make default fg/bg configurableIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayscmd: Add shell prototypeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayscmd: 'test.c' -> 'init.c'Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskern/amd64: Attempt to dequeue on a cores first goIan Moffett
When a CPU core first starts up, it has no proceses to assign to itself. This commit ensures that the processor will right away start trying to find tasks to grab from its runqueue. Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskern/amd64: isa: Add i8042 led shift valuesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayslibc: l5: Add spawn() syscall interfaceIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayslibc: string: Add strcmp()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskern/amd64: Handle integrated capslock LEDIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskern/amd64: Handle special keys (shift, caps, etc)Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 daysdocs: Add I/O tap naming standard draftIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 dayskern/amd64: 'i8042.port.0' -> 'input.igkbd'Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 dayslibc: Add ctype.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 dayskern: fbdev: 'video:attr' -> 'output.fbdev.attr'Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 dayskern: cons: Add text mode cursorIan Moffett
Add text mode cursor which is the inversion of the console background color. Signed-off-by: Ian Moffett <ian@osmora.org>
7 dayskern/amd64: isa: Add i8042 read timeoutIan Moffett
Add a timeout so that if data never arrives, the system doesn't get locked up. Signed-off-by: Ian Moffett <ian@osmora.org>
7 dayskern: iotap: Fix typo in commentIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 dayskern/amd64: isa: Add locks to keybuf operationsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 dayslibc: iotap: Add I/O tap syscall interfaceIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
7 dayskern: iotap: Expose I/O taps to userlandIan Moffett
Expose I/O taps to userland using a tap message interface. An application may construct a tap message to send to the kernel requesting data from a specific tap, if there is data, the buffers will be safely populated, otherwise some error returned. An example is accessing the PS/2 keyboard tap: -- char name[] = "i8042.port.0"; char buf[2] = {0, 0}; struct iotap_msg msg = { .opcode = IOTAP_OPC_READ, .buf = buf, .len = len }; ... /* muxtap() may be used */ ... -- Signed-off-by: Ian Moffett <ian@osmora.org>
7 dayskern: security: Improve scalability of MAC checksIan Moffett
The concept of resource borders is mostly used for resources that can easily be mapped into memory, synced and contain attributes. However, some things (e.g., a network resource, keyboard input, etc) may not be great with raw memory mappings. This commit mitigates this problem. Signed-off-by: Ian Moffett <ian@osmora.org>
8 dayskernel/amd64: Add PS/2 scancode buffering + IO tapIan Moffett
This commit introduces scancoding buffering as well as an I/O tap so that it may be exposed outside of the driver Signed-off-by: Ian Moffett <ian@osmora.org>