aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAge
* specify debug compilationGustav Sörnäs2020-11-24
|
* only link once to libcGustav Sörnäs2020-11-23
| | | | librust.a contains libc.a as well
* only link librust when neededGustav Sörnäs2020-11-23
|
* update Makefile.userprogGustav Sörnäs2020-11-23
|
* userprog makefileGustav Sörnäs2020-11-23
|
* add rust.c exampleGustav Sörnäs2020-11-23
|
* The klaar/pfs test now properly detects crashes better.Filip Strömbäck2020-06-11
| | | | | | Previously, if the create() call would incorrectly kill the pfs process, the test would still succeed as exit codes were not verified, and there were no other way of identifying successful completion.
* Fixed compilation error on GCC 10.Filip Strömbäck2020-05-26
| | | | | | | | GCC 10 uses -fno-common by default, which makes multiple definitions of the same symbol in multiple object files an error. This was used in the userspace test library, and broke with GCC10. Therefore, the relevant symbol is now marked as "weak" to solve the issue and to clarify the intent. Signed-off-by: Filip Strömbäck <filip.stromback@liu.se>
* Fixed test.Filip Strömbäck2020-05-14
| | | | Signed-off-by: Filip Strömbäck <fstromback@gmail.com>
* Fixed typo in comment.Filip Strömbäck2020-05-14
| | | | Signed-off-by: Filip Strömbäck <fstromback@gmail.com>
* Fixed sc-bad-nr-1 test.Filip Strömbäck2020-05-14
| | | | Signed-off-by: Filip Strömbäck <fstromback@gmail.com>
* Added a few more parameter-validating tests.Filip Strömbäck2020-05-07
|
* Patched the loader for newer GCC on Ubuntu 19.10.Filip Strömbäck2020-03-31
| | | | | | | | | | | It seems like the linker now splits sections in pieces that may be smaller than a page, causing the loader to try to load the same page multiple times and fail. Now, offsets are handled properly, and loading of the new kind of files work properly. If the first part of the page is read only, and the second is read-write, then the entire page will not be read-write, which could cause issues. At the moment, it seems this only happens for the text section, which is read only anyway, so it should not be a big issue in the near future at least. Signed-off-by: Filip Strömbäck <filip.stromback@liu.se>
* New tool for running single tests in Pintos.Filip Strömbäck2020-03-18
| | | | Signed-off-by: Filip Strömbäck <filip.stromback@liu.se>
* Added new tests for the validating the syscall number.Filip Strömbäck2020-03-18
| | | | Signed-off-by: Filip Strömbäck <filip.stromback@liu.se>
* Fixed typo in standalone lab3, ptree -> pstreeDaniel Thorén2020-03-07
|
* Added 'close' test for better testing of syscall parameter validation.Filip Strömbäck2019-05-07
| | | | Signed-off-by: Filip Strömbäck <filip.stromback@liu.se>
* Merge remote-tracking branch 'skel/master'klaar362019-04-02
|\
| * Output the Pintos command line once more.Filip Strömbäck2018-04-18
| | | | | | | | Signed-off-by: Filip Strömbäck <filip.stromback@liu.se>
| * Merge branch 'new-gcc-qemu-fix' into 'master' klaar362018-04-18
| |\ | | | | | | | | | | | | Fixed compilation issues on the latest GCC and QEMU. See merge request !10
| | * Fixed compilation issues on the latest GCC and QEMU.Filip Strömbäck2018-04-18
| | | | | | | | | | | | Signed-off-by: Filip Strömbäck <filip.stromback@liu.se>
| * | Fixed compilation error of sc-bad-write in GCC 7.4.Filip Strömbäck2018-04-12
| |/ | | | | | | Signed-off-by: Filip Strömbäck <filip.stromback@liu.se>
| * make pintos-script perl 5.26 compatibleVidar Westfelt2018-03-22
| |
* | extra felkontroll av esp i standalone/upg8klaar362019-04-02
|/
* imported misc scriptsklaar362017-05-19
|
* new file modeklaar362017-05-19
|
* pintos-gdb: auto find gdb-macros pathklaar362017-05-19
|
* pintos script: removed cpu kvm32 settingklaar362017-05-19
|
* pintos script modifications for qemu/linuxklaar362017-05-19
|
* pintos script modifications for qemu/solarisklaar362017-05-19
|
* -m32 version of pagedir.oklaar362017-05-19
|
* compile upg5 with -m32klaar362017-05-19
|
* support 64-bit compilationklaar362017-04-06
|
* precompiled pagedir codeklaar362017-03-21
|
* added given files for standalone labsklaar362017-03-20
|
* TIMER_FREQ test program compilation fixklaar362017-03-20
|
* Fixed sc-bad-write once again...Filip Strömbäck2016-05-24
| | | | | | | | | | | It seems that the BSS segment got larger than one page for some reason, which caused the test to be useless as the boundary to nonmapped memory were not located where the test thought. Now, it uses some linker script magic to define the symbol _bss_end, the address of which is after the end of the bss segment. This seems to be a fool-proof way of detecting where the real boundary to unmapped memory is. Signed-off-by: Filip Strömbäck <filip.stromback@liu.se>
* Fixed sc-bad-write test to be more precise.Filip Strömbäck2016-05-18
| | | | Signed-off-by: Filip Strömbäck <filip.stromback@liu.se>
* Fix up exec-corrupt to accept exit(-1) anywhere, make sc-bad-write reserve ↵Anton S2016-05-17
| | | | space for 3 parameters instead of 4
* explanatory comment and oredering of casesklaar362016-05-16
|
* Fix for possible bug in exec-missing.Filip Strömbäck2016-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test userprog/exec-missing verifies that exec() returns -1 when starting a process for which the binary is not found. Since the failure of load() is discovered after a new process has been created, the output 'no-such-file: exit(-1)' will be visible in the output. The problem is that we do not know when this happens with respect to the thread calling exec(). Due to how the tests are designed, the time when 'no-such-file' terminates is important. Some of the cases were listed as acceptable outputs, but I found some acceptable outputs missing from there, namely if 'no-such-file' for some reason takes quite some time terminating, or even terminates after the 'exec-missing' process exits. As there is no synchronization between these processes (nor can it be), we do not know which one terminates first. Effectively, I added the following possible outputs to the test, as I find them reasonable outcomes of a correct implementation (in very unfortunate circumstances, or when printing a lot in process_cleanup): (exec-missing) begin load: no-such-file: open failed (exec-missing) exec("no-such-file"): -1 (exec-missing) end no-such-file: exit(-1) exec-missing: exit(0) (exec-missing) begin load: no-such-file: open failed (exec-missing) exec("no-such-file"): -1 (exec-missing) end exec-missing: exit(0) no-such-file: exit(-1) Signed-off-by: Filip Strömbäck <filip.stromback@liu.se>
* pfs testklaar362016-05-09
|
* usage help message for flag -Fklaar362016-05-09
|
* Merge commit '0db56a4' antsu qemu-system-i386klaar362016-05-04
|\
| * Add support for both qemu and qemu-system-i386 binaries in pintosAnton S2016-05-04
| |
* | Merge commit '2399a4d' longrun commentklaar362016-05-04
|\ \
| * | Change the comment for longrun_nowait to be more instructive as to what one ↵Anton S2016-05-04
| | | | | | | | | | | | should expect when running it
* | | Merge commit '914a79e' filst testsklaar362016-05-04
|\ \ \
| * | | Added test for correct parameters to SYS_WRITE.Filip Stromback2016-05-04
| | |/ | |/| | | | | | | Signed-off-by: Filip Strömbäck <filip.stromback@liu.se>
* | | increase interrupt frequency in testsklaar362016-05-04
|/ /