Project

General

Profile

Bug #39

syscall problem in pintos-p2

Added by Riza Suminto over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
-
Start date:
08/26/2014
Due date:
10/01/2014
% Done:

0%

Estimated time:

Description

There is a problem in src/lib/user/syscall.c
Somehow, it does not set up the argument stack correctly when compiled with
new gcc (4.6.3) and makes all the test in pintos-p2 fail.

Attached is the temporary hack used in Operating Systems (Autumn 2013) class
and explanation about the patch do.
Urgent fix required before the next Operating System class start.

syscall.c (6.93 KB) syscall.c hacked syscall.c (src/lib/user/syscall.c) Riza Suminto, 08/26/2014 05:01 PM
syscall-user-library-hacked.txt (1.38 KB) syscall-user-library-hacked.txt patch explanation Riza Suminto, 08/26/2014 05:01 PM

History

#1 Updated by over 9 years ago

  • Status changed from New to Resolved

This has been merged into trunk in rev 16.

#2 Updated by over 9 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF