VirtualBox

source: vbox/trunk/src/VBox/HostDrivers/Support/SUPR0-def-lx.sed@ 56769

Last change on this file since 56769 was 56769, checked in by vboxsync, 9 years ago

SUPDrv: Export RTR0DbgKrnlInfo* on darwin and solaris so we can execute tstRTR0DbgKrnlInfo.

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 1.8 KB
Line 
1# $Id: SUPR0-def-lx.sed 56769 2015-07-03 11:59:13Z vboxsync $
2## @file
3# IPRT - SED script for generating SUPR0.def - OS/2 LX.
4#
5
6# Copyright (C) 2012-2015 Oracle Corporation
7#
8# This file is part of VirtualBox Open Source Edition (OSE), as
9# available from http://www.virtualbox.org. This file is free software;
10# you can redistribute it and/or modify it under the terms of the GNU
11# General Public License (GPL) as published by the Free Software
12# Foundation, in version 2 as it comes in the "COPYING" file of the
13# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
14# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
15#
16# The contents of this file may alternatively be used under the terms
17# of the Common Development and Distribution License Version 1.0
18# (CDDL) only, as it comes in the "COPYING.CDDL" file of the
19# VirtualBox OSE distribution, in which case the provisions of the
20# CDDL are applicable instead of those of the GPL.
21#
22# You may elect to license modified versions of this file under the
23# terms and conditions of either the GPL or the CDDL or both.
24#
25
26# Header and footer.
271b header
28$b footer
29
30# Drop all lines from the start of the file until the SED: START marker.
311,/SED: START/d
32
33# Drop all lines from the SED: END marker and till the end of the file.
34/SED: END/,$d
35
36# Drop all lines not specifying an export.
37/^ { "/!d
38
39# Handle trailing selection comment (/* solaris-only, os2-only */).
40/\*\/ *$/!b transform
41/only-os2/b strip_comment
42d
43:strip_comment
44s/ *\/\*.*$//
45
46:transform
47# Transform the export line, the format is like this:
48# { "g_pSUPGlobalInfoPage", (void *)&g_pSUPGlobalInfoPage }, /* SED: DATA */
49
50s/^ { "\([^"]*\)",[^}]*}[,].*$/ _\1/
51b end
52
53:header
54i\;
55i\; Autogenerated. DO NOT EDIT!
56i\;
57i
58i\LIBRARY VBoxDrv.sys
59i
60i\EXPORTS
61d
62
63
64:footer
65i
66i\; The end.
67i
68d
69
70:end
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette