#! /bin/sh
# $Header:dmesg.sh 12.0$ 
# $ACIS:dmesg.sh 12.0$ 
# $Source: /ibm/acis/usr/sys/dist/etc/RCS/dmesg.sh,v $ 
#
# 5799-WZQ (C) COPYRIGHT IBM CORPORATION 1988
# LICENSED MATERIALS - PROPERTY OF IBM
# REFER TO COPYRIGHT INSTRUCTIONS FORM NUMBER G120-2083
#
#
# the following relies upon the message buffer being mapped
# to the same virtual address (0xe1588008) in all kernels
# note that it may write up to 2000 bytes of nulls after then
# end of the active message buffer is picked up.
#
/etc/syscall open /dev/kmem 0 \; lseek 3 0xe1588008 0 \; read 3 \&1 2000 \; write 1 \&1 2000 
