u32 cursor = cbcon->cursor & CBMC_CURSOR_MASK;
u32 flags = cbcon->cursor & ~CBMC_CURSOR_MASK;
if (cursor >= cbcon->size)
- return; // Old coreboot version with legacy overflow mechanism.
+ return; // Old coreboot version with legacy overflow mechanism.
cbcon->body[cursor++] = c;
if (cursor >= cbcon->size) {
cursor = 0;
// send IOC Init message through the doorbell
mpt_out_doorbell(MPT_DOORBELL_HANDSHAKE,
- sizeof(MptIOCInitRequest)/sizeof(u32),
- iobase);
+ sizeof(MptIOCInitRequest)/sizeof(u32),
+ iobase);
outsl(iobase + MPT_REG_DOORBELL,
- (u32 *)&MptIOCInitRequest,
- sizeof(MptIOCInitRequest)/sizeof(u32));
+ (u32 *)&MptIOCInitRequest,
+ sizeof(MptIOCInitRequest)/sizeof(u32));
// Read the reply 16 bits at a time. Cannot use insl
// because the port is 32 bits wide.