Skip to content

Commit

Permalink
Update zimage.c
Browse files Browse the repository at this point in the history
  • Loading branch information
YuzukiTsuru committed Jan 11, 2024
1 parent 65a5f6e commit 9699c5c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/image/zimage.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ typedef struct {
int zImage_loader(uint8_t *addr, uint32_t *entry) {
linux_zimage_header_t *zimage_header = (linux_zimage_header_t *) addr;

uint32_t code[9];
uint32_t magic;
uint32_t start;
uint32_t end;

printk(LOG_LEVEL_INFO, "Linux zImage->code = 0x");
for (int i = 0; i < 9; i++) {
printk(LOG_LEVEL_MUTE, "%x", code[i]);
Expand All @@ -42,4 +37,4 @@ int zImage_loader(uint8_t *addr, uint32_t *entry) {
printk(LOG_LEVEL_ERROR, "unsupported kernel image\n");

return -1;
}
}

0 comments on commit 9699c5c

Please sign in to comment.