Browse Source

Everywhere: Remove references to UserspaceEmulator

Nico Weber 1 year ago
parent
commit
fd316728a0

+ 0 - 1
Base/etc/posixshrc

@@ -19,7 +19,6 @@ alias sdb=Debugger
 alias sm=SystemMonitor
 alias pv=Profiler
 alias ws=WebServer
-alias ue=UserspaceEmulator
 alias fe=FontEditor
 alias ss=Spreadsheet
 alias vp=VideoPlayer

+ 0 - 1
Base/etc/shellrc

@@ -19,7 +19,6 @@ alias sdb=Debugger
 alias sm=SystemMonitor
 alias pv=Profiler
 alias ws=WebServer
-alias ue=UserspaceEmulator
 alias fe=FontEditor
 alias ss=Spreadsheet
 alias vp=VideoPlayer

+ 0 - 1
Base/root/generate_manpages.sh

@@ -20,7 +20,6 @@ exit_for_error()
 
 rm -rf generated_manpages 2> "$ERROR_FILE" || exit_for_error
 
-# FIXME: Add `UserspaceEmulator 1` back to this list after UE is functional on x86_64.
 for i in ( \
             (config 1) \
             (fortune 1) \

+ 0 - 24
Base/usr/share/man/man1/UserspaceEmulator.md

@@ -1,24 +0,0 @@
-## Name
-
-UserspaceEmulator
-
-## Synopsis
-
-```sh
-$ UserspaceEmulator [--report-to-debug] [--pause] [--profile] [--profile-interval num_instructions] [--profile-file path] [--roi] <command...>
-```
-
-## Options
-
-* `--report-to-debug`: Write reports to the debug log
-* `-p`, `--pause`: Pause on startup
-* `--profile`: Generate a ProfileViewer-compatible profile
-* `-i num_instructions`, `--profile-interval num_instructions`: Set the profile instruction capture interval, 128 by default
-* `--profile-file path`: File path for profile dump
-* `--roi`: Enable Region-of-Interest mode for profiling
-
-## Arguments
-
-* `command`: Command to emulate
-
-<!-- Auto-generated through ArgsParser -->

+ 2 - 3
Base/usr/share/man/man1/crash.md

@@ -10,9 +10,8 @@ $ /usr/Tests/Kernel/crash [options]
 
 ## Description
 
-This program is used to test how the Serenity kernel or UserspaceEmulator
-handle userspace crashes, and can be used to simulate many different kinds
-of crashes.
+This program is used to test how the Serenity kernel handles userspace crashes,
+and can be used to simulate many different kinds of crashes.
 
 ## Options
 

+ 0 - 2
Meta/serenity.sh

@@ -48,8 +48,6 @@ Usage: $NAME COMMAND [TARGET] [TOOLCHAIN] [ARGS...]
   Examples:
     $NAME run x86_64 GNU smp=on
         Runs the image in QEMU passing "smp=on" to the kernel command line
-    $NAME run x86_64 GNU 'init=/bin/UserspaceEmulator init_args=/bin/SystemServer'
-        Runs the image in QEMU, and run the entire system through UserspaceEmulator (not fully supported yet)
     $NAME run
         Runs the image for the default TARGET x86_64 in QEMU
     $NAME run lagom js -A

+ 1 - 1
README.md

@@ -35,7 +35,7 @@ You can watch videos of the system being developed on YouTube:
 * Good POSIX compatibility ([LibC](Userland/Libraries/LibC/), Shell, syscalls, signals, pseudoterminals, filesystem notifications, standard Unix [utilities](Userland/Utilities/), ...)
 * POSIX-like virtual file systems (/proc, /dev, /sys, /tmp, ...) and ext2 file system
 * Network stack and applications with support for IPv4, TCP, UDP; DNS, HTTP, Gemini, IMAP, NTP
-* Profiling, debugging and other development tools (Kernel-supported profiling, detailed program analysis with software emulation in UserspaceEmulator, CrashReporter, interactive GUI playground, HexEditor, HackStudio IDE for C++ and more)
+* Profiling, debugging and other development tools (Kernel-supported profiling, CrashReporter, interactive GUI playground, HexEditor, HackStudio IDE for C++ and more)
 * [Libraries](Userland/Libraries/) for everything from cryptography to OpenGL, audio, JavaScript, GUI, playing chess, ...
 * Support for many common and uncommon file formats (PNG, JPEG, GIF, MP3, WAV, FLAC, ZIP, TAR, PDF, QOI, Gemini, ...)
 * Unified style and design philosophy, flexible theming system, [custom (bitmap and vector) fonts](https://fonts.serenityos.net/font-family)

+ 0 - 9
Tests/UserspaceEmulator/test-run-ls.cpp

@@ -1,9 +0,0 @@
-/*
- * Copyright (c) 2021, Leon Albrecht <leon2002.la@gmail.com>
- *
- * SPDX-License-Identifier: BSD-2-Clause
- */
-
-#include <stdlib.h>
-
-int main() { return system("UserspaceEmulator ls"); }

+ 1 - 1
Userland/Libraries/LibCoredump/Reader.cpp

@@ -295,7 +295,7 @@ Reader::LibraryData const* Reader::library_containing(FlatPtr address) const
 ByteString Reader::resolve_object_path(StringView name) const
 {
     // TODO: There are other places where similar method is implemented or would be useful.
-    //       (e.g. UserspaceEmulator, LibSymbolication, Profiler, and DynamicLinker itself)
+    //       (e.g. LibSymbolication, Profiler, and DynamicLinker itself)
     //       We should consider creating unified implementation in the future.
 
     if (name.starts_with('/') || !FileSystem::looks_like_shared_library(name)) {