Pass boot payload to serial init

This commit is contained in:
Sam Tebbs 2020-06-09 13:47:06 +01:00
parent de1c87e040
commit 5101990044
4 changed files with 11 additions and 5 deletions

View file

@ -102,7 +102,7 @@ pub fn haltNoInterrupts() noreturn {
while (true) {}
}
pub fn initSerial() Serial {
pub fn initSerial(boot_payload: BootPayload) Serial {
return .{ .write = undefined };
}