Annotation of qemu/roms/SLOF/board-qemu/slof/hvterm.fs, revision 1.1.1.1

1.1       root        1: \ *****************************************************************************
                      2: \ * Copyright (c) 2011 IBM Corporation
                      3: \ * All rights reserved.
                      4: \ * This program and the accompanying materials
                      5: \ * are made available under the terms of the BSD License
                      6: \ * which accompanies this distribution, and is available at
                      7: \ * http://www.opensource.org/licenses/bsd-license.php
                      8: \ *
                      9: \ * Contributors:
                     10: \ *     IBM Corporation - initial implementation
                     11: \ ****************************************************************************/
                     12: 
                     13: \ PAPR hvterm console.  Enabled very early.
                     14: 
                     15: : hvterm-emit  hv-putchar ;
                     16: : hvterm-key?  hv-haschar ;
                     17: : hvterm-key   BEGIN hvterm-key? UNTIL hv-getchar ;
                     18: 
                     19: ' hvterm-emit to emit
                     20: ' hvterm-key  to key
                     21: ' hvterm-key? to key?
                     22: 
                     23: \ Override serial methods to make term-io.fs happy
                     24: : serial-emit hvterm-emit ;
                     25: : serial-key? hvterm-key? ;
                     26: : serial-key  hvterm-key  ;

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.