- 17 Oct, 2019 2 commits
-
-
Antoine Kaufmann authored
-
Antoine Kaufmann authored
-
- 29 Aug, 2019 2 commits
-
-
Antoine Kaufmann authored
The latter only show up because of implicit non-null attributes that gcc assumes for the string functions, leading to warnings for the assertions in those functions. The latter relates to a known-safe use of builtin_frame_address.
-
Antoine Kaufmann authored
Newer gcc versions generate warnings because of the noreturn attribute on it and different type signature.
-
- 13 Jan, 2018 2 commits
-
-
Darshit Shah authored
-
Darshit Shah authored
-
- 25 Oct, 2017 4 commits
-
-
Darshit Shah authored
-
Darshit Shah authored
-
John Ousterhout authored
Use new isa-debug-exit device for shutdown, switch name to qemu-system-i386.
-
Darshit Shah authored
-
- 20 Oct, 2017 5 commits
-
-
Ben Pfaff authored
Modern versions of Perl prefer a caret in variable names over literal control characters and issue a warning if the control character is used. This fixes the warning.
-
Ben Pfaff authored
When sysread encounters an error, it returns undef, which yields a warning when compared against 0. This fixes the problem.
-
John Ousterhout authored
-
John Ousterhout authored
(patches provided by David Mazieres).
-
John Ousterhout authored
involving invalid pages (e.g., position system call opcode with first bytes in a valid page and remaining bytes in a nonexistent page).
-
- 21 Oct, 2015 3 commits
-
-
Curd Becker authored
-
Curd Becker authored
-
Curd Becker authored
-
- 20 Oct, 2015 7 commits
-
-
Curd Becker authored
-
Curd Becker authored
-
Curd Becker authored
-
Curd Becker authored
PINTOSPATH should always point to the pintos src folder
-
Curd Becker authored
fixed qemu path and added some kind of autodetection as multiple platform emulators are available on ubuntu 14.04
-
Curd Becker authored
-
Curd Becker authored
-
- 18 Mar, 2014 2 commits
-
-
Pablo de Oliveira authored
Recent clang version, detect attemps to dereference or call NULL, and eliminate the code. ../../tests/userprog/bad-read.c:11:9: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] *(int *) NULL); ^~~~~~~~~~~~~ This patchs adds the volatile modifier as necessary. It allows to use clang to compile the tests.
-
Pablo de Oliveira authored
On QEMU emulator version 1.7.0, the previous shutdown sequence (writing `shutdown` to 0x8900), is not working properly. This patch adds support for the ACPI shutdown code which works on qemu 1.7.0 and preserves the old sequence for compatibility.
-
- 02 Sep, 2012 1 commit
-
-
Ben Pfaff authored
Matthew Pirocchi <mrpirocchi@email.wm.edu>, via John Ousterhout <ouster@cs.stanford.edu> reports that this fixes a problem on his system.
-
- 01 Mar, 2012 1 commit
-
-
Benedikt Huber authored
Fix gcc inline assembler operand constraints for syscall -- as pushl modifies %esp, variable operands must not reference the stack pointer. Without this patch, gcc-4.6.1-9ubuntu3 miscompiles the read syscall to: 000000b6 <read>: b6: ff 74 24 0c pushl 0xc(%esp) ba: ff 74 24 08 pushl 0x8(%esp) ; [!] be: ff 74 24 04 pushl 0x4(%esp) ; [!] ...
-
- 25 Aug, 2011 2 commits
-
-
Russ Ross authored
When compiled according to the instructions, bochs fails to load the project 1 kernel. This seems to be due to the latest gcc using an instruction that bochs is not compiled to support. Adding the '--enable-cpu-level=6' configure option to Bochs, as this commit does, seems to work.
-
Russ Ross authored
bochs-2.2.6 failed to compile with the latest version of gcc. This commit fixes the problem
-
- 10 Mar, 2011 1 commit
-
-
Ben Pfaff authored
Reported by a student of Borja Sotomayor <borja@cs.uchicago.edu>.
-
- 12 Feb, 2011 3 commits
- 16 Dec, 2010 1 commit
-
-
Ben Pfaff authored
When the slave side of the pty is closed, the "read" system call returns EIO. In this situation, squish-pty failed to flush any output that it already had in its buffer (up to 16 bytes) to stdout. This could cause the "Powering off..." message printed by Pintos just before exiting to be missing from the output. This usually didn't happen, because there are two other exit paths from the relay() function that does most of squish-pty's work. The most common exit path was (evidently) the one which detected that the child process had died, which did properly flush the buffer. (The third path was wrong too, and this patch fixes that one too.) This patch fixes the problem by using a single exit path from relay() that always reads any remaining input from the pty (if it is open) and flushes it to stdout. Reported by Borja Sotomayor <borja@cs.uchicago.edu>.
-
- 11 Dec, 2010 1 commit
-
-
Ben Pfaff authored
Reported by Borja Sotomayor <borja@cs.uchicago.edu>.
-
- 05 May, 2010 1 commit
-
-
Joseph Huang authored
-
- 01 May, 2010 1 commit
-
-
Ben Pfaff authored
Some versions of ld accept /dev/null as a valid input file. Others will not. The latter versions will give false negatives for --buil-id support, which breaks linking of Pintos userspace programs. So use a different method, that I hope will be more reliable, to detect --build-id support. Reported by Joseph Huang <jdhuang@stanford.edu>.
-
- 26 Jan, 2010 1 commit
-
-
Ben Pfaff authored
Here, $buf might have some data in it that has not yet been printed, but we were discarding it (and trying to read more) without printing it. (In Perl, "do" ensures that the inner block runs at least once; without "do" the condition is evaluated first.)
-