forked from nanvix/nanvix
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
93 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
# Nanvix | ||
# BThread - A basic user-level thread library for Nanvix | ||
|
||
[![Join us on Slack!](https://img.shields.io/badge/chat-on%20Slack-e01563.svg)](https://join.slack.com/t/nanvix/shared_invite/zt-1yu30bs28-nsNmw8IwCyh6MBBV~B~X7w) | ||
The Bthread library is created for the Interdisciplinary Project V subject | ||
of the computer science course at PUC Minas. | ||
|
||
## What Is Nanvix? | ||
|
||
> This repository hosts the educational version of Nanvix. | ||
Nanvix is a Unix-like operating system written by [Pedro Henrique | ||
[Nanvix](https://github.com/nanvix/nanvix) is a Unix-like operating system written by [Pedro Henrique | ||
Penna](https://github.com/ppenna) for educational purposes. It is designed to be | ||
simple and small, but also modern and fully featured. | ||
|
||
|
@@ -16,10 +15,20 @@ Nanvix targets 32-bit x86-based PCs and only requires a floppy or | |
CD-ROM drive and 16 MB of RAM. You can run it either in a real PC | ||
or in a virtual machine, using a system image. | ||
|
||
|
||
|
||
## License and Maintainers | ||
|
||
### Nanvix | ||
|
||
Nanvix is a free software that is under the GPL V3 license and is | ||
maintained by Pedro Henrique Penna. Any questions or suggestions send him an | ||
email: <[email protected]> | ||
|
||
### BThread | ||
|
||
BThread is also under the GPL V3 license and is created by: | ||
|
||
- [Arthur Ruiz](https://github.com/ArthurSRuiz) | ||
- [Edmar Melandes](https://github.com/Lexizz7) | ||
- [Marco Aurélio Noronha](https://github.com/marconoronha) | ||
- [Pedro Pampolini](https://github.com/PedroPampolini) | ||
- [Vinicius Gabriel Santos](https://github.com/ravixr) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#ifndef BTHREAD_H_ | ||
#define BTHREAD_H_ | ||
|
||
|
||
|
||
#endif /* BTHREAD_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# | ||
# Copyright(C) 2011-2016 Pedro H. Penna <[email protected]> | ||
# | ||
# This file is part of Nanvix. | ||
# | ||
# Nanvix is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# Nanvix is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with Nanvix. If not, see <http://www.gnu.org/licenses/>. | ||
# | ||
|
||
# C source files. | ||
C_SRC = $(wildcard *.c) \ | ||
|
||
# Object files. | ||
OBJ = $(C_SRC:.c=.o) \ | ||
|
||
# Library name. | ||
LIB = bthread.a | ||
|
||
# Builds the library. | ||
all: $(OBJ) | ||
$(AR) $(ARFLAGS) $(LIBDIR)/$(LIB) $^ | ||
|
||
# Builds object file from C source file. | ||
%.o: %.c | ||
$(CC) $< $(CFLAGS) -c -o $@ | ||
|
||
# Cleans compilation files. | ||
clean: | ||
@rm -f $(LIBDIR)/$(LIB) | ||
@rm -f $(OBJ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#include <stdio.h> | ||
#include <bthread.h> | ||
|
||
int main(/*int argc, char *const argv[]*/) | ||
{ | ||
fprintf(stderr, "Not implemented yet!\n"); | ||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters