diff options
author | Lee Leahy <leroy.p.leahy@intel.com> | 2017-03-16 15:18:22 -0700 |
---|---|---|
committer | Lee Leahy <leroy.p.leahy@intel.com> | 2017-03-17 03:18:24 +0100 |
commit | 6f80ccc357702f87baf43440d97a49bcce999393 (patch) | |
tree | 645c4e00d5e0314b1f3e54c74016d6ee82e575c7 /src/arch/x86/exception.c | |
parent | e5f29e8bf8c928a83764fcf428c1a05767bff7dd (diff) |
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 <Leroy.P.Leahy@intel.com>
Reviewed-on: https://review.coreboot.org/18864
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/arch/x86/exception.c')
-rw-r--r-- | src/arch/x86/exception.c | 19 |
1 files changed, 13 insertions, 6 deletions
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; |