diff --git a/.gitignore b/.gitignore index 75bf459..3efb29d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,11 @@ -.vscode/ +**/.vscode/ +**/.clang-format **/.gdbinit + **/*.o **/output.txt **/trace.txt + lab2/lab2 lab3/lab3 lab4/lab4 diff --git a/lab2/.clang-format b/lab2/.clang-format deleted file mode 100755 index 5055834..0000000 --- a/lab2/.clang-format +++ /dev/null @@ -1,73 +0,0 @@ -BasedOnStyle: LLVM -AccessModifierOffset: -2 -AlignAfterOpenBracket: true -AlignEscapedNewlinesLeft: false -AlignOperands: true -AlignTrailingComments: true -AllowAllParametersOfDeclarationOnNextLine: true -AllowShortBlocksOnASingleLine: true -AllowShortCaseLabelsOnASingleLine: true -AllowShortFunctionsOnASingleLine: All -AllowShortIfStatementsOnASingleLine: false -AllowShortLoopsOnASingleLine: true -AlwaysBreakAfterDefinitionReturnType: false -AlwaysBreakBeforeMultilineStrings: false -AlwaysBreakTemplateDeclarations: false -BinPackArguments: true -BinPackParameters: true -BraceWrapping: - AfterClass: false - AfterControlStatement: false - AfterEnum: false - AfterFunction: false - AfterNamespace: false - AfterObjCDeclaration: true - AfterStruct: false - AfterUnion: false - BeforeCatch: true - BeforeElse: true - IndentBraces: false -BreakBeforeBinaryOperators: None -BreakBeforeBraces: Custom -BreakBeforeTernaryOperators: true -BreakConstructorInitializersBeforeComma: false -ColumnLimit: 0 -CommentPragmas: '^ IWYU pragma:' -ConstructorInitializerAllOnOneLineOrOnePerLine: false -ConstructorInitializerIndentWidth: 2 -ContinuationIndentWidth: 2 -Cpp11BracedListStyle: true -DerivePointerAlignment: false -DisableFormat: false -ExperimentalAutoDetectBinPacking: false -IndentCaseLabels: true -IndentPPDirectives: AfterHash -IndentWidth: 2 -IndentWrappedFunctionNames: false -KeepEmptyLinesAtTheStartOfBlocks: true -Language: Cpp -MaxEmptyLinesToKeep: 1 -NamespaceIndentation: None -ObjCBlockIndentWidth: 2 -ObjCSpaceAfterProperty: false -ObjCSpaceBeforeProtocolList: true -PenaltyBreakBeforeFirstCallParameter: 19 -PenaltyBreakComment: 300 -PenaltyBreakFirstLessLess: 120 -PenaltyBreakString: 1000 -PenaltyExcessCharacter: 1000000 -PenaltyReturnTypeOnItsOwnLine: 60 -PointerAlignment: Right -SpaceAfterCStyleCast: true -SpaceBeforeAssignmentOperators: true -SpaceBeforeParens: ControlStatements -SpaceInEmptyParentheses: false -SpacesBeforeTrailingComments: 1 -SpacesInAngles: false -SpacesInCStyleCastParentheses: false -SpacesInContainerLiterals: true -SpacesInParentheses: false -SpacesInSquareBrackets: false -Standard: Cpp11 -TabWidth: 2 -UseTab: Never diff --git a/lab2/.vscode/c_cpp_properties.json b/lab2/.vscode/c_cpp_properties.json deleted file mode 100755 index 13fc586..0000000 --- a/lab2/.vscode/c_cpp_properties.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "env": { - "minix.include": "${workspaceFolder}/../.minix-src/include" - }, - "configurations": [{ - "name": "Minix", - "compilerPath": "", - "cStandard": "c11", - "defines": ["__minix", "_MINIX", "_NETBSD_SOURCE", "__i386__"], - "includePath": ["${workspaceFolder}", "${env:minix.include}"], - "browse": { - "path": ["${workspaceFolder}", "${env:minix.include}"], - "limitSymbolsToIncludedHeaders": false, - "databaseFilename": "" - } - }], - "version": 4 -} - diff --git a/lab2/.vscode/extensions.json b/lab2/.vscode/extensions.json deleted file mode 100755 index 3dceb92..0000000 --- a/lab2/.vscode/extensions.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - // See http://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations. - // Extension identifier format: ${publisher}.${name}. Example: vscode.csharp - // List of extensions which should be recommended for users of this workspace. - "recommendations": [ - "ms-vscode.cpptools", - "xaver.clang-format" - ], - // List of extensions recommended by VS Code that should not be recommended for users of this workspace. - "unwantedRecommendations": ["austin.code-gnu-global"] -} diff --git a/lab2/.vscode/settings.json b/lab2/.vscode/settings.json deleted file mode 100755 index fa731ea..0000000 --- a/lab2/.vscode/settings.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "git.ignoreLimitWarning": true, - "C_Cpp.clang_format_fallbackStyle": "LLVM", - "diffEditor.ignoreTrimWhitespace": true, - "editor.formatOnSave": false, - "editor.tabSize": 2, - "editor.wordWrap": "bounded", - "editor.wordWrapColumn": 100, - "files.associations": { }, -} \ No newline at end of file diff --git a/lab3/.clang-format b/lab3/.clang-format deleted file mode 100755 index 5055834..0000000 --- a/lab3/.clang-format +++ /dev/null @@ -1,73 +0,0 @@ -BasedOnStyle: LLVM -AccessModifierOffset: -2 -AlignAfterOpenBracket: true -AlignEscapedNewlinesLeft: false -AlignOperands: true -AlignTrailingComments: true -AllowAllParametersOfDeclarationOnNextLine: true -AllowShortBlocksOnASingleLine: true -AllowShortCaseLabelsOnASingleLine: true -AllowShortFunctionsOnASingleLine: All -AllowShortIfStatementsOnASingleLine: false -AllowShortLoopsOnASingleLine: true -AlwaysBreakAfterDefinitionReturnType: false -AlwaysBreakBeforeMultilineStrings: false -AlwaysBreakTemplateDeclarations: false -BinPackArguments: true -BinPackParameters: true -BraceWrapping: - AfterClass: false - AfterControlStatement: false - AfterEnum: false - AfterFunction: false - AfterNamespace: false - AfterObjCDeclaration: true - AfterStruct: false - AfterUnion: false - BeforeCatch: true - BeforeElse: true - IndentBraces: false -BreakBeforeBinaryOperators: None -BreakBeforeBraces: Custom -BreakBeforeTernaryOperators: true -BreakConstructorInitializersBeforeComma: false -ColumnLimit: 0 -CommentPragmas: '^ IWYU pragma:' -ConstructorInitializerAllOnOneLineOrOnePerLine: false -ConstructorInitializerIndentWidth: 2 -ContinuationIndentWidth: 2 -Cpp11BracedListStyle: true -DerivePointerAlignment: false -DisableFormat: false -ExperimentalAutoDetectBinPacking: false -IndentCaseLabels: true -IndentPPDirectives: AfterHash -IndentWidth: 2 -IndentWrappedFunctionNames: false -KeepEmptyLinesAtTheStartOfBlocks: true -Language: Cpp -MaxEmptyLinesToKeep: 1 -NamespaceIndentation: None -ObjCBlockIndentWidth: 2 -ObjCSpaceAfterProperty: false -ObjCSpaceBeforeProtocolList: true -PenaltyBreakBeforeFirstCallParameter: 19 -PenaltyBreakComment: 300 -PenaltyBreakFirstLessLess: 120 -PenaltyBreakString: 1000 -PenaltyExcessCharacter: 1000000 -PenaltyReturnTypeOnItsOwnLine: 60 -PointerAlignment: Right -SpaceAfterCStyleCast: true -SpaceBeforeAssignmentOperators: true -SpaceBeforeParens: ControlStatements -SpaceInEmptyParentheses: false -SpacesBeforeTrailingComments: 1 -SpacesInAngles: false -SpacesInCStyleCastParentheses: false -SpacesInContainerLiterals: true -SpacesInParentheses: false -SpacesInSquareBrackets: false -Standard: Cpp11 -TabWidth: 2 -UseTab: Never diff --git a/lab3/.vscode/c_cpp_properties.json b/lab3/.vscode/c_cpp_properties.json deleted file mode 100755 index 13fc586..0000000 --- a/lab3/.vscode/c_cpp_properties.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "env": { - "minix.include": "${workspaceFolder}/../.minix-src/include" - }, - "configurations": [{ - "name": "Minix", - "compilerPath": "", - "cStandard": "c11", - "defines": ["__minix", "_MINIX", "_NETBSD_SOURCE", "__i386__"], - "includePath": ["${workspaceFolder}", "${env:minix.include}"], - "browse": { - "path": ["${workspaceFolder}", "${env:minix.include}"], - "limitSymbolsToIncludedHeaders": false, - "databaseFilename": "" - } - }], - "version": 4 -} - diff --git a/lab3/.vscode/extensions.json b/lab3/.vscode/extensions.json deleted file mode 100755 index 3dceb92..0000000 --- a/lab3/.vscode/extensions.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - // See http://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations. - // Extension identifier format: ${publisher}.${name}. Example: vscode.csharp - // List of extensions which should be recommended for users of this workspace. - "recommendations": [ - "ms-vscode.cpptools", - "xaver.clang-format" - ], - // List of extensions recommended by VS Code that should not be recommended for users of this workspace. - "unwantedRecommendations": ["austin.code-gnu-global"] -} diff --git a/lab3/.vscode/settings.json b/lab3/.vscode/settings.json deleted file mode 100755 index fa731ea..0000000 --- a/lab3/.vscode/settings.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "git.ignoreLimitWarning": true, - "C_Cpp.clang_format_fallbackStyle": "LLVM", - "diffEditor.ignoreTrimWhitespace": true, - "editor.formatOnSave": false, - "editor.tabSize": 2, - "editor.wordWrap": "bounded", - "editor.wordWrapColumn": 100, - "files.associations": { }, -} \ No newline at end of file diff --git a/lab4/.clang-format b/lab4/.clang-format deleted file mode 100755 index 5055834..0000000 --- a/lab4/.clang-format +++ /dev/null @@ -1,73 +0,0 @@ -BasedOnStyle: LLVM -AccessModifierOffset: -2 -AlignAfterOpenBracket: true -AlignEscapedNewlinesLeft: false -AlignOperands: true -AlignTrailingComments: true -AllowAllParametersOfDeclarationOnNextLine: true -AllowShortBlocksOnASingleLine: true -AllowShortCaseLabelsOnASingleLine: true -AllowShortFunctionsOnASingleLine: All -AllowShortIfStatementsOnASingleLine: false -AllowShortLoopsOnASingleLine: true -AlwaysBreakAfterDefinitionReturnType: false -AlwaysBreakBeforeMultilineStrings: false -AlwaysBreakTemplateDeclarations: false -BinPackArguments: true -BinPackParameters: true -BraceWrapping: - AfterClass: false - AfterControlStatement: false - AfterEnum: false - AfterFunction: false - AfterNamespace: false - AfterObjCDeclaration: true - AfterStruct: false - AfterUnion: false - BeforeCatch: true - BeforeElse: true - IndentBraces: false -BreakBeforeBinaryOperators: None -BreakBeforeBraces: Custom -BreakBeforeTernaryOperators: true -BreakConstructorInitializersBeforeComma: false -ColumnLimit: 0 -CommentPragmas: '^ IWYU pragma:' -ConstructorInitializerAllOnOneLineOrOnePerLine: false -ConstructorInitializerIndentWidth: 2 -ContinuationIndentWidth: 2 -Cpp11BracedListStyle: true -DerivePointerAlignment: false -DisableFormat: false -ExperimentalAutoDetectBinPacking: false -IndentCaseLabels: true -IndentPPDirectives: AfterHash -IndentWidth: 2 -IndentWrappedFunctionNames: false -KeepEmptyLinesAtTheStartOfBlocks: true -Language: Cpp -MaxEmptyLinesToKeep: 1 -NamespaceIndentation: None -ObjCBlockIndentWidth: 2 -ObjCSpaceAfterProperty: false -ObjCSpaceBeforeProtocolList: true -PenaltyBreakBeforeFirstCallParameter: 19 -PenaltyBreakComment: 300 -PenaltyBreakFirstLessLess: 120 -PenaltyBreakString: 1000 -PenaltyExcessCharacter: 1000000 -PenaltyReturnTypeOnItsOwnLine: 60 -PointerAlignment: Right -SpaceAfterCStyleCast: true -SpaceBeforeAssignmentOperators: true -SpaceBeforeParens: ControlStatements -SpaceInEmptyParentheses: false -SpacesBeforeTrailingComments: 1 -SpacesInAngles: false -SpacesInCStyleCastParentheses: false -SpacesInContainerLiterals: true -SpacesInParentheses: false -SpacesInSquareBrackets: false -Standard: Cpp11 -TabWidth: 2 -UseTab: Never diff --git a/lab4/.vscode/c_cpp_properties.json b/lab4/.vscode/c_cpp_properties.json deleted file mode 100755 index 13fc586..0000000 --- a/lab4/.vscode/c_cpp_properties.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "env": { - "minix.include": "${workspaceFolder}/../.minix-src/include" - }, - "configurations": [{ - "name": "Minix", - "compilerPath": "", - "cStandard": "c11", - "defines": ["__minix", "_MINIX", "_NETBSD_SOURCE", "__i386__"], - "includePath": ["${workspaceFolder}", "${env:minix.include}"], - "browse": { - "path": ["${workspaceFolder}", "${env:minix.include}"], - "limitSymbolsToIncludedHeaders": false, - "databaseFilename": "" - } - }], - "version": 4 -} - diff --git a/lab4/.vscode/extensions.json b/lab4/.vscode/extensions.json deleted file mode 100755 index 3dceb92..0000000 --- a/lab4/.vscode/extensions.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - // See http://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations. - // Extension identifier format: ${publisher}.${name}. Example: vscode.csharp - // List of extensions which should be recommended for users of this workspace. - "recommendations": [ - "ms-vscode.cpptools", - "xaver.clang-format" - ], - // List of extensions recommended by VS Code that should not be recommended for users of this workspace. - "unwantedRecommendations": ["austin.code-gnu-global"] -} diff --git a/lab4/.vscode/settings.json b/lab4/.vscode/settings.json deleted file mode 100755 index fa731ea..0000000 --- a/lab4/.vscode/settings.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "git.ignoreLimitWarning": true, - "C_Cpp.clang_format_fallbackStyle": "LLVM", - "diffEditor.ignoreTrimWhitespace": true, - "editor.formatOnSave": false, - "editor.tabSize": 2, - "editor.wordWrap": "bounded", - "editor.wordWrapColumn": 100, - "files.associations": { }, -} \ No newline at end of file diff --git a/lab5/.vscode/c_cpp_properties.json b/lab5/.vscode/c_cpp_properties.json deleted file mode 100755 index 13fc586..0000000 --- a/lab5/.vscode/c_cpp_properties.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "env": { - "minix.include": "${workspaceFolder}/../.minix-src/include" - }, - "configurations": [{ - "name": "Minix", - "compilerPath": "", - "cStandard": "c11", - "defines": ["__minix", "_MINIX", "_NETBSD_SOURCE", "__i386__"], - "includePath": ["${workspaceFolder}", "${env:minix.include}"], - "browse": { - "path": ["${workspaceFolder}", "${env:minix.include}"], - "limitSymbolsToIncludedHeaders": false, - "databaseFilename": "" - } - }], - "version": 4 -} - diff --git a/lab5/.vscode/extensions.json b/lab5/.vscode/extensions.json deleted file mode 100755 index 3dceb92..0000000 --- a/lab5/.vscode/extensions.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - // See http://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations. - // Extension identifier format: ${publisher}.${name}. Example: vscode.csharp - // List of extensions which should be recommended for users of this workspace. - "recommendations": [ - "ms-vscode.cpptools", - "xaver.clang-format" - ], - // List of extensions recommended by VS Code that should not be recommended for users of this workspace. - "unwantedRecommendations": ["austin.code-gnu-global"] -} diff --git a/lab5/.vscode/settings.json b/lab5/.vscode/settings.json deleted file mode 100755 index fa731ea..0000000 --- a/lab5/.vscode/settings.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "git.ignoreLimitWarning": true, - "C_Cpp.clang_format_fallbackStyle": "LLVM", - "diffEditor.ignoreTrimWhitespace": true, - "editor.formatOnSave": false, - "editor.tabSize": 2, - "editor.wordWrap": "bounded", - "editor.wordWrapColumn": 100, - "files.associations": { }, -} \ No newline at end of file diff --git a/proj/doc/.empty b/proj/doc/.empty deleted file mode 100644 index e69de29..0000000 diff --git a/proj/src/.clang-format b/proj/src/.clang-format deleted file mode 100755 index 5055834..0000000 --- a/proj/src/.clang-format +++ /dev/null @@ -1,73 +0,0 @@ -BasedOnStyle: LLVM -AccessModifierOffset: -2 -AlignAfterOpenBracket: true -AlignEscapedNewlinesLeft: false -AlignOperands: true -AlignTrailingComments: true -AllowAllParametersOfDeclarationOnNextLine: true -AllowShortBlocksOnASingleLine: true -AllowShortCaseLabelsOnASingleLine: true -AllowShortFunctionsOnASingleLine: All -AllowShortIfStatementsOnASingleLine: false -AllowShortLoopsOnASingleLine: true -AlwaysBreakAfterDefinitionReturnType: false -AlwaysBreakBeforeMultilineStrings: false -AlwaysBreakTemplateDeclarations: false -BinPackArguments: true -BinPackParameters: true -BraceWrapping: - AfterClass: false - AfterControlStatement: false - AfterEnum: false - AfterFunction: false - AfterNamespace: false - AfterObjCDeclaration: true - AfterStruct: false - AfterUnion: false - BeforeCatch: true - BeforeElse: true - IndentBraces: false -BreakBeforeBinaryOperators: None -BreakBeforeBraces: Custom -BreakBeforeTernaryOperators: true -BreakConstructorInitializersBeforeComma: false -ColumnLimit: 0 -CommentPragmas: '^ IWYU pragma:' -ConstructorInitializerAllOnOneLineOrOnePerLine: false -ConstructorInitializerIndentWidth: 2 -ContinuationIndentWidth: 2 -Cpp11BracedListStyle: true -DerivePointerAlignment: false -DisableFormat: false -ExperimentalAutoDetectBinPacking: false -IndentCaseLabels: true -IndentPPDirectives: AfterHash -IndentWidth: 2 -IndentWrappedFunctionNames: false -KeepEmptyLinesAtTheStartOfBlocks: true -Language: Cpp -MaxEmptyLinesToKeep: 1 -NamespaceIndentation: None -ObjCBlockIndentWidth: 2 -ObjCSpaceAfterProperty: false -ObjCSpaceBeforeProtocolList: true -PenaltyBreakBeforeFirstCallParameter: 19 -PenaltyBreakComment: 300 -PenaltyBreakFirstLessLess: 120 -PenaltyBreakString: 1000 -PenaltyExcessCharacter: 1000000 -PenaltyReturnTypeOnItsOwnLine: 60 -PointerAlignment: Right -SpaceAfterCStyleCast: true -SpaceBeforeAssignmentOperators: true -SpaceBeforeParens: ControlStatements -SpaceInEmptyParentheses: false -SpacesBeforeTrailingComments: 1 -SpacesInAngles: false -SpacesInCStyleCastParentheses: false -SpacesInContainerLiterals: true -SpacesInParentheses: false -SpacesInSquareBrackets: false -Standard: Cpp11 -TabWidth: 2 -UseTab: Never diff --git a/proj/src/.vscode/c_cpp_properties.json b/proj/src/.vscode/c_cpp_properties.json deleted file mode 100755 index 70b3a97..0000000 --- a/proj/src/.vscode/c_cpp_properties.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "env": { - "minix.include": "${workspaceFolder}/../../.minix-src/include" - }, - "configurations": [{ - "name": "Minix", - "compilerPath": "", - "cStandard": "c11", - "defines": ["__minix", "_MINIX", "_NETBSD_SOURCE", "__i386__"], - "includePath": ["${workspaceFolder}", "${env:minix.include}"], - "browse": { - "path": ["${workspaceFolder}", "${env:minix.include}"], - "limitSymbolsToIncludedHeaders": false, - "databaseFilename": "" - } - }], - "version": 4 -} - diff --git a/proj/src/.vscode/extensions.json b/proj/src/.vscode/extensions.json deleted file mode 100755 index 3dceb92..0000000 --- a/proj/src/.vscode/extensions.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - // See http://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations. - // Extension identifier format: ${publisher}.${name}. Example: vscode.csharp - // List of extensions which should be recommended for users of this workspace. - "recommendations": [ - "ms-vscode.cpptools", - "xaver.clang-format" - ], - // List of extensions recommended by VS Code that should not be recommended for users of this workspace. - "unwantedRecommendations": ["austin.code-gnu-global"] -} diff --git a/proj/src/.vscode/settings.json b/proj/src/.vscode/settings.json deleted file mode 100755 index fa731ea..0000000 --- a/proj/src/.vscode/settings.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "git.ignoreLimitWarning": true, - "C_Cpp.clang_format_fallbackStyle": "LLVM", - "diffEditor.ignoreTrimWhitespace": true, - "editor.formatOnSave": false, - "editor.tabSize": 2, - "editor.wordWrap": "bounded", - "editor.wordWrapColumn": 100, - "files.associations": { }, -} \ No newline at end of file diff --git a/proj/src/core.777 b/proj/src/core.777 deleted file mode 100644 index 47f1b45..0000000 Binary files a/proj/src/core.777 and /dev/null differ