Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


minor test kernel updates
Jack Lange [Wed, 3 Feb 2010 01:30:15 +0000 (19:30 -0600)]
test/geekos_test_vm/src/geekos/fd_boot.asm
test/geekos_test_vm/src/geekos/main.c
test/geekos_test_vm/src/geekos/setup.asm

index d5fa120..ad01ab8 100644 (file)
@@ -151,9 +151,9 @@ load_kernel:
        push    bx
        push    es              ;
 
-       mov     dx, cs
-       call    PrintHex
-       call    PrintNL
+;      mov     dx, cs
+;      call    PrintHex
+;      call    PrintNL
 
        push    cs
        pop     es
@@ -166,32 +166,32 @@ load_kernel:
        shl     cx, 8                           ; multiply by 9-1 to get number of bytes / 2 (words)
 
        ;; Print out the size of the kernel
-       mov     dx, cx  
-       call    PrintHex
-       call    PrintNL
+;      mov     dx, cx  
+;      call    PrintHex
+;      call    PrintNL
 
        int     0x15
        
        adc     ax, 0
 
        ;; Print out the return code to the screen
-       mov     dx, ax  
-       call    PrintHex
-       call    PrintNL
+;      mov     dx, ax  
+;      call    PrintHex
+;      call    PrintNL
 
-       mov     dx, KERNSEG
-       call    PrintHex
-       call    PrintNL
+;      mov     dx, KERNSEG
+;      call    PrintHex
+;      call    PrintNL
 
-       mov     dx, SETUPSEG
-       call    PrintHex
-       call    PrintNL
+;      mov     dx, SETUPSEG
+;      call    PrintHex
+;      call    PrintNL
 
 
 
-       mov     dx, 0x4a4a
-       call    PrintHex
-       call    PrintNL
+;      mov     dx, 0x4a4a
+;      call    PrintHex
+;      call    PrintNL
 
        pop     es              ;
        pop     bx
index cc1f722..a163378 100644 (file)
@@ -17,7 +17,7 @@
 #include <geekos/crc32.h>
 #include <geekos/tss.h>
 #include <geekos/int.h>
-#include <geekos/kthread.h>
+#include <geekos/kthread.h> 
 #include <geekos/trap.h>
 #include <geekos/timer.h>
 #include <geekos/keyboard.h>
@@ -243,6 +243,7 @@ void Main(struct Boot_Info* bootInfo)
   struct Kernel_Thread * spkr_thread;
 
 
+  //  VMConsPutLineN("hello\n", 6);
 
   ulong_t doIBuzz = 0;
 
@@ -335,7 +336,7 @@ void Main(struct Boot_Info* bootInfo)
 
       
       //  Invalidate_PG((void *)0x2000);
-      
+       
       //  VM_Test(bootInfo, 32);  
       //VM_Test(bootInfo, 1536);
   }
index c88ed81..5fb60e5 100644 (file)
@@ -31,6 +31,11 @@ start_setup:
        mov     ds, ax
 
 
+;      mov     ah, 0x2e
+;      out    0xc0c0, ax
+;      mov     ah, 0xa
+;      out    0xc0c0, ax
+
        ; Use int 15h to find out size of extended memory in KB.
        ; Extended memory is the memory above 1MB.  So by
        ; adding 1MB to this amount, we get the total amount