Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clippy #88

Merged
merged 29 commits into from
Jan 23, 2019
Merged

clippy #88

merged 29 commits into from
Jan 23, 2019

Commits on Dec 14, 2018

  1. makefile clippy rule

    Orycterope committed Dec 14, 2018
    Configuration menu
    Copy the full SHA
    092add1 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2018

  1. lint rules

    Orycterope committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    7177744 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    57bcde2 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2018

  1. Configuration menu
    Copy the full SHA
    2f87f46 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b591d50 View commit details
    Browse the repository at this point in the history
  3. VirtualSpaceLand avoids duplicated functions

    Now start_addr and end_addr are defined from an associated constant
    of the VirtualSpaceLand trait, instead of calling a function.
    Orycterope committed Dec 16, 2018
    Configuration menu
    Copy the full SHA
    343b738 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2018

  1. Configuration menu
    Copy the full SHA
    e19796c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7d20702 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d429d6a View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2018

  1. Configuration menu
    Copy the full SHA
    f2526d6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    136aa6c View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2019

  1. Configuration menu
    Copy the full SHA
    2c89830 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2019

  1. Configuration menu
    Copy the full SHA
    2e41c8b View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2019

  1. Configuration menu
    Copy the full SHA
    00dc7e9 View commit details
    Browse the repository at this point in the history
  2. Fix UB in elf_loader::get_kacs.

    We used to break alignment requirements in elf_loader::get_kacs. To
    avoid the issue, get_kacs now simply returns a byte array, and
    ProcessCapabilities::parse uses byteorder to extract the u32 kacs
    from it.
    roblabla committed Jan 13, 2019
    Configuration menu
    Copy the full SHA
    c1133cd View commit details
    Browse the repository at this point in the history
  3. Implement Debug for Idt.

    - Rewrite EntryOptions using bit_flags. Add some type safety around
      the Gate Type and Privilege Level.
    - Manually implement Debug on IdtEntry, treating it like an enum
      based on the present flag and gate type, and joining the pointer
      fields.
    - Manually implement Debug on Idt to deal with lack of Debug on large
      arrays.
    roblabla committed Jan 13, 2019
    Configuration menu
    Copy the full SHA
    52745bb View commit details
    Browse the repository at this point in the history
  4. Use SegmentSelector in IDT.

    More type safety, and better debug implementation. While we're at it,
    make SegmentSelector aware of the TI flag (called is_ldt here).
    roblabla committed Jan 13, 2019
    Configuration menu
    Copy the full SHA
    8d8b289 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6165ea4 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2019

  1. Clippy: bootstrap.

    roblabla committed Jan 15, 2019
    Configuration menu
    Copy the full SHA
    708b3dd View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2019

  1. GDT Bugfix: DescriptorTablePointer limit is a byte length.

    While a DT entry's limit is the byte length - 1, the DTP's limit is the full
    byte length. When converting back to a Vec<DTE>, I would probably end up losing
    the entry.
    roblabla committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    9acf470 View commit details
    Browse the repository at this point in the history
  2. Clippy: Write documentation for most of the kernel.

    Missing modules are: ipc, devices and frame_allocator.
    roblabla committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    3c6c38e View commit details
    Browse the repository at this point in the history
  3. Clippy: Fix libuser/vi errors.

    This allows clippy to proceed on the full project.
    roblabla committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    490bc42 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2019

  1. clippy: kernel doc

    Added documenting for
    * pic
    * pit
    * rs232
    * frame_allocator
    * main
    * ...
    Orycterope committed Jan 17, 2019
    Configuration menu
    Copy the full SHA
    dbd5860 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2019

  1. Configuration menu
    Copy the full SHA
    023035b View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2019

  1. Clippy: Fix almost everything.

    Only thing missing: vi has some cast warnings I'm not sure how to fix.
    roblabla committed Jan 20, 2019
    Configuration menu
    Copy the full SHA
    5f61093 View commit details
    Browse the repository at this point in the history
  2. Add clippy rule to CI

    roblabla committed Jan 20, 2019
    Configuration menu
    Copy the full SHA
    8394882 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2019

  1. Configuration menu
    Copy the full SHA
    4760297 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2019

  1. Configuration menu
    Copy the full SHA
    37b398a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fbd5755 View commit details
    Browse the repository at this point in the history