Publication:

Redesigning the Interrupt-Handling Architecture of Tock OS

datacite.rightsrestricted
dc.contributor.advisorLevy, Amit
dc.contributor.authorQuan, Joy
dc.date.accessioned2023-07-27T16:24:07Z
dc.date.accessioned2026-09-29T21:56:57Z
dc.date.available2023-07-27T16:24:07Z
dc.date.available2026-09-29T21:56:57Z
dc.date.created2023-04-20
dc.date.issued2023-07-27
dc.description.abstractThe increasing complexity of embedded applications and the rapid proliferation of the Internet of Things necessitates that embedded devices operate securely. Tock OS is an embedded operating system built in Rust that provides safety and isolation guarantees via a combination of programming-language and hardware-based protection mechanisms. Currently, Tock handles interrupts synchronously in privileged thread mode, utilizing software rerouting to map active interrupts to their corresponding service routine within the kernel. This paper proposes a redesigned Tock kernel that handles interrupts directly in handler mode while preserving safety semantics, with the goal of reducing code complexity and improving interrupt-handling performance. To demonstrate the viability of this proposed kernel restructuring, this paper presents a proof of concept that modifies the original Tock kernel to schedule and run a singular process, and handle the ‘LED toggle’ SVC call directly in handler mode. Initial performance benchmarks conducted on the kernel prototype indicate that it has a lower interrupt-handling latency than the existing Tock kernel; this serves to demonstrate the potential benefits of adopting this new kernel architecture.en_US
dc.format.mimetypeapplication/pdf
dc.identifier.urihttp://arks.princeton.edu/ark:/88435/dsp01rx913t180
dc.identifier.urihttps://theses-dissertations.princeton.edu/handle/88435/dsp01rx913t180
dc.language.isoenen_US
dc.titleRedesigning the Interrupt-Handling Architecture of Tock OSen_US
dc.typePrinceton University Senior Theses
dspace.entity.typePublication
pu.contributor.authorid920075156
pu.date.classyear2023en_US
pu.departmentComputer Scienceen_US
pu.mudd.walkinNoen_US
pu.pdf.coverpageSeniorThesisCoverPage

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
QUAN-JOY-THESIS.pdf
Size:
2.43 MB
Format:
Adobe Portable Document Format
Download

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
LICENSE.txt
Size:
245 B
Format:
Plain Text
Description:
Download