{"id":24721884,"url":"https://github.com/sofisar/c_elevator-kernel-module_fall-2023","last_synced_at":"2025-07-22T03:33:17.677Z","repository":{"id":271735600,"uuid":"864759082","full_name":"SofiSaR/C_Elevator-Kernel-Module_Fall-2023","owner":"SofiSaR","description":"Although the Linux OS environment must be altered for this to run, this kernel module moves an \"elevator\" up and down 6 \"floors\" in FIFO fashion, responding to floor requests made by threads that enter the program.","archived":false,"fork":false,"pushed_at":"2024-09-29T04:51:58.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-11T06:05:03.417Z","etag":null,"topics":["c","kernel","kernel-module","multithreading","operating-systems","os"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SofiSaR.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-29T04:51:17.000Z","updated_at":"2024-09-29T04:56:00.000Z","dependencies_parsed_at":"2025-01-09T15:45:41.522Z","dependency_job_id":"9a37fd81-8534-4e10-be6e-84be29d86e13","html_url":"https://github.com/SofiSaR/C_Elevator-Kernel-Module_Fall-2023","commit_stats":null,"previous_names":["sofisar/c_elevator-kernel-module_fall-2023"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SofiSaR/C_Elevator-Kernel-Module_Fall-2023","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SofiSaR%2FC_Elevator-Kernel-Module_Fall-2023","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SofiSaR%2FC_Elevator-Kernel-Module_Fall-2023/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SofiSaR%2FC_Elevator-Kernel-Module_Fall-2023/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SofiSaR%2FC_Elevator-Kernel-Module_Fall-2023/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SofiSaR","download_url":"https://codeload.github.com/SofiSaR/C_Elevator-Kernel-Module_Fall-2023/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SofiSaR%2FC_Elevator-Kernel-Module_Fall-2023/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266420043,"owners_count":23925869,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","kernel","kernel-module","multithreading","operating-systems","os"],"created_at":"2025-01-27T12:14:51.405Z","updated_at":"2025-07-22T03:33:17.632Z","avatar_url":"https://github.com/SofiSaR.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# project_2_group_10\nProject 2: Division of Labor\nOperating Systems\n\nTeam Members:\n1. Fernando Parra: fap20g@fsu.edu – fap20g\n2. Roderick Shaw: rks21b@fsu.edu – rks21b\n3. Sofia Sanchez: srs20h@fsu.edu – srs20h\n\nPart 1: System Call Tracing\n- Roderick Shaw, Fernando Parra\n\nPart 2: Timer Kernel Module\n- Roderick Shaw\n\nPart 3a: Adding System Calls\n- Roderick Shaw, Fernando Parra, Sofia Sanchez\n\nPart 3b: Kernel Compilation\n- Roderick Shaw, Fernando Parra, Sofia Sanchez\n\nPart 3c: Threads\n- Sofia Sanchez\n\nPart 3d: Linked List\n- Roderick Shaw, Fernando Parra, Sofia Sanchez\n\nPart 3e: Mutexes\n- Roderick Shaw, Sofia Sanchez\n\nPart 3f: Scheduling Algorithm\n- Sofia Sanchez\n\nList of Files:\n```\n│\n├── part 1/\n│ |── empty.c\n│ |── empty.trace\n│ |── part1.c\n| └── part1.trace\n├── part 2/\n│ |── src/\n| |   └──my_timer.c\n│ └── Makefile\n├── part 3/\n│ |── src/\n| |   └──elevator.c\n│ |── Makefile\n| └── syscalls.c\n├── README.md\n```\n\n## How to Compile \u0026 Execute\n\n### Requirements\n- **Compiler**: gcc -std=c99 nameOfFile -o whatYouWantTheExecutableToBeNamed\n- **Dependencies**: None needed to be downloaded\n\n### Compilation\n```bash\nmake\n```\nThis will build the modules you need to run the part 2 and part 3 program. However, you need\nto execute this command in both directories because they have different makefiles.\n### Execution\n```bash\nsudo insmod your_module.ko\nexecute your command here\nsudo rmmod your_module.ko\n```\nFor part 2, run this for a basic demonstration:\n```\ncat /proc/elevator\n```\nFor part 3, run this for the full elevator:\n```\nwatch -n 1 cat /proc/elevator\n```\n - Then, pull up a new terminal, go to the producer-consumer executables, and execute these commands:\n```\n./producer urNumOfStudents\n./consumer --start\n./consumer --stop\n```\n  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsofisar%2Fc_elevator-kernel-module_fall-2023","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsofisar%2Fc_elevator-kernel-module_fall-2023","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsofisar%2Fc_elevator-kernel-module_fall-2023/lists"}