diff options
author | Randall Spangler <rspangler@chromium.org> | 2012-04-20 13:07:42 -0700 |
---|---|---|
committer | Randall Spangler <rspangler@chromium.org> | 2012-04-20 14:01:11 -0700 |
commit | 9f552ff5aa043eddc5b6d59db09728d83faf97dd (patch) | |
tree | e7f39070eac9b14a9afa6363703eab0950e856cc /include/uart.h | |
parent | a05deade13c696643ca6f8cc216f78db015a7ddb (diff) | |
download | chrome-ec-9f552ff5aa043eddc5b6d59db09728d83faf97dd.tar.gz |
Implement 64-bit integer printing in uart_printf()
Signed-off-by: Randall Spangler <rspangler@chromium.org>
BUG=chrome-os-partner:7490
TEST=timerinfo; numbers should look reasonable
Change-Id: I698be99c87bf311013427ac0ed9e93e5687f40c0
Diffstat (limited to 'include/uart.h')
-rw-r--r-- | include/uart.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/include/uart.h b/include/uart.h index 3ca34c67f1..67a2968d6c 100644 --- a/include/uart.h +++ b/include/uart.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2011 The Chromium OS Authors. All rights reserved. +/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ @@ -46,16 +46,13 @@ int uart_puts(const char *outstr); * string (%s) * native int (signed/unsigned) (%d / %u / %x) * int32_t / uint32_t (%d / %x) + * int64_t / uint64_t (%ld / %lu / %lx) * pointer (%p) * And the following special format codes: * current time in us (%T) - * including padding (%-5s, %8d, %08x) - * - * Support planned for: - * int64_t / uint64_t (%ld / %lu / %lx) + * including padding (%-5s, %8d, %08x, %016lx) * - * Note: Floating point output (%f / %g) is not supported. - */ + * Floating point output (%f / %g) is not supported. */ int uart_printf(const char *format, ...); /* Flushes output. Blocks until UART has transmitted all output. */ |