[so2] SO2 labs

Vlad Dogaru ddvlad at gmail.com
Wed Mar 16 21:19:17 EET 2022


The interrupts are not bridged per se, rather the two serial ports are
connected to each other, aka loopback.  This is done in the VM
configuration, by pointing each serial port to a pipe and then linking
the pipes to each other.  See lines 7 and 37-44 of the Makefile used
to start the VM:
https://github.com/tavip/qemu-so2/blob/master/Makefile

Hope this helps,
Vlad


On Wed, Mar 16, 2022 at 8:04 PM Daniel Baluta via so2
<so2 at cursuri.cs.pub.ro> wrote:
>
> I was under the impression that the solution module is only to grab
> resources and test that students
> solution are handling this cases.
>
> Tavi, any idea?
>
> On Wed, Mar 16, 2022 at 9:35 AM Annie Haramad <annieharamad at gmail.com> wrote:
> >
> > Hi,
> > I was working through the so2 labs course. I would like to ask a question about it.
> > In assignment 2, after implementing the UART driver, the checker script uses com1 with the solution module, and com2 with my module. Then, it writes to com1, and reads from com2. It seems that the interrupts are bridged between the IO ports ranges of com1 and com2, but I can't seem to find where the bridging occurs.
> > Can you explain to me why the interrupts are connected?
> > I look forward to hearing from you
> >
> > Annie Haramad
> _______________________________________________
> http://ocw.cs.pub.ro/courses/so2/resurse/lista-discutii


More information about the so2 mailing list