mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:34:57 +00:00
Everywhere: Remove references to UserspaceEmulator
This commit is contained in:
parent
3f9d0c7789
commit
fd316728a0
9 changed files with 4 additions and 43 deletions
|
@ -19,7 +19,6 @@ alias sdb=Debugger
|
||||||
alias sm=SystemMonitor
|
alias sm=SystemMonitor
|
||||||
alias pv=Profiler
|
alias pv=Profiler
|
||||||
alias ws=WebServer
|
alias ws=WebServer
|
||||||
alias ue=UserspaceEmulator
|
|
||||||
alias fe=FontEditor
|
alias fe=FontEditor
|
||||||
alias ss=Spreadsheet
|
alias ss=Spreadsheet
|
||||||
alias vp=VideoPlayer
|
alias vp=VideoPlayer
|
||||||
|
|
|
@ -19,7 +19,6 @@ alias sdb=Debugger
|
||||||
alias sm=SystemMonitor
|
alias sm=SystemMonitor
|
||||||
alias pv=Profiler
|
alias pv=Profiler
|
||||||
alias ws=WebServer
|
alias ws=WebServer
|
||||||
alias ue=UserspaceEmulator
|
|
||||||
alias fe=FontEditor
|
alias fe=FontEditor
|
||||||
alias ss=Spreadsheet
|
alias ss=Spreadsheet
|
||||||
alias vp=VideoPlayer
|
alias vp=VideoPlayer
|
||||||
|
|
|
@ -20,7 +20,6 @@ exit_for_error()
|
||||||
|
|
||||||
rm -rf generated_manpages 2> "$ERROR_FILE" || 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 ( \
|
for i in ( \
|
||||||
(config 1) \
|
(config 1) \
|
||||||
(fortune 1) \
|
(fortune 1) \
|
||||||
|
|
|
@ -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 -->
|
|
|
@ -10,9 +10,8 @@ $ /usr/Tests/Kernel/crash [options]
|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
|
|
||||||
This program is used to test how the Serenity kernel or UserspaceEmulator
|
This program is used to test how the Serenity kernel handles userspace crashes,
|
||||||
handle userspace crashes, and can be used to simulate many different kinds
|
and can be used to simulate many different kinds of crashes.
|
||||||
of crashes.
|
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
|
|
|
@ -48,8 +48,6 @@ Usage: $NAME COMMAND [TARGET] [TOOLCHAIN] [ARGS...]
|
||||||
Examples:
|
Examples:
|
||||||
$NAME run x86_64 GNU smp=on
|
$NAME run x86_64 GNU smp=on
|
||||||
Runs the image in QEMU passing "smp=on" to the kernel command line
|
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
|
$NAME run
|
||||||
Runs the image for the default TARGET x86_64 in QEMU
|
Runs the image for the default TARGET x86_64 in QEMU
|
||||||
$NAME run lagom js -A
|
$NAME run lagom js -A
|
||||||
|
|
|
@ -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/), ...)
|
* 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
|
* 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
|
* 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, ...
|
* [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, ...)
|
* 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)
|
* Unified style and design philosophy, flexible theming system, [custom (bitmap and vector) fonts](https://fonts.serenityos.net/font-family)
|
||||||
|
|
|
@ -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"); }
|
|
|
@ -295,7 +295,7 @@ Reader::LibraryData const* Reader::library_containing(FlatPtr address) const
|
||||||
ByteString Reader::resolve_object_path(StringView name) const
|
ByteString Reader::resolve_object_path(StringView name) const
|
||||||
{
|
{
|
||||||
// TODO: There are other places where similar method is implemented or would be useful.
|
// 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.
|
// We should consider creating unified implementation in the future.
|
||||||
|
|
||||||
if (name.starts_with('/') || !FileSystem::looks_like_shared_library(name)) {
|
if (name.starts_with('/') || !FileSystem::looks_like_shared_library(name)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue