[libc-commits] [libc] [libc] init uefi os target (PR #120687)
Tristan Ross via libc-commits
libc-commits at lists.llvm.org
Tue Jan 7 18:21:54 PST 2025
================
@@ -0,0 +1,41 @@
+//===---------- UEFI implementation of IO utils ------------*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===-----------------------------------------------------------------===//
+
+#include "io.h"
+
+#include "src/__support/CPP/string_view.h"
+#include "src/__support/macros/config.h"
+#include <Uefi.h>
+
+namespace LIBC_NAMESPACE_DECL {
+
+ssize_t read_from_stdin(char *buf, size_t size) {
+ (void)buf;
+ (void)size;
----------------
RossComputerGuy wrote:
Alright, done.
https://github.com/llvm/llvm-project/pull/120687
More information about the libc-commits
mailing list