Changeset 89c57b6 in mainline for uspace/app/getterm/welcome.c


Ignore:
Timestamp:
2011-04-13T14:45:41Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
88634420
Parents:
cefb126 (diff), 17279ead (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/app/getterm/welcome.c

    rcefb126 r89c57b6  
    11/*
    2  * Copyright (c) 2005 Sergey Bondari
     2 * Copyright (c) 2010 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 /** @addtogroup amd64
     29/** @addtogroup getterm
    3030 * @{
    3131 */
    32 /** @file
     32/**
     33 * @file
    3334 */
    3435
    35 #ifndef KERN_amd64_MEMSTR_H_
    36 #define KERN_amd64_MEMSTR_H_
     36#include <stdio.h>
     37#include "welcome.h"
    3738
    38 #define memcpy(dst, src, cnt)  __builtin_memcpy((dst), (src), (cnt))
    39 
    40 extern void memsetw(void *, size_t, uint16_t);
    41 extern void memsetb(void *, size_t, uint8_t);
    42 
    43 #endif
     39/** Welcome message and survival tips. */
     40void welcome_msg_print(void)
     41{
     42        printf("Welcome to HelenOS!\n");
     43        printf("http://www.helenos.org/\n\n");
     44        printf("Type 'help' [Enter] to see a few survival tips.\n\n");
     45}
    4446
    4547/** @}
Note: See TracChangeset for help on using the changeset viewer.