From 6f80ccc357702f87baf43440d97a49bcce999393 Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Thu, 16 Mar 2017 15:18:22 -0700 Subject: arch/x86: Wrap lines at 80 columns Fix the following warning detected by checkpatch.pl: WARNING: line over 80 characters TEST=Build and run on Galileo Gen2 Change-Id: I3495cd30d1737d9ee728c8a9e72bd426d7a69c37 Signed-off-by: Lee Leahy Reviewed-on: https://review.coreboot.org/18864 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/arch/x86/exception.c | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'src/arch/x86/exception.c') diff --git a/src/arch/x86/exception.c b/src/arch/x86/exception.c index 65bd33e6ec..b8b0f3f023 100644 --- a/src/arch/x86/exception.c +++ b/src/arch/x86/exception.c @@ -316,7 +316,9 @@ static int get_packet(char *buffer) /* Wishlit implement a timeout in get_packet */ do { - /* wait around for the start character, ignore all other characters */ + /* wait around for the start character, ignore all other + * characters + */ while ((ch = (stub_getc() & 0x7f)) != '$'); checksum = 0; xmitcsum = -1; @@ -417,10 +419,12 @@ void x86_exception(struct eregs *info) out_buffer[3] = '\0'; break; case 'g': /* return the value of the CPU registers */ - copy_to_hex(out_buffer, &gdb_stub_registers, sizeof(gdb_stub_registers)); + copy_to_hex(out_buffer, &gdb_stub_registers, + sizeof(gdb_stub_registers)); break; case 'G': /* set the value of the CPU registers - return OK */ - copy_from_hex(&gdb_stub_registers, in_buffer + 1, sizeof(gdb_stub_registers)); + copy_from_hex(&gdb_stub_registers, in_buffer + 1, + sizeof(gdb_stub_registers)); memcpy(info, gdb_stub_registers, 8*sizeof(uint32_t)); info->eip = gdb_stub_registers[PC]; info->cs = gdb_stub_registers[CS]; @@ -438,7 +442,9 @@ void x86_exception(struct eregs *info) memcpy(out_buffer, "E01", 4); break; case 'M': - /* MAA..AA,LLLL: Write LLLL bytes at address AA.AA return OK */ + /* MAA..AA,LLLL: Write LLLL bytes at address AA.AA + * return OK + */ ptr = &in_buffer[1]; if (parse_ulong(&ptr, &addr) && (*(ptr++) == ',') && @@ -451,8 +457,9 @@ void x86_exception(struct eregs *info) break; case 's': case 'c': - /* cAA..AA Continue at address AA..AA(optional) */ - /* sAA..AA Step one instruction from AA..AA(optional) */ + /* cAA..AA Continue at address AA..AA(optional) + * sAA..AA Step one instruction from AA..AA(optional) + */ ptr = &in_buffer[1]; if (parse_ulong(&ptr, &addr)) info->eip = addr; -- cgit v1.2.3