blob: 2f583497892d2ea67d60b40b2636cbcacf322b53 [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 <debug.h>
#include <trace.h>
#include <zircon/compiler.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);
}