blob: f4610e8c119304cbef5f60ef80605990c1675bde [file] [log] [blame]
// Copyright 2016 The Fuchsia Authors
// Copyright (c) 2008-2015 Travis Geiselbrecht
//
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT
#include <zircon/compiler.h>
#include <debug.h>
#include <trace.h>
/* Default implementation of panic time getc/putc.
* Just calls through to the underlying dputc/dgetc implementation
* unless the platform overrides it.
*/
__WEAK void platform_pputc(char c)
{
return platform_dputc(c);
}
__WEAK int platform_pgetc(char *c, bool wait)
{
return platform_dgetc(c, wait);
}