Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1354a49ddb | ||
|
|
1412bd87ad |
@@ -1,4 +1,4 @@
|
|||||||

|

|
||||||
|
|
||||||
> [!WARNING]
|
> [!WARNING]
|
||||||
> This is free and unencumbered software released into the public domain. Many things might be (are) broken.
|
> This is free and unencumbered software released into the public domain. Many things might be (are) broken.
|
||||||
|
|||||||
BIN
blankos.png
BIN
blankos.png
Binary file not shown.
|
Before Width: | Height: | Size: 405 KiB |
BIN
src/initrd/lambda.bmp
Normal file
BIN
src/initrd/lambda.bmp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 732 KiB |
@@ -113,14 +113,6 @@ void kmain(multiboot2_info *mb_info)
|
|||||||
__asm__ __volatile__("sti");
|
__asm__ __volatile__("sti");
|
||||||
|
|
||||||
init_alloc();
|
init_alloc();
|
||||||
void* ptr1 = malloc(256);
|
|
||||||
void* ptr2 = malloc(512);
|
|
||||||
printf("[debug] malloc test ptr1=0x%x, ptr2=0x%x\n", (unsigned int)ptr1, (unsigned int)ptr2);
|
|
||||||
free(ptr1); free(ptr2);
|
|
||||||
|
|
||||||
void* ptr3 = calloc(1024, 2);
|
|
||||||
printf("[debug] calloc test ptr3=0x%x\n", (unsigned int)ptr3);
|
|
||||||
free (ptr3);
|
|
||||||
|
|
||||||
// usually the place where i do testing
|
// usually the place where i do testing
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user