Przeglądaj źródła

Kernel: Embrace the SerenityOS name

Andreas Kling 5 lat temu
rodzic
commit
fed3416bd2
5 zmienionych plików z 7 dodań i 7 usunięć
  1. 1 1
      Kernel/Process.cpp
  2. 2 2
      Kernel/grub.cfg
  3. 2 2
      Kernel/grub_gpt.cfg
  4. 1 1
      Kernel/init.cpp
  5. 1 1
      Kernel/run

+ 1 - 1
Kernel/Process.cpp

@@ -1656,7 +1656,7 @@ int Process::sys$uname(utsname* buf)
 {
     if (!validate_write_typed(buf))
         return -EFAULT;
-    strcpy(buf->sysname, "Serenity");
+    strcpy(buf->sysname, "SerenityOS");
     strcpy(buf->release, "1.0-dev");
     strcpy(buf->version, "FIXME");
     strcpy(buf->machine, "i686");

+ 2 - 2
Kernel/grub.cfg

@@ -1,11 +1,11 @@
 timeout=1
 
-menuentry 'Serenity (normal)' {
+menuentry 'SerenityOS (normal)' {
   root=hd0,1
   multiboot /boot/kernel root=/dev/hda1
 }
 
-menuentry 'Serenity (with serial debug)' {
+menuentry 'SerenityOS (with serial debug)' {
 	root=hd0,1
   multiboot /boot/kernel serial_debug root=/dev/hda1
 }

+ 2 - 2
Kernel/grub_gpt.cfg

@@ -1,11 +1,11 @@
 timeout=1
 
-menuentry 'Serenity (normal)' {
+menuentry 'SerenityOS (normal)' {
   root=hd0,2
   multiboot /boot/kernel root=/dev/hda2
 }
 
-menuentry 'Serenity (with serial debug)' {
+menuentry 'SerenityOS (with serial debug)' {
 	root=hd0,2
   multiboot /boot/kernel serial_debug root=/dev/hda2
 }

+ 1 - 1
Kernel/init.cpp

@@ -275,7 +275,7 @@ extern "C" [[noreturn]] void init(u32 physical_address_for_kernel_page_tables)
     tty1 = new VirtualConsole(1);
     VirtualConsole::switch_to(0);
 
-    kprintf("Starting Serenity Operating System...\n");
+    kprintf("Starting SerenityOS...\n");
 
     MemoryManager::initialize(physical_address_for_kernel_page_tables);
 

+ 1 - 1
Kernel/run

@@ -65,7 +65,7 @@ elif [ "$1" = "qcmd" ]; then
         SERENITY_KERNEL_CMDLINE="$SERENITY_KERNEL_CMDLINE $1"
     done
     echo "Starting SerenityOS, Commandline: ${SERENITY_KERNEL_CMDLINE}"
-    # ./run: qemu with serenity with custom commandline
+    # ./run: qemu with SerenityOS with custom commandline
     $SERENITY_QEMU_BIN \
         $SERENITY_COMMON_QEMU_ARGS \
         -device e1000 \