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

Dodatek #17

Open
tomekjaworski opened this issue Jul 9, 2019 · 0 comments
Open

Dodatek #17

tomekjaworski opened this issue Jul 9, 2019 · 0 comments

Comments

@tomekjaworski
Copy link

Jeżeli wyposaży Pan strukturę mem_header w const char* file_name oraz int line a kmalloc zastąpi makrem, wywołującym właściwą funkcję (np. __kmalloc) z dodatkowymi parametrami __FILE__ oraz __LINE__ to będzie mógł Pan również wyświetlić nazwę pliku oraz linię, w której dany blok został zaalokowany. Z czasem będzie to wyjątkowo przydatne :)

https://github.com/klima7/OS/blob/b8a7c3ce4fa81f07be4b8292221aaeb57c19cf77/allocator.c#L181

@klima7 klima7 pinned this issue Jul 11, 2019
@klima7 klima7 unpinned this issue Jul 11, 2019
klima7 added a commit that referenced this issue Jul 11, 2019
- dodany mechanizm śledzenia stron
- poprawiona sterta
- kilkanaści funkcji i stałych zmieniło nazwy na bardziej wymowne

Naprawione usterki:
#6 #9 #10 #11 #15 #16 #17
klima7 added a commit that referenced this issue Jul 11, 2019
- dodany mechanizm śledzenia stron
- poprawiona sterta
- kilkanaście funkcji, stałych i zmiennych zmieniło nazwy na bardziej wymowne

Poprawione usterki:
#6 #9 #10 #11 #15 #16 #17
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

No branches or pull requests

1 participant