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

Add Error Checks to PCI Functions and Reorganize libc Structure #113

Merged
merged 16 commits into from
Oct 30, 2024

Conversation

Galfurian
Copy link
Member

@Galfurian Galfurian commented Oct 30, 2024

Add Error Checks to PCI Functions and Reorganize libc Structure

Summary:

This pull request includes improvements for error handling in PCI functions, a fix for PCI bridge detection, and some file reorganizations.

Changes:

  1. PCI Error Checks:

    • Added more error checks to ensure PCI functions handle edge cases properly.
  2. Fix PCI Bridge Detection:

    • Corrected the detection of PCI bridges.
  3. libc Reorganization:

    • Moved unistd.h to the root folder.
    • Added the ctime function.
    • Remove files from kernel side that are already inside the libc.
  4. New Tests:

    • Added a test for the chdir function.
  5. Merged Upstream Changes:

    • Integrated updates from the develop branch.

@Galfurian Galfurian merged commit 5b0fcbb into mentos-team:develop Oct 30, 2024
18 checks passed
@@ -10,7 +10,8 @@
#include <stdlib.h>
#include <string.h>
#include <sys/errno.h>
#include <sys/unistd.h>
#include <unistd.h>
#include <unistd.h>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate include.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants